cityjson / specs

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

Add support for compound CRS as CURIEs #193

Open balazsdukai opened 4 months ago

balazsdukai commented 4 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