Questions tagged [xml]

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

Filter by
Sorted by
Tagged with
21 votes
7 answers
24k views

How do you convert OSM XML to geojson?

I want to take the XML output of a Xapi query and display it using leaflet or polymaps. How can I do that? Is there an easy way to convert XML to geojson
null_radix's user avatar
14 votes
3 answers
3k views

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

Every time I open and close a Raster layer in QGIS it creates an XML-file for that raster when closing. While I do a lot of automatic processing this really bugs me, since I have to add every time ...
geotics's user avatar
  • 143
12 votes
1 answer
3k views

Transform metadata in xml format to html

I extract metadata from the GDB_UserMetadata SDE table. Now I want to transform that xml to html so that I can view it from my browser. To do that I use the ISO.xsl stylesheet found in C:\Program ...
Manolo Frias's user avatar
12 votes
2 answers
680 views

Customizing ISO 19139 metadata profile in ArcCatalog?

I'm using the ISO 19115/19139 metadata standard, and I need to convert some optional elements into mandatory elements. Is it possible to achieve this using ArcCatalog as the metadata editor? About ...
Stephen Lead's user avatar
  • 21.1k
10 votes
3 answers
950 views

What does it mean "GML is an XML grammar"?

I'm trying to get my head around the theoretical side of XML and GML. The OGC web page for GML states that: The Geography Markup Language (GML) is an XML grammar for expressing geographical ...
Mark Ireland's user avatar
  • 13.1k
9 votes
3 answers
2k views

Large Open Street Map OSM file to Shapefile. Is there any hope for 32-bit FME?

I have a large OSM XML file (around 8 GB) that I was hoping to process in FME. I have a workbench that I previously used to process smaller files (500 MB) into feature type-specific Shapefiles (e.g. ...
tomfumb's user avatar
  • 3,668
8 votes
4 answers
16k views

Extract country border from OpenStreetMap

I'm trying to extract the Jordanian country border from an OpenStreetMap. When I click the download link for the file, the following page opens: How do I save these XML tags as an XML- or OSM file ...
user3368456's user avatar
8 votes
1 answer
14k views

Import PNG symbols in QGIS

I would like to upload some symbols into QGIS using version 2.14 (Essen). I would like to upload a PNG but it seems the only format available is XML. Do you know if its possible to upload PNG's ...
philippe's user avatar
  • 475
8 votes
2 answers
1k views

How to export only some feature classes to xml using ArcObjects?

I need to export some of the feature classes to an xml file ("export xml workspace") quite often so I'd like to automate the process. I've found an example here how to export a feature dataset to an ...
kor_'s user avatar
  • 289
8 votes
2 answers
3k views

ESRI ArcMap Add-in Config.esriaddinx

I'm in the process of converting an older ArcMap extension to an Add-In in C# and I am trying to best take advantage of the XML based configuration. Config.esriaddinx works great for the basic set up ...
petegis's user avatar
  • 81
7 votes
4 answers
2k views

Restricting values to domain codes (beyond attribute table)?

Geodatabase fields can be assigned domains. ArcGIS Desktop uses the domains as lookup tables (a.k.a. validation tables). When users edit data in the attribute table or attribute editing window, the ...
User1974's user avatar
  • 1,124
7 votes
1 answer
80k views

Importing XML data into QGIS

I've got a problem importing XML data in QGIS Wein. I've exported the XML data from an interactive PDF map viewed in Adobe Acrobat Pro DC. When I try to import the XML file into QGIS using the ...
user71215's user avatar
6 votes
2 answers
10k views

Reading KML Files in R?

I'm hoping to analyze google timeline data in R for a final project in a GIS class, Google can output timeline data as geojson and KML but it looks like the KML file includes a lot more info (type ...
Hugh_Kelley's user avatar
6 votes
1 answer
3k views

Setting up THREDDS catalogs for ocean model data

I've got a bunch of NetCDF files from ocean modeling runs. Some are 3-day forecasts that are run daily, some are hindcast runs where each hindcast is split into multiple files like ocean_his_0001....
Rich Signell's user avatar
  • 2,252
6 votes
1 answer
6k views

How does Quantum GIS work with ArcGIS XML files?

I'm not familiar to Quantum GIS, so can anyone explain if it is possible to import/export XML files in Quantum GIS? If it is possible, how can I do that? I exported some xml recordset and workspace ...
Ligia's user avatar
  • 1,476
6 votes
2 answers
2k views

Converting GeoJSON to ISOXML ISOBUS ISO 11783-10

How do I convert some GeoJSON files to ISOXML files (ISO 11783-10)? I found several questions on this topic: Converting GeoJson/Shp to Iso-xml (ISOBUS ISO 11783-10) https://stackoverflow.com/q/...
Fedor's user avatar
  • 61
5 votes
2 answers
28k views

Converting GML to Geodatabase Feature Classes?

I have a series of XML files containing GML tags such as : <gml:posList srsDimension="2">454780.3125 525867.9375 454762.0625 525994.5625 and I need to convert these into ESRI feature classes. ...
Alex Oulton's user avatar
5 votes
2 answers
832 views

XML bounding boxes to shapefile QGIS

I used labelImg to create some bounding boxes around items of interest on a TIF image. I am wondering if I can convert those XML bounding boxes into shapefiles? I've looked at a few other posts for ...
Binx's user avatar
  • 1,290
5 votes
2 answers
11k views

Using Python to parse an XML containing GML tags

I am trying to write a python script which pulls GML tags out of an XML file and formats them into WKT for inserting into a PostGIS database. I have been successful in doing so for an XML containing a ...
Matt's user avatar
  • 2,696
5 votes
1 answer
2k views

Is there an XML equivalent to GeoJSON?

In my web application, I am retrieving geospatial data from a server backend (Java) to the browser frontend (JavaScript). I am considering two options of how to serialize the data in this ...
Imp's user avatar
  • 880
5 votes
2 answers
135 views

What is QDomNode and QDomDocument in terms of PyQGIS?

On a low level what is QDomNode and QDomDocument in the PyQGIS context? I comprehend that both QDomNode and QDomDocument are derived from PyQt. Hence, with my limited knowledge of PyQt, I simply do ...
Taras's user avatar
  • 31.4k
5 votes
2 answers
3k views

How to render PostGIS raster with Mapnik XML?

I'm trying to manage raster files from PostGIS, which to be rendered using Mapnik. I used raster2pgsql to load those GeoTIFF images to PostGIS, and I think the loading process turned out OK. The ...
user avatar
5 votes
1 answer
1k views

Exporting vector layer's style to XML

I would like to use the "create categorized renderer from style" Plugin in QGIS 3.14.15 but I didn't have any .XML-file for this. I tried to create one for a vector layer but in the options ...
Sophie's user avatar
  • 53
5 votes
1 answer
589 views

GeoServer WPS Chaining problem

I have a bit of a problem with WPS(1.0) chaining on GeoServer (2.9.1.). I am following this tutorial for http://geoserver.geo-solutions.it/edu/en/wps/chaining_processes.html Chain 1: Extract the ...
David's user avatar
  • 287
5 votes
1 answer
1k views

Restoring public.layer_styles table from PostGIS dump

I created a PostGIS database on a PostgreSQL server and stored some QGIS styles (in public.layer_styles). When dumping and restoring the database only this table gives me an error and stays empty. I ...
LudEE's user avatar
  • 53
5 votes
2 answers
214 views

Why the modifications I do in QGIS doesn't appear when I save an OSM file I created?

Through QGIS I loaded an OSM file I created and I'm trying to visualize what happens with the file in terms of codes after some modifications like adding points, lines or polygons. But the problem is ...
user10309's user avatar
5 votes
1 answer
2k views

Writing XML metadata with Python?

Some Python software I have written generates raster files via GDAL. I would like the software to create an XML metadata file for each raster so that I can include details about how the raster was ...
hendra's user avatar
  • 1,398
5 votes
3 answers
2k views

Parsing XML Document file associated with shapefile into PostGIS/PostgreSQL table

I have a shapefile, and information on its attributes is stored in a XML Document format. For example, the attribute of COUNTY is stored as follows: -<attr> <attrlabl>COUNTY</...
POTENZA's user avatar
  • 183
5 votes
0 answers
193 views

How to set up Geoserver app-schema feature chaining?

I am using Geoserver 2.12 with the application schema plugin to map a PostGIS database schema to the GeodesyML schema. I need to set up a WFS request that returns GeodesyML output such as: <wfs:...
medley56's user avatar
  • 365
5 votes
0 answers
216 views

Seeking list of project properties that can be written in PyQGIS?

The methods QgsProject.instance().writeEntry() and QgsProject.instance().readEntry() can be used to programmatically set project properties. According to the QGIS API reference the properties ...
TobsenB's user avatar
  • 902
4 votes
2 answers
1k views

Reading Inspire XML with GeoPandas

I am trying to plot the German Railway net from here, using GeoPandas. It downloads an Inspire XML file. gpd.read_file only seems to read the header. Importing it as a Pandas Dataframe with pd....
Maartenk's user avatar
4 votes
4 answers
44k views

How to open XML file in ArcGis 10?

I have a XML file that would like to use as a base layer in ArcGIS 10. What are the steps that I need to follow in order to open that file in ArcGIS 10? The XML file does not have coordinates. When ...
Omega's user avatar
  • 335
4 votes
1 answer
678 views

Get QGIS layer symbology as xml string using PyQGIS

Analogue to saving a layers symbology into a *.qml file I would like to have the xml content of a layers symbology in a python string (or QDomDocument). I think the method QgsVectorLayer()....
Jochen Schwarze's user avatar
4 votes
1 answer
122 views

Convert OSM XML file to GeoJSON yields nothing

I am very new to the map making world and I am trying to extract a body of water using OpenStreetMap, convert the XML file to a GeoJSON file so that I can upload it to Datawrapper. This is the file I ...
meg's user avatar
  • 41
4 votes
1 answer
579 views

Reading an ESRI XML Workspace Document with python or other FOSS

I've recently run into data in "ESRI XML Workspace Format," I have never run into this format before, and can't find any reference to using it with FOSS tools, or any documentation on the format the ...
Jesse Crocker's user avatar
4 votes
1 answer
1k views

WFS Query Failing when using Logical OR

I'm having some difficulty when using a Logical OR in a WFS query to get multiple postcodes. This code works fine when it's only 1 PropertyIsEqualTo filter, but when I wrap the OR around more than one ...
Tom Styles's user avatar
4 votes
1 answer
1k views

Styling OSM data with OSM-Carto

I have set up on Ubuntu a tile server by following this tutorial I followed the instructions for downloading and configuring osm-bright, but now I want to use the openstreetmap-carto stylesheet. In ...
dimitris lepipas's user avatar
4 votes
2 answers
2k views

How do I specify the lon,lat ordering in CSW bounding box request?

I'm confused about the order of the lat/lon pairs when a CSW BBOX request is specified. On this Geoportal Server CSW page, there is a GetRecords example where clearly the ordering is (lon,lat): &...
Rich Signell's user avatar
  • 2,252
4 votes
1 answer
1k views

Loading multiple feature types as one layer in OpenLayers?

I have a kml file which contains some polygon and some point features in the same file. I am trying to load and view this layer on my basemap in OpenLayers. The problem is that the polygon features ...
Catlover's user avatar
  • 449
4 votes
3 answers
7k views

How to convert GTFS to XML or JSON?

Do you know any tool that provides that? I need to manipulated GTFS file but I would like to have data available in any well-known format like XML or JSON. EDIT GTFS are Google Transit Feed ...
stackovergio's user avatar
4 votes
1 answer
835 views

GeoServer WMS inline SLD_BODY syntax problem

I would like to use inline SLD to style polygon served by GeoServer. Here is working example in MapServer: without defined style: http://gis.ibbeck.de/include/mapserver/mapserv.exe?map=/daten/mapfiles/...
edaus's user avatar
  • 43
4 votes
1 answer
8k views

How to Change Port no. of GeoServer Running as Service

I installed my geoServer as a service on port 8080. However, I need to use this port for some other service and have been trying to move it to port 7000 instead but I can't find a way to change the ...
user59290's user avatar
4 votes
1 answer
5k views

Good place to get Country, State, City, and Zipcode information?

I'd like to populate a database with common location information. I'm not entirely certain that addresses across the globe have similar or even the same entities as the Country, State, City, and ...
leeand00's user avatar
  • 163
4 votes
3 answers
13k views

How to Make a .xml file for Esri shapefile?

Mostly for my work I use PostgreSQL or .tab files (MapInfo). However, I am familiar with conversion from one format to another using ogr2ogr. My problem is that how can I make the metdata file or .xml ...
IbadRaza's user avatar
4 votes
1 answer
653 views

How to parse ArcGIS Server generated output XML?

I have a use case in which I need to parse the XML generated by an ArcGIS server, then push that data to another API. The ArcGIS server sits behind the firewall at our customer's site and exposes a ...
bluecollarcoder's user avatar
4 votes
1 answer
552 views

How to generate xml for use with geoxml3

I have a kml and shp I would like to convert to an xml to use with geoxml3. How would I go about doing such a thing? The xml I generate should look something like this: <?xml version="1.0" ...
Zap Rowsdower's user avatar
4 votes
0 answers
924 views

Filtering multiple values (more than 2) using XML filter for WFS?

I'm having a problem using WFS XML filter. I'm trying to read only 6 features from entire dataset and I get the following error: I wrote query in SQL and need to convert it to XML: "SAV_ID" IN (21,...
Fikusas's user avatar
  • 41
4 votes
0 answers
919 views

Why doesn't the gml 3.1.1 schema validate with xmllint? [closed]

Running xmllint on the gml 3.1.1 schema fails, even though the release notes claim that this release was created to get the schema to validate using 'common tools'. There's questions about this on ...
DaveParillo's user avatar
3 votes
4 answers
18k views

Parse XML files in Python (ElementTree)

I am trying to parse some xml and rss feeds to extract some of their data in order to store it in a PostGIS database. The file I want to parse is here: http://earthquake.usgs.gov/earthquakes/catalogs/...
Stéphane Henriod's user avatar
3 votes
2 answers
5k views

Programmatically converting arbitrary XML data to shapefile?

Based on the answers below I decided to do some programming. I'll be using GEOtools for this, a java lib: http://www.geotools.org/ I have the following XML: <shapes xmlns="http://www.meteogroup-...
jorrebor's user avatar
  • 221

1
2 3 4 5
8