cityjson / specs

Specifications for CityJSON, a JSON-based encoding for 3D city models
https://cityjson.org
Creative Commons Zero v1.0 Universal
108 stars 25 forks source link

Add support for compund CRS in the form of CURIEs #192

Closed balazsdukai closed 7 months ago

balazsdukai commented 7 months ago

Allow compound CRS in metadata.referenceSystem the form of CURIEs, in addition to the current URI syntax.

For example:

"referenceSystem": [
    "[EPSG:4326]",
    "[EPSG:3855]"
  ]

The schema allows any UPPER/lowercase letter or digit as identifier, and any UPPER/lowercase letter as authority.

However, this change breaks backwards compatibility, so it would require a new major version.

If we decide to merge this PR, the specs need to be updated too.

Fixes #181

hugoledoux commented 7 months ago

We should do this, but for v2.1 only.

v2.0 should stay backwards compatible.