Hi guys, I am a bit of a beginner for cesium, 3D, GIS etc.
I am interested is there a possible way or a tool to convert geo multipolygon data from PostGIS (with heights) to glTF or some format that is convertable to glTF?
I am talking about buildings data, so I want to create basic 3D models by extruding those polygons.
For that, I think glTF is the way to go. Sorry, I don’t know of any tools to convert PostGIS data to glTF. If you can convert it to collada models, you can use the open source collada2gltf converter.
Yes I have the same use case! I think that Cesium is working on a vector tileset specification which will provide 3D streaming to massive vector datasets in geojson format. I have a 900K plus building set that would be great for the vector tileset.
I am open to tinkering with the b3dm specification for streaming gltf models, but I am having a hard time converting my geojson data into collada .dae format which can then be converted to gltf. From what I understand, until cesium releases a conversion tool for generating b3dm files, we will have write our own tool that can convert many collada models into one gltf and assigning building ids to each of the vertices for each of the buildings converted into gltf. My issue has been preserving the geographical coordinates in my conversion from geojson to collada. If anybody knows of a way to do this, I would be very grateful for this knowledge!
More better would be to convert geoJSON directly go glTF.. so no collada converting.. I started to study glTF spec to try to do it..
But It requires a large amount of time.. it also requires webGL knowledge.
Than I started to learn webGL so I can better understand how glTF is composed. I had some success but all this requires large amount of time which unfortunately I don't have