-
Notifications
You must be signed in to change notification settings - Fork 20
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
Display 3D GeoJSON data in HsCesium #4757
Comments
jmacura
added a commit
that referenced
this issue
Mar 6, 2024
+ cesium-test-app: Add example of a 3D (2.5D) GeoJSON refs #4757
jmacura
added a commit
that referenced
this issue
Mar 20, 2024
+ cesium-test-app: Add example of a 3D (2.5D) GeoJSON refs #4757
jmacura
added a commit
that referenced
this issue
Mar 22, 2024
+ cesium-test-app: Add example of a 3D (2.5D) GeoJSON refs #4757
Resolved in #4749 Cesium's own approach with "extrudedHeight" was followed, so if the layer contains "extrudedHeight" property, it is used to extrude the polygon/line into the specified height (above MSL). |
jmacura
added a commit
that referenced
this issue
Jun 20, 2024
+ cesium-test-app: Add example of a 3D (2.5D) GeoJSON refs #4757
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The GeoJSON format is not very suitable for storing data in 3D.
The standard somewhat allows to store 2.5D data in a form [lon, lat, elevation] or [lon, lat, altitude]. This is ambiguous as altitude ("above ground") and elevation ("above mean sea level") are different concepts. The GeoJSON Format. We can place the point/polygon/line to that height, but we must pick one of the two options, there is not guesstimate to differentiate elevation from altitude. From a quick googling, it seems to me that the "elevation" is somewhat more common as the "z" coordinate, e.g. emphasized by tmcw.
Additionally, the information about e.g. object's height can be stored in any property (e.g. "height"), which can be used to extrude the polygon/line into that height.
It is possible to do some fancy stuff with geometries in Cesium, like in this example: https://sandcastle.cesium.com/index.html?src=Polygon.html but it is not straightforward how to do it with a data in GeoJSON format...
It is about how to access/create PolygonGraphics from the GeoJsonDataSource before/while the entities are created.
The text was updated successfully, but these errors were encountered: