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
2
votes
2answers
562 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 https://taginfo.openstreetmap.org/tags/amenity=...
1
vote
0answers
864 views

parsing an osm-file with PHP simpleXML :: getting a few more tags

I am new to PHP's SimpleXML. update: The original version of this question was derived from here: OSM Data parsing to get the nodes with child I am thankful that hakre offered a great example in ...
1
vote
1answer
147 views

Are there any tools which can autopopulate multiple features with metadata fields in ArcGIS?

I have an enterprise geodatabase which contains hundreds of feature classes. I would like to publish the metadata from each feature to geoportal server in FGDC format. Is there an out of the box ...
1
vote
0answers
119 views

kml to kml conversion with XSL

I have a simple KML file witch I get with ogr2ogr where all placemark are 2D polygon like this one : <Placemark> <Style> <LineStyle> <color>ff0000ff</color> ...
1
vote
0answers
2k views

How to convert an XML to Shapefile using FME?

I am looking to convert XML to shapefiles using FME. The XML files are user generated while they draw points and lines (mainly) of interest on a web map. We generate the XML in the background ...
2
votes
1answer
1k views

overpass-api or osmconvert: which method is more appropiate to use for files from 10 to 400 mb? [closed]

new to openstreetmap and this technology. update: some mentioned postgis: well - The database schema of postgis allready contains the following tables: nodes, ways, relations, node_tags, way_tags, ...
1
vote
1answer
195 views

Error in LineEdit when show parsing value as string

I m trying to make QGIS plugin to open xml, parse it and then show value i parse from xml to line edit, i use this code : from PyQt4 import QtCore, QtGui from ui_testparse import Ui_testparse import ...
1
vote
1answer
1k views

Export XML Data to a MySQL DB

I have a XML file which I created from the overpass API. I'd like to load this data from this file into a MySQL database. I've been using this code to test, but none of the data loads. LOAD XML LOCAL ...
1
vote
1answer
467 views

convert XML to PostgreSQL using MATLAB

In a weeks time I should be able to transfer the GIS data provided in the XML format to PostgreSQL database. I have prepared the PostgreSQL database (empty) and looking at Matlab scripts. (I am on ...
0
votes
1answer
592 views

OpenLayers SVG sprite externalGraphic only works in Firefox

I am trying to set the externalGraphic property of a vector layer's style to an SVG sprite that has various viewboxes to position the icons dynamically by creating different views within my SVG file: ...
2
votes
0answers
30 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 ...
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 ...
1
vote
1answer
382 views

Live XML truck fleet GPS data To ArcGIS

Currently I have access to truck fleet data through Telogis Fleet. Telogis provides an XML feed and I would like to know how I can feed that into ArcGIS that is continuously updated?
2
votes
0answers
208 views

Working with WKT data in XML File in SQL Server

Anyone have experience with importing XML files into SQL server 2008 or 2012 that have a WKT element that includes the geometry for each feature? I can get this to easily work using FME software but ...
1
vote
3answers
1k views

KML Balloon Not Showing Up In <Folder>

I've created a perl script to create multiple line files from points. It iterates through, creates everything as expected. When you hover over a line, I get a balloon with all of the attribute ...
1
vote
1answer
2k views

Error getting spatial reference as string in arcpy

I am trying to get the string associated with a spatial reference to print into an xml using arcpy and xml.cElementTree. Using the snippet: ... spatial_ref = arcpy.GetParameterAsText(3) ... Prj = et....
2
votes
0answers
102 views

Understanding resource.xml of ArcGIS Network Analyst?

I want to translate the direction result of network analyst to turkish. I surf in the interent and found i have to change resource.xml file . the file located in arcgis install directory ...\ArcGIS\...
2
votes
0answers
78 views

How to maintain the data at XML document after changing schema with Diagramer?

After exporting XML with schema and data I did some changes to the schema with ArcGIS Diagramer. now i need to import the new schema and all the data to a new empty file GDB. what are the best ...
1
vote
1answer
913 views

XML import to ArcGIS gdb

i am trying to create datasets from xmd files (based on INSPIRE data model). i get a notice that my "workspace does not found"). does anyone have experience with that? i am looking for a schema for ...
2
votes
3answers
1k 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 ...
1
vote
0answers
135 views

Command Line FGDC/ISO 19115 Metadata Editor

Are there any metadata editors compliant with ISO 19115 and/or FGDC metadata standards which can work with XML formatted metadata and run solely on the command line? Often times I'm working remotely ...
1
vote
3answers
358 views

trouble installing the qgis2kml plugin (or, how to install plugins not available in the Plugin Manager from source)

I'm trying to install the qgis2kml plugin for qgis. Its not showing up in the Plugin Manager search and the only qgis "repositories" I can find are websites for downloading source code. Which is fine,...
2
votes
1answer
122 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. ...
1
vote
0answers
45 views

Display Dolfin XML in Web Browser?

I got a mesh as Dolfin XML and would like to know if there is anybody that had some experiences with the web visualisation of it. Is it possible to convert in X3D?
1
vote
3answers
588 views

Missing lxml in QGIS 2

I made a QGIS plugin in QGIS 1.8 doing a lot of XSLT transformation and other XML handling with the library lxml. After upgrading to QGIS 2.0 this plugin does not work anymore: "ImportError: No ...
1
vote
1answer
216 views

Can I specify an external WMS service with THREDDS?

I know that when you use THREDDS, you can specify the internal ncWMS-based WMS service thusly at the top of your catalog: <service name="wms" serviceType="WMS" base="/thredds/wms/"/> The only ...
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 ...
1
vote
0answers
77 views

OpenLayers2 - Get LayerName from GML Response object

I am using the WMGetFeatureInfo control in OpenLayers to select items from my layers and return GML. I use this to get an attribute from the GML; var val = evt.features[0].attributes.UID; //Where ...
1
vote
1answer
1k views

Editor to work on GML files

I am looking for a good way to work on GML files and would appreciate some personal experience. At the moment I am using nXML or SGML mode for Emacs but I wouldnt mind having an IDE/Emacs mode/... ...
1
vote
1answer
2k views

Expected DTD markup was not found

I am trying to upload an XML document using python and arcpy.MetadataImporter_conversion I keep getting an error: Expected DTD markup was not found. Line 1, position 3. Failed to execute (...
2
votes
1answer
2k 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 ...
0
votes
1answer
359 views

How to Import Metadata of feature classes with them into ArcSDE?

I have a database that has numerous feature classes of different types. None of these feature classes have metadata. I understand that when you import feature classes to a database, the metadata ...
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-...
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....
1
vote
0answers
277 views

XML Error with exporting table from polyline shapefile

I am trying to export a selection from an attribute table to an output and am enountering the following error (currently working in South America, so it's in Spanish, but it just says there is an ...
1
vote
1answer
608 views

In Arcpy, Erase function error: “XML being loaded could not be parsed”

A error in my previously-smooth-running arcpy script has me confounded. The error occurs where the script selects individual features in two different feature classes, and then performs an Erase ...
-1
votes
1answer
3k views

Error message - AdvanceToElement:unable to find xml element

How can I handle the below error when I'm trying to add an XML file into ArcGIS for Desktop using ArcCatalog. AdvanceToElement:Unable to find XML element (WorkspaceDefinition not found in XML doc) ...
0
votes
1answer
2k views

When I export shapefiles from ArcMap 10 there appears to be no xml file created?

When I create shapefiles in ArcMap, be it by selecting certain features from existing data or creating new polygons/points/lines, I look in My Computer and see a dbf prj sbn and sbx file. These ...
0
votes
1answer
2k views

java.lang.NullPointerException with GeoServer and Postgis

I am continuing work that another person began based on Geoserver and postgis. On the database level there are many tables and the layers are views based on these tables. That is working great! Now I ...
3
votes
1answer
548 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 ...
2
votes
1answer
1k views

Writing ISO 19139 compliant XML metadata from spreadsheet?

I am looking at a way to migrate the metadata from a spreadsheet into ISO 19139 compliant XML metadata documents for a collection of shapefiles. I can parse the data out of the spreadsheet into ...
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 ...
0
votes
1answer
67 views

A PROBLEM WITH XML Standard Layer Descriptor for GeoServer

I wrote an xml in Standard Layer Descriptor for GeoServer, with the objective to map a satellite image with discrete values. I wrote: < ColorMap type="intervals"> < ColorMapEntry color="#...
1
vote
2answers
6k 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 ...
1
vote
0answers
324 views

Extract tiff from WPS execute response

I am very new with OWS, specially WPS, and I am testing 52North WPS for a project. I have run the Sextante visibility process, which result format is a tiff image. The execute response starts as ...
1
vote
2answers
897 views

how to produce xml file in SLD to add discrete colors and color legend

I have to produce a xml file, according to Styled Layer Descriptor (SLD) (for more informations you can see: http://www.opengeospatial.org/standards/sld). The file is required by GeoServer and it has ...
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 "...
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
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 ...
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. ...