I'm following up to see if this issue has been resolved. I too had my model rotated when I exported it as a GLB. I am using map coordinates (a UTM projection). The top-down view becomes the front-facing view when exported.
Thanks!
Paco
Added on 1/8/2024:
As a follow-up, this may be related to the coordinate system. Metashape is exporting the 3D models in a right-handed (E-N-U) coordinate system, like most geospatial software would expect. The glTF also uses a right-handed system, but relative to the 3d asset -- NOT the global cartesian reference frame. In this regard, "glTF uses a right-handed coordinate system. glTF defines +Y as up, +Z as forward, and -X as right; the front of a glTF asset faces +Z." See
https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html.
For t his reason, the 3D landscape appears rotated toward the viewer about the X-axis by 90 degrees.
This is fine for a small object, but it messes up the orientation of a landscape ingested as a 3D element.