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

[WIP] Explore stricter projjson schema #4256

Closed
wants to merge 2 commits into from

Conversation

rouault
Copy link
Member

@rouault rouault commented Sep 24, 2024

  • projjson.schema.json: update to draft 2020-12 for JSON Schema, and use 'unevaluatedProperties':false to cleanup inheritance constructs
  • projjson.schema.json: introduce sub-classes of coordinate systems, and tighten definition of geodetic_crs and geographic_crs
    by referencing the appropriate subclasses

None of the above changes are supposed to change the fact that existing PROJJSON geodetically sane instances should still validate (at least as shown by my quick testing). They prevent for example an inappropriate subtype of coordinate system to be assigned to a GeodeticCRS/GeographicCRS

Background for that experiment: follow-up to the first meeting (maybe last for me) of the OGC CRS group about a CRS JSON standard: http://lists.ogc.org/pipermail/coordtran.wg/2024-September/002773.html

@rouault rouault marked this pull request as draft September 24, 2024 15:33
@rouault rouault closed this Sep 25, 2024
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.

1 participant