-
Notifications
You must be signed in to change notification settings - Fork 803
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
ProjJson 0.2 Schema Incorrect for Prime Meridian? #2354
Comments
… can just be a number, in which case the unit is implicitly degrees (fixes #2354)
Was indeed a bug of the schema |
@rouault should the schema version be bumped to 0.2.1 after this fix? |
I considered that a bit, but here it is a bug of the schema. I believe that issuing a new schema version should be done only if PROJ emits something different from before. But perhaps I can change the "description": "Schema for PROJJSON" to "description": "Schema for PROJJSON (v0.2.1)" inside the schema ? |
Yes, I think that's a good compromise. |
Problem description
Love the projjson schema and output, but I may have found a problem with the prime_meridian definition. If you output EPSG:22300 and EPSG:31293, you'll see the difference.
EPSG:22300:
EPSG:31293:
The 0.2 schema defines the prime_meridian as seen in 22300 with longitude as value and unit, but it doesn't seem to account for the version seen in 31293 which has longitude as a number only.
Or maybe it's a problem with how projinfo is spitting out EPSG:31293 as projjson?
Environment Information
PROJ 7, Windows 10 x64.
Installation method
Built from source.
Full outputs of "projinfo -o projjson EPSG:22300 -q" and "projinfo -o projjson EPSG:31293 -q" attached.
22300.txt
31293.txt
The text was updated successfully, but these errors were encountered: