https://github.com/JuliaGeo/Proj.jl

Julia wrapper for the PROJ cartographic projections library

https://github.com/JuliaGeo/Proj.jl

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 19 committers (5.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.6%) to scientific vocabulary

Keywords

geo geospatial gis julia proj

Keywords from Contributors

pde julialang ode numeric ida hybrid-differential-equations earth-observation differentialequations dae dde
Last synced: 5 months ago · JSON representation

Repository

Julia wrapper for the PROJ cartographic projections library

Basic Info
  • Host: GitHub
  • Owner: JuliaGeo
  • License: mit
  • Language: Julia
  • Default Branch: master
  • Homepage:
  • Size: 668 KB
Statistics
  • Stars: 50
  • Watchers: 11
  • Forks: 10
  • Open Issues: 9
  • Releases: 28
Topics
geo geospatial gis julia proj
Created over 10 years ago · Last pushed 6 months ago
Metadata Files
Readme License

README.md

Proj.jl

CI

A simple Julia wrapper around the PROJ cartographic projections library. This package has been renamed from Proj4.jl to Proj.jl.

Quickstart, based on the PROJ docs:

```julia using Proj

Proj.jl implements the CoordinateTransformations.jl API.

A Proj.Transformation needs the source and target coordinate reference systems (CRS),

or a single pipeline.

trans = Proj.Transformation("EPSG:4326", "+proj=utm +zone=32 +datum=WGS84")

The CRS can be a string or the CRS type, which also interfaces with GeoFormatTypes.jl.

Once created, you can call this object to transform points.

The result will be a tuple of Float64s, of length 2, 3 or 4 depending on the input length.

The 3rd coordinate is elevation (default 0), and the 4th is time (default Inf).

Here the (latitude, longitude) of Copenhagen is entered

trans(55, 12)

-> (691875.632137542, 6.098907825129169e6)

Passing coordinates as a single tuple or vector also works.

Note that above the latitude is passed first, because that is the axis order that the

EPSG mandates. If you want to pass in (longitude, latitude) / (x, y), you can set the

always_xy keyword to true. For more info see https://proj.org/faq.html#why-is-the-axis-ordering-in-proj-not-consistent

trans = Proj.Transformation("EPSG:4326", "+proj=utm +zone=32 +datum=WGS84", always_xy=true)

now we input (longitude, latitude), and get the same result as above

trans(12, 55)

-> (691875.632137542, 6.098907825129169e6)

using inv we can reverse the direction, compose can combine two transformations in one

inv(trans)(691875.632137542, 6.098907825129169e6) == (12, 55) ```

Note that, as described in https://proj.org/resourcefiles.html, PROJ has the capability to use remote grids for transformations that need them. Unless you have manually set the environment variable PROJNETWORK=ON or changed proj.ini, networking is disabled by default. To enable from Julia, run `Proj.enablenetwork!(). Proj.networkenabled()can be used to check the setting, andProj.withnetwork` provides a way to temporarily enable or disable it in a do-block. Note that it needs to be set before creating a transformation, otherwise it will have no effect.

API documentation for the underlying C API may be found here: https://proj.org/development/reference/index.html

Owner

  • Name: JuliaGeo
  • Login: JuliaGeo
  • Kind: organization

Geospatial packages for Julia

GitHub Events

Total
  • Create event: 7
  • Commit comment event: 4
  • Release event: 2
  • Issues event: 5
  • Watch event: 2
  • Delete event: 4
  • Issue comment event: 8
  • Push event: 10
  • Pull request review event: 2
  • Pull request review comment event: 1
  • Pull request event: 11
  • Fork event: 1
Last Year
  • Create event: 7
  • Commit comment event: 4
  • Release event: 2
  • Issues event: 5
  • Watch event: 2
  • Delete event: 4
  • Issue comment event: 8
  • Push event: 10
  • Pull request review event: 2
  • Pull request review comment event: 1
  • Pull request event: 11
  • Fork event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 242
  • Total Committers: 19
  • Avg Commits per committer: 12.737
  • Development Distribution Score (DDS): 0.467
Past Year
  • Commits: 9
  • Committers: 4
  • Avg Commits per committer: 2.25
  • Development Distribution Score (DDS): 0.444
Top Committers
Name Email Commits
Martijn Visser m****r@g****m 129
yeesian n****n@g****m 25
Anshul Singhvi a****i@g****m 18
Chris Foster c****r@r****u 14
Chris Foster c****f@g****m 12
dependabot[bot] 4****] 8
Maarten Pronk g****t@e****l 8
Andrew Smith a****h@r****u 7
Mauro Werder m****c@r****m 5
github-actions[bot] 4****] 4
Alberto Mengali d****d@g****m 3
Alex Gardner 3****r 2
Fabian Gans f****s@b****e 1
Julia TagBot 5****t 1
Rafael Schouten r****n@g****m 1
Simon Byrne s****e@g****m 1
Tiem van der Deure t****e@g****m 1
Sebastian Good s****n@p****m 1
femtocleaner[bot] f****] 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 39
  • Total pull requests: 84
  • Average time to close issues: 9 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 20
  • Total pull request authors: 18
  • Average comments per issue: 3.97
  • Average comments per pull request: 2.67
  • Merged pull requests: 69
  • Bot issues: 0
  • Bot pull requests: 13
Past Year
  • Issues: 2
  • Pull requests: 11
  • Average time to close issues: N/A
  • Average time to close pull requests: 7 days
  • Issue authors: 2
  • Pull request authors: 5
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.36
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • visr (11)
  • alex-s-gardner (4)
  • evetion (3)
  • c42f (3)
  • felixcremer (2)
  • asinghvi17 (2)
  • AshtonSBradley (1)
  • yodefiar (1)
  • lawless-m (1)
  • himotoyoshi (1)
  • tiemvanderdeure (1)
  • Datseris (1)
  • mauro3 (1)
  • graziano-giuliani (1)
  • rafaqz (1)
Pull Request Authors
  • visr (36)
  • asinghvi17 (13)
  • dependabot[bot] (12)
  • yeesian (6)
  • github-actions[bot] (4)
  • rafaqz (4)
  • mauro3 (3)
  • evetion (3)
  • tiemvanderdeure (2)
  • alex-s-gardner (2)
  • JuliaTagBot (1)
  • simonbyrne (1)
  • c42f (1)
  • sebastiang (1)
  • femtocleaner[bot] (1)
Top Labels
Issue Labels
enhancement (5) bug (2) question (1)
Pull Request Labels
dependencies (12) enhancement (2)

Dependencies

.github/workflows/CI.yml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • codecov/codecov-action v1 composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/julia-processcoverage v1 composite
  • julia-actions/julia-runtest v1 composite
  • julia-actions/setup-julia v1 composite
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite
.github/workflows/CompatHelper.yml actions