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

support for compound-CRS? #181

Open
hugoledoux opened this issue Oct 19, 2023 · 2 comments · May be fixed by #193
Open

support for compound-CRS? #181

hugoledoux opened this issue Oct 19, 2023 · 2 comments · May be fixed by #193

Comments

@hugoledoux
Copy link
Member

I think we should explore how we support compound-CRSs, which is done by proj/gdalwarp by using 2 EPSG: EPSG:28992+5709 (this is equivalent to using EPSG:7415 but there are cases, like copdem where EPSG:4326+3855 is used and there is no one EPSG for this).

The OGC Name Specs now accepts CURIEs, and it is explained there how we could support this:

this would mean modifying the "metadata"/"referenceSystem" to accept an array of strings, I guess.

@Ylannl
Copy link

Ylannl commented Dec 16, 2024

I think this is an important feature. Indeed some countries do not seem have a single EPSG code for their national CRS + vertical axis. So currently not possibly to properly represent this in CityJSON.

@hugoledoux
Copy link
Member Author

Modifying the type of "metadata"/"referenceSystem" would mean breaking a lot of and not backwards compatible.

It's a string at the moment though, but there is no way modifying the URL by allowing to concatenate two URLs would also break things.

One option is adding an extra property, eg "metadata"/"referenceSystem_Z". It solves it for many cases, but the "metadata"/"referenceSystem" can be a 3D CRS if there is a compound EPSG code that was created...

Does someone have a good idea here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants