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, and several other related specifications, all gratis open standards.

learn more… | top users | synonyms

10
votes
3answers
332 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 ...
10
votes
5answers
2k 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
9
votes
2answers
1k 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 ...
7
votes
2answers
414 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 ...
6
votes
3answers
1k 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
673 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 ...
5
votes
2answers
154 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
3answers
351 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> ...
4
votes
1answer
438 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
8k 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
488 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
2k 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
217 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
449 views

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

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
8k 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: ...
3
votes
2answers
4k views

How do I convert GML to ESRI featureclasses?

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 featureclasses. ...
3
votes
1answer
289 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 ...
3
votes
2answers
249 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
1answer
131 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
3answers
382 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
1answer
379 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
47 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
2answers
753 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 ...
3
votes
1answer
257 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 ...
3
votes
1answer
494 views

ArcGIS XML Import Failed - how to find out why it failed?

I am creating an ESRi XML Workspace document in some of my own C# code. The XML doc that is produced validates against the GdbExchange.xsd schema provided by ESRI. However, when I use ArcCatalog to ...
3
votes
1answer
988 views

Error importing XML workspace document to file geodatabase

Ok so I have a large SDE geodatabase that I exported to an XML Workspace Document. I tried to importing it again into a file geodatabase to test if the export worked correctly and got the following ...
3
votes
1answer
217 views

How do I write 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 ...
2
votes
2answers
94 views

schools: how are they tagged - with the same method all over the world?

are all schools tagged in the same way? or do some countries do use a specal tag-(system)? update: thanks to the responders: what does this mean ...
2
votes
4answers
623 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 ...
2
votes
2answers
611 views

How to programmatically convert arbitrary XML data to shapefile?

EDIT: 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 ...
2
votes
1answer
128 views

Compare workspace schemas in Modelbuilder

My model has two model parameters: A file gdb workspace or sde workspace containing the data An empty "template" file gdb As the very first process in my model, I want to check if the schema of ...
2
votes
1answer
426 views

How to add more than one xml file per layer

I'm using this code to add xml (osm relations) files to my map. osm_layer = new OpenLayers.Layer.GML("Polygon", relation.xml, { format: OpenLayers.Format.OSM, style: {strokeColor: "blue"}, ...
2
votes
1answer
50 views

How to convert xml into readable gis format

I have data in xml format which contains a child element "GEOM" which has coordinates in the following format POINT (9.9632253030540205 52.9569277022282421) POLYGON ((9.7423702151211078 ...
2
votes
1answer
61 views

OSM XML: Should I generate contact:phone or phone?

I am generating OSM XML data for all POIs of Wikivoyage, the collaborative travel guide. When I want to express a phone number, should I generate contact:phone or phone? Both mean the same thing. ...
2
votes
4answers
753 views

problem in reading kml data in openlayers

I am trying to read an KML file (point feature) and show it on a vector layer on OSM as the base map. My code seems to have a problem that does not show the features on the map. I don't now if its the ...
2
votes
1answer
524 views

Handling XML from within ArcGIS

In my company, there is a web service that serves geographic data stored in a remote dababase through an URL. This service makes queries to the database and encodes the required data in XML format. ...
2
votes
1answer
3k views

KML PHP parser to INSERT into database

So I have a KML file which has attribute data(Inside the tag with about 12 data points). This file was generated on ArcGIS. I'm trying to write a PHP script to parse this KML file and insert the ...
2
votes
1answer
280 views

how to avoid the bbox limitations on a Mapquest XAPI request

I am doing the following: I send a request to the API-Server - over http as a response I get the following result - in XML example: the following link gives back all the Nodes of the Type ...
2
votes
1answer
367 views

OpenLayers WPS function fails in IE

I am making a WPS call in OpenLayers which works successfully in Chrome and Firefox but not in IE9. The response from IE tells me "Process failed during execution\nCould not convert to target type ...
2
votes
1answer
930 views

Why is an XML file with the same name being created when I save an MXD?

In the last couple of days, everytime I save an mxd file an xml file is created with an identical file name (obviously with .xml rather than .mxd at the end) in the same folder that I've saved the mxd ...
2
votes
1answer
2k 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 ...
2
votes
1answer
354 views

How to write XML attributes from feature with ArcView license?

I need to generate xml of attribute data of a feature, but I have only Arcview license so, I can't use Export XML tool. What are my options? What is wrong with this code (after applying search ...
2
votes
0answers
90 views

Can OGR handle Esri's Geodatabase extensible markup language (XML) files?

The USDA Forest Service distributes GIS data as Esri Geodatabase extensible markup language (XML) files. I downloaded one in the hopes that I would be able to convert it to something less esoteric ...
2
votes
0answers
21 views

How to publish a table in Geoserver 2.4.x, so that only specific users can access it [duplicate]

I want to publish some tables in the geoserver 2.4.x so that it is restricted to some particular users.Right now, I have tables that is public to all users. I have a web app, through which I am ...
2
votes
2answers
144 views

json to xml transformation with x2js

I am trying to transform a JSON object to XML, but i have somehow get stuck in jscript (not an expert). Here is the code: ... var GEOJSON_PARSER = new OpenLayers.Format.GeoJSON(); var ...
2
votes
2answers
643 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 ...
2
votes
1answer
143 views

Two questions about mapnik

I newbie have two newbie questions about Mapnik. Does Mapnik allow generation tiles with float zoom level? I have osm file for my region. I want generate images. Where i can download full xml file ...
2
votes
0answers
243 views

How to import code list from .mdb to domain model in Enterprise Architect?

I have build an UML model in domain model structure in Enterprise Architect. Now i want to import a couple of code lists to this model. The problem is that the tables are in .mdb ArcGis workspace. I ...
1
vote
2answers
18 views

WFS Spatial Operator Query - Crosses AND Within

I'm trying to query my wfs service with a polygon. I want the service to return both features that are inside the polygon and partially inside the polygon. However, when I use the "Within" spatial ...
1
vote
1answer
124 views

Export arcgis data to xml all at once

Is there a way in ArcGIS10 to export all feat classes, tables, datasets all at once as XML? I know there is a batch command but still appears you have to select items. I am in process of writing a ...