You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an idea I've been playing around with for a while. Can we use glTF for vector data? Specifically, large amounts of 3D cartesian vector data. Here are some initial ideas.
Here's a demo of some vector data (provided by Maxar) converted from GeoJSON to 3D Tiles - includes line and polygon features and runtime styling. No new extensions and running in stock CesiumJS.
This is an idea I've been playing around with for a while. Can we use glTF for vector data? Specifically, large amounts of 3D cartesian vector data. Here are some initial ideas.
Points
mode: 0(POINTS)EXT_mesh_featuresandEXT_structural_metadatato associate points with metadataFeature ID by Index+ property tablesNote
Lines
mode: 1(LINES),mode: 2(LINE_LOOP) ormode: 3(LINE_STRIP)EXT_mesh_primitive_restartto batch multiple lines into a single primitiveEXT_mesh_featuresandEXT_structural_metadatato associate lines with metadata.Feature ID by Vertex+ property tables.Polygons
mode: 4(TRIANGLES) - polygons are pre-triangulated for performance reasonsEXT_mesh_featuresandEXT_structural_metadatato associate polygons with metadata.Feature ID by Vertex+ property tables.FB_ngon_encodingEXT_mesh_primitive_edge_visibilityorCESIUM_primitive_outlineNote
Styling
Compression
Demo
Here's a demo of some vector data (provided by Maxar) converted from GeoJSON to 3D Tiles - includes line and polygon features and runtime styling. No new extensions and running in stock CesiumJS.
glTF files are using the following extensions:
EXT_mesh_featuresEXT_structural_metadataEXT_meshopt_compression