[Qgis-user] Export to GML in 3.28?

Eric Ortmayr eortmayr at crgl.ca
Wed Mar 22 17:25:36 PDT 2023


Hi Evan,

Thank you for the information, the document was very helpful.

Since the default changed to GML3.2 do you think the FORMAT dropdown should include a GML2 option? I am not sure if this was missed or if this was done by design.

Regards,

Eric


From: Even Rouault <even.rouault at spatialys.com>
Sent: March 21, 2023 5:24 PM
To: Eric Ortmayr <eortmayr at crgl.ca>; qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Export to GML in 3.28?



Le 22/03/2023 à 01:16, Eric Ortmayr via QGIS-User a écrit :
Hello,

Exporting to GML using version 3.16 results in a different coordinate format than in version 3.28. In 3.16 the X and Y values are separated by a comma (GML2?), but in 3.28 the X and Y values are separated by a space (GML3?) . Both exports were created using the <Default> FORMAT under the Datasource Options section in the Save Vector Layer as... dialog.

Are the 3.16 and 3.28 <Default> FORMATS different by design? I checked the changelogs and could not find anything obvious.

Yes, most file format export (and import) is done by GDAL.  GDAL 3.4.0 changed to GML 3.2 as the default variant of GML. Cf https://gdal.org/drivers/vector/gml.html#dataset-creation-options<https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgdal.org%2Fdrivers%2Fvector%2Fgml.html%23dataset-creation-options&data=05%7C01%7Ceortmayr%40crgl.ca%7Cc5533e1316c64ed7365c08db2a6baeba%7C2aa156d4b33c41688f39045b19f30a21%7C0%7C0%7C638150414206590656%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=iLfZK7gmSVxOrNQDEwpRJqwiiDIiYL5GQkMINhJ6FY0%3D&reserved=0>



--

http://www.spatialys.com<https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.spatialys.com%2F&data=05%7C01%7Ceortmayr%40crgl.ca%7Cc5533e1316c64ed7365c08db2a6baeba%7C2aa156d4b33c41688f39045b19f30a21%7C0%7C0%7C638150414206590656%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=CEO3ReB4CP1RSXlkBHPmECVoCbFwFN2Lo8M7ML6IxOk%3D&reserved=0>

My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230323/1a4fbd31/attachment.htm>


More information about the QGIS-User mailing list