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
when running pg2b3dm on my table, I get .glb files that seem to be just simple 2D triangles (using https://gltf-viewer.donmccurdy.com/ to investigate). Mapbox also does not display anything, even though it correctly fetches the data from my server (and draco compress it before).
I use this command to draco-compress individual files:
npx gltf-pipeline -i x_y_z.glb -o x_y_z.glb -d -b
I attach a sample geometry of mine that results in a simple 2D Triangle in this text file - it is exactly like this in my DB.
These geometries are generated by a script of mine from .obj files. geometry.txt
I appreciate any help.
Thank you very much
Paul
The text was updated successfully, but these errors were encountered:
Hi Paul, I took a quick look, what's suspicious is that st_zmin(geom), st_zmax(geom) of that geometry returns 162.6828628618381, 162.8575055476819 , but in the vertices I see min values like 155... so maybe some invalid geometry or so?
thanks for the quick reply. I investigated further down the rabbit-hole and it seems my original WAVEFRONT OBJ file is incorrect. Using https://github.com/tudelft3d/val3dity to analyze my .obj file returns: "ring self-intersects or is collapsed to a line" for multiple faces.
Would you have any idea on how to fix the geometry?
Anyways, this is related to an underlying problem, so I close the issue here.
Hi there,
when running pg2b3dm on my table, I get .glb files that seem to be just simple 2D triangles (using https://gltf-viewer.donmccurdy.com/ to investigate). Mapbox also does not display anything, even though it correctly fetches the data from my server (and draco compress it before).
I use this command to generate the .glb files:
I use this command to draco-compress individual files:
I attach a sample geometry of mine that results in a simple 2D Triangle in this text file - it is exactly like this in my DB.
These geometries are generated by a script of mine from .obj files.
geometry.txt
I appreciate any help.
Thank you very much
Paul
The text was updated successfully, but these errors were encountered: