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
17
votes
6answers
15k 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
12
votes
1answer
2k 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 ...
12
votes
2answers
382 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 ...
10
votes
3answers
752 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 ...
8
votes
2answers
982 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 ...
8
votes
2answers
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 ...
7
votes
4answers
997 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 ...
7
votes
3answers
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. ...
6
votes
2answers
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 ...
6
votes
1answer
2k 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....
5
votes
2answers
20k 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. ...
5
votes
1answer
6k 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 ...
5
votes
1answer
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 ...
5
votes
1answer
26k 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 ...
5
votes
2answers
195 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 ...
5
votes
1answer
1k 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 ...
5
votes
3answers
1k views

how to parse a XML Document file associated with the shapefile into a 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</...
4
votes
3answers
6k 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 ...
4
votes
1answer
1k 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 ...
4
votes
4answers
37k 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 ...
4
votes
1answer
2k views

Turn off the setting of QGIS to produce xml when closing

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 ...
4
votes
1answer
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 ...
4
votes
1answer
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 ...
4
votes
1answer
717 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 ...
4
votes
1answer
3k 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 ...
4
votes
1answer
7k 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 ...
4
votes
1answer
429 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" ...
4
votes
0answers
111 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:...
4
votes
0answers
95 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 ...
4
votes
0answers
856 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 ...
3
votes
4answers
15k 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/...
3
votes
2answers
3k 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-...
3
votes
4answers
4k views

GML Parser for C++/Java/…?

I am looking for a good parser for the latest GML (Geographic Markup Language) version in preferably: C++/Java/Ruby/... I am especially interested in reading the geometry of individual features. Does ...
3
votes
1answer
151 views

XML schema for QGIS symbology

I've been trying to import .cel files as symbology in QGIS. I was recommended to change those .cel files into .dxf, which I did. However, in order for the conversion from dxf to xml to work, I need ...
3
votes
1answer
1k views

How to save in a given XML schema in QGIS?

Related to this closed question: https://gis.stackexchange.com/q/184033/64092, I'd like to know if there is a way to save data in a particular GML/XML schema (say, any of these) using QGIS. A step-by-...
3
votes
1answer
513 views

Link between node->building->street in OSM

Data: Raw OSM data (.osm XML file). Target: Connect between house number represented by node, to street name represented by way. What I did: In www.openstreetmap.org I can explore elements. So I ...
3
votes
2answers
2k views

WMS GetMap request with POST and XML in GeoServer

It's possible to make WFS queries by POSTing query as XML. Does GeoServer support this also for WMS GetMap request? If yes, I'm looking for information on XML syntax for such query. Sounds like a "...
3
votes
2answers
427 views

How do I automatically export a release of the EPSG registry?

I am trying to use the EPSG Registry API to export a release of the registry for offline use but am receiving a registry error. After following the Developer Guide I am HTTP POSTing the following XML ...
3
votes
3answers
95 views

GML validation errors with FME

I am wondering if I am missing something. I am exporting some records from an Oracle dB to a GML2 file using FME. When I validate the resulting XML using online validators I don't find any errors. ...
3
votes
1answer
136 views

Rendering tiles using xml files?

I'm having trouble displaying some base maps on parts or my organisations network. I set up a QGIS (2.14.9) project and added a couple of layers. I then add a google basemap using 'Thomas B' ...
3
votes
1answer
784 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 ...
3
votes
1answer
292 views

How to validate Personal Geodatabase against XML schema?

Is there a tool in ArcGIS ModelBuilder which can validate a personal geodatabase and an XML schema to give out an report saying if the gdb is validated or not?
3
votes
3answers
2k views

I have a list of coordinates that make up a route - how can I easily render this shape on a map?

Additional info - I don't need this to be on a map - I just need the shape of the route. Is there anything that can return that shape easily? The list of coordinates are in an XML document and I'd ...
3
votes
3answers
4k 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 ...
3
votes
1answer
16 views

Understanding GML structure for validation

I'm failing to convert this GML v3.2 XML and I'm not sure why: <?xml version="1.0" encoding="UTF-8"?> <gml:MultiGeometry xmlns:gml="http://www.opengis.net/gml" srsName=""> <gml:...
3
votes
1answer
255 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 ...
3
votes
1answer
897 views

How to Create a Version 10 File Geodatabase from an XML from ArcGIS 9.2?

A client has given me an XML document for the schema of an ArcGIS 9.2 Geodatabase. The final goal will be to create a version 10 version of the geodatabase but the client doesn't have version 10 yet. ...
3
votes
1answer
99 views

What is the max. length of string for GP output?

I have an XML as the output of Geo-processing tool. I am keeping it as a file right now but another developer wants it as return value. So what is the maximum possible length of this String output? Is ...
3
votes
1answer
151 views

What is the faster way to run an OSM (xml) data to Esri geodatabase data for a big area with FME?

I am working on OSM highway(polyline) data with respect to the keys Max_speed and surface for the whole Africa. In this case I took at first the Geometry Filter with line and I used 2 list_searchers ...
3
votes
1answer
116 views

Dealing with empty values in xml using FME XML Templater?

​I am converting excel to xml using FME 2016 and the XML Templater. When a field is empty, my xml is invalid because my schema requires <TAGNAME xsi:nil="true" /> but instead gets <...