Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WKT import to support WKT2 corrigendum #3573

Merged
merged 2 commits into from
Jan 21, 2023
Merged

Conversation

rouault
Copy link
Member

@rouault rouault commented Jan 19, 2023

Update WKT import/export to 18-010r10_CRS_WKT_Corrigendum.pdf and 18-005r7_AS_Topic_2_Referencing_by_Coordinates-1.pdf additions:

  • ANCHOREPOCH[] in geodetic and vertical reference frame
  • AXISMINVALUE[], AXISMAXVALUE[], RANGEMEANING[] in AXIS[]

Update PROJJSON import/export accordingly

Fixes #3571

@rouault
Copy link
Member Author

rouault commented Jan 19, 2023

CC @thareUSGS maybe of interest for planetary use cases the addition of constructs like AXIS["longitude",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433],AXISMINVALUE[0],AXISMAXVALUE[360]]. This pull request doesn't do more than round-tripping them, but I can imagine this could be used at some point by the computation part of PROJ to add +/- 360 modulos when outputting longitudes.

@AndrewAnnex
Copy link
Contributor

@rouault there may be a related issue with CRSs defined with west longitudes I am running into presently (e.g. IAU:49916) although I am still looking into it to post a sufficiently detailed issue. I'll post it next week anyways for further discussion

@rouault rouault merged commit a1c7ae3 into OSGeo:master Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update WKT import to support WKT2 corrigendum
2 participants