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.52k stars 2.99k forks source link

PLY file exported in TIN Mesh Creation algorithm is incompatible with other mesh reader #52467

Closed basilrabi closed 1 year ago

basilrabi commented 1 year ago

What is the bug or the crash?

PLY exported in QGIS is not readable in other PLY readers such as Blender, meshlab, and Paraview simply because QGIS uses uppercase for the vertex coordinate property name:

ply
format ascii 1.0
element vertex 825
property double X
property double Y
property double Z

Simply changing to lower case fixes the compatibility issue:

ply
format ascii 1.0
element vertex 825
property double x
property double y
property double z

Steps to reproduce the issue

Use TIN Mesh Creation algorithm and export as ply.

Versions

master

Supported QGIS version

New profile

Additional context

No response

vcloarec commented 1 year ago

This is a MDAL issue, I reported the issue here: https://github.com/lutraconsulting/MDAL/issues/450

runette commented 1 year ago

Fix in https://github.com/lutraconsulting/MDAL/pull/453