Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 2856

XML (Extensible Markup Language) is a set of rules for encoding documents in both human-readable and machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C

3 votes

Exporting data in XML file format from ArcGIS for Desktop?

If you have the Data Interoperability extension (paid license) you can export vector data (i.e. shapefiles) to the GML simple features (GML-SF) xml profile. …
user2856's user avatar
  • 69.6k
1 vote

PyQGIS get elements from XML

As @IanTurton suggests, I would also make use of lxml, however it's not in the standard library, so here's a way using xml.etree.ElementTree which is in the standard library. from urllib.request impor …
user2856's user avatar
  • 69.6k
1 vote
Accepted

Python Toolbox keep xml meta data formatted for version control

ArcGIS will always save the XML with the newlines and whitespace stripped. However, you can use a few things, such as python or powershell, to pretty print your XML. … $' | \ xargs -I % powershell -Command "& {([xml](gc '%')).Save('%')}" …
user2856's user avatar
  • 69.6k
17 votes
Accepted

Turn off the setting of QGIS to produce XML when closing Raster layer

Are the xml files *.aux.xml? If so, it's not QGIS creating them, it's the GDAL library which uses them to store metadata, including statistics. …
user2856's user avatar
  • 69.6k
4 votes

Writing ISO 19139 compliant XML metadata from spreadsheet?

One way of doing it is to generate a really simple XML tree for each record in your spreadsheet, write an XSLT stylesheet to translate from your simple XML to ISO 19139, then use lxml.etree.XSLT to transform … xml version="1.0" encoding="UTF-8"? …
user2856's user avatar
  • 69.6k
5 votes

Reading Inspire XML with GeoPandas

You can list all the layers using fiona.listlayers(datasource): import fiona as fio import geopandas as gpd gml = "/vsizip/DB_Inspire_XML_2019.zip" for layer in fio.listlayers(gml): print(layer) …
user2856's user avatar
  • 69.6k