[Qgis-user] Getting the gml cooridnates from xml
Asim al-sofi
asim56 at gmail.com
Thu Nov 24 03:48:18 PST 2022
Hi all,
I would like to extract gml coordinates given in an xml file using Python.
I have used the following but what I get is the coordinates as a string.
*for q in root: for p in q.iter(): if 'posList'in str(p.tag):
objects.append(q)*
Is it possible to get the coordinates as Qspoints or QgsGeometry?
Kind regards
A. Al-Sofi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20221124/ad8617fc/attachment.htm>
More information about the Qgis-user
mailing list