qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.08k stars 2.93k forks source link

TIN Mesh Creation - PLY format - Problems with header when importing into another software #53791

Open dangeo84 opened 1 year ago

dangeo84 commented 1 year ago

What is the bug or the crash?

I created a TIN mesh from 3D vector contour data using the QGIS Processing Toolbox function "TIN Mesh Creation" and exported the mesh to the PLY format. I could not import the PLY file into either Rhino3D (V7) or MeshLab (V2022.02) and in both instances encountered an error relating to problems with the header file.

MeshLab_Error

I was able to resolve the error by manually deleting the highlighted data from the PLY header, as shown below:

image

Steps to reproduce the issue

Input

Versions

QGIS version 3.32.0-Lima QGIS code revision 311a8cb8a6 Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.7.0 PROJ version 9.2.1 EPSG Registry database version v10.088 (2023-05-13) GEOS version 3.11.2-CAPI-1.17.2 SQLite version 3.41.1 PDAL version 2.5.3 PostgreSQL client version 15.2 SpatiaLite version 5.0.1 QWT version 6.1.6 QScintilla2 version 2.13.1 OS version Windows 10 Version 2009

Active Python plugins db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99

Supported QGIS version

New profile

Additional context

No response

roya0045 commented 1 year ago

I don't know if this is really a bug. Though in any case this should be filled in MDAL https://github.com/lutraconsulting/MDAL