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

Multipolygon Empty in "ground_geometry" for WG484 (4326) Data #40

Open
BenitThinot03 opened this issue Jun 23, 2024 · 1 comment
Open

Comments

@BenitThinot03
Copy link

Hello,

I have imported this CityJSON with EPSG:4326 into the CJDB database, and I see that the "ground_geometry" is not displayed correctly; it gives "EMPTY MULTIPOLYGON" instead. When I try the same CityJSON with EPSG:7415, it works perfectly.
What can be the issue.
I am using the CJDB version 2.10.
Here are the files I am working with.

denhag4326.json
denhag7415.json

@hugoledoux
Copy link
Member

I don't know why the geometries are empty, but EPSG:4326 is a 2D CRS (in degrees) and you have your z-values in meters.

It is never a good idea for 3D modelling to mix units for the 3 axis, those should be the same: You have now lat-long in degrees and meters, the solution to this is to use a projected CRS like EPSG:7415.

You could try to put the correct CRS and see what happens:
EPSG:4979
WGS84 (EPSG:4326) + height in meters

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

No branches or pull requests

2 participants