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

67 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
113 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
97 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 ...
3
votes
0answers
78 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,...
3
votes
0answers
266 views

GeoServer creates thousands of .tmp files

I noticed that I currently have 34736 .tmp files in GEOSERVER_ROOT/data directory along with the usual files and directories. From what it seems, these files are copies of the global.xml file, as ...
3
votes
0answers
401 views

ogr2ogr imports GML data (not from OSM) to Postgis but without the other_tags “hstore”-column

The problem I'm encountering some issue trying to use ogr2ogr to import some GML input data (not OSM) into Postgres. I'm trying to use COLUMN_TYPES=other_tags=hstore to store all the fields not ...
2
votes
0answers
26 views

ArcCatalog metadata XML importing errors

I am trying to add metadata to some layers within ArcCatalog and I don't understand the error messages it is giving me or why there would be an error. When I try to import my metadata XML it completes ...
2
votes
0answers
52 views

ArcMap Import XML That Is Exported From Enterprise Architect 13

I have successfully exported XML from Enterprise Architect 13 ArcGIS workspace as ArcGIS XML Type. But when I import this xml as schema only in ArcMap, it raises the following error: Import xml data ...
2
votes
1answer
1k views

Openstreetmap to Opendrive map format

I am trying to generate opendrive (xodr) files from the openstreetmap data. Openstreetmap provides nodes and ways. In opendrive i need to compute the length of roads, heading angle, inertial x and y ...
2
votes
0answers
84 views

How to generate a single kml file for each feature in a kml file?

I have a kml file containing features that I would like to parse out into separate kml files for each feature/header. I'm hoping there is an easy way to do this using geojson.io or QGIS. How can I ...
2
votes
0answers
89 views

Combining multiple custom QGIS plugins into one plugin?

I have built multiple individual QGIS plugins for my team using the QGIS Python plugin builder. Actually, my plugins are hosted on a private repository I made and the users can install them ...
2
votes
0answers
500 views

How to export a training shapefile as an XML spectral signature file via QGIS?

I recently used the answer from Using Orfeo Toolbox object based classification in QGIS tutorial/workflow? to perform an object base segmentation on a SPOT image I acquired a while ago. I tried both ...
2
votes
0answers
131 views

Is there a way to re-order how layers render in Mapnik?

I'm creating Mapnik stylesheets and I am trying to edit the order layers are rendered. I tried just moving the XML code, but that didn't seem to work. Are there specific steps to make some features ...
2
votes
0answers
238 views

How to import and display a road network in XML to ArcGis?

I am trying to convert xml data to shapefile features using ArcGis 10.1. Im using the open source SUMO traffic simulation software. Part of the model process is to convert OpenStreetMap road network ...
2
votes
0answers
210 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 ...
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 ...
2
votes
0answers
434 views

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

I have built 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 ...
2
votes
0answers
211 views

How exactly is an SLD_body object (when extracted from its XML href) structured when using a cElementTree to parse it?

I'm trying to export data from a PostGIS database into a geoserver and I've gotten it to where I can get the PostGIS database to point to the geoserver (I'm doing this as a python script for a GIS ...
1
vote
0answers
33 views

Pre-loading features in QGIS from geodatabase via XML file

The background: I've inherited a pretty handy plugin for QGIS and an associated an XML file. The plugin (among other things) when installed, will ensure that each instance of QGIS that you open has a ...
1
vote
0answers
20 views

Using XSLT conversions in GeoNetwork to add XML nodes to metadata record during import

I want to use "Apply XSLT converison" option in GeoNetwork when importing new records to add new XML snippet to my metadata record. I need to add aditional XML content (gmd:identifier) to the ...
1
vote
0answers
45 views

Serializing and Deserializing Elements using ArcObjects C#

I am using the XMLSerializerClass of the Arcobjects SDK to serialize graphic elements of page layout into XML then saving the XML string to the database. My issue is that when serializing graphics ...
1
vote
1answer
96 views

Google Streets XML as raster layer

I found Why are the Google basemaps no longer appearing in QGIS? which explains a simple method to reach the google tile server and get the Google Physical tiles. Has anyone a similar code with which ...
1
vote
0answers
80 views

Transform GML to Geometry (PostGIS) in GeoKettle

How can I transform GML (saved in XML file) to Geometry type? I've noticed function 'Geometry from GML' in Calculator but it needs string value with GML. Is there any way to extract it from XML file?...
1
vote
0answers
48 views

Different behaviour between imported and harvested records in GeoNetwork 3.4.0

I'm working on Geonetwork 3.4.0 and I have some metadata files generated with ArcGIS 10.5. The XML files are stored into a folder that I would like to harvest, but when harvesting, it says "badFormat"...
1
vote
0answers
100 views

Rearranging a list of coordinates within a list of pair simultaneously while running a php code

The question is related to rearranging a list of coordinates within list of pair while running a php code simultaneously. I am new with php language and managed somehow to parse a kml file in php. The ...
1
vote
0answers
129 views

Automate snapping GeoJSON data on OpenStreetMap with their road XML file?

I currently have Route data in GTFS that I converted to GeoJSON format and stored in MongoDB. However, even the GTFS provided have still some shapefiles missing therefore a lot are still hovering over ...
1
vote
1answer
130 views

Error updating firstChild.data when updating WebCapabilities

I'm trying to update the WebCapabilties to allow uploads for a service definition. I've followed the instructions from ESRI's website, but when I try to set the keyValue.nextSibling.firstChild.data ...
1
vote
0answers
29 views

Can auto fields be added to existing address locator schemas?

There is a type of address locator that comes as part of RouteSmart for ArcGIS plug in. When this address locator is used to geocode it gives a match status field and a street ID field. Is it possible ...
1
vote
0answers
470 views

Problem with dicttoxml module import

I have python 2.7 and I have just installed (via pip) a module named 'dicttoxml'. This module should work with 2.6+ python version. I am importing it to my *.py file and using it in my plugin code. ...
1
vote
0answers
77 views

is there any online WFS gazeteer client which runs on my web browser or exposes http requests?

My question is somehow similar to this other thread, but in my case I want to test a WFS service: Is there a web page where I can test a WMS URL? I look for an online service which lets me add the ...
1
vote
0answers
120 views

QGIS OBIA join attributes by location xml file

I was trying to follow this tutorial for object base classification However, when I reach this step, it becomes confusing. I run the join attributes by location just as it said, and the output are ....
1
vote
1answer
1k views

Converting an XML to Shapefile polyline?

I want convert this XML file to a polyline shapefile. <?xml version="1.0" encoding="utf-8" standalone="yes"?> <ci nc="BMSKDMA10" nl="BMskDMA10" mt="6" ct="DM" dtt="17342" dtu="15/01/2016 09:...
1
vote
0answers
173 views

connecting ecw to its projection and grid data in an xml file

I'm new to mapping please go easy on me:) I have a bunch of ecw files with 2 xml file one is a file ending with *.ecw.xml and one with *.ecw.aux.xml I am trying to load the ecw files into ...
1
vote
0answers
51 views

Export Symbolised Point Feature to Text File in ArcGIS

Is there a way to save symbols of a feature class from Arc Map as XML or text file format? I know one can set up representations on a feature class in a Geoodatabase and Export XML Workspace, but I ...
1
vote
0answers
77 views

Activate tracking for ArcGIS Online with python

It is possible to update data in ArcGIS Online by python-script: http://blogs.esri.com/esri/arcgis/2014/01/24/updating-your-hosted-feature-service-for-10-2/ Configuration is done by changing the ...
1
vote
0answers
710 views

WMS layer throws “IReadBlock failed at X offset 0, Y offset 1” error. Possible XML issues

I am working with a few WMS layers to try and see which one would work best with an application I'm developing out of QGIS 2.8. I need the CRS to be in EPSG 4326 but, as many of you know, most webmaps ...
1
vote
0answers
39 views

ArcSDE Enterprise Geodatabase - XML and Tolerance Issue

I set up an ArcSDE Enterprise Geodatabase in SQL Server 2012. I imported the XML file from the Utility and Pipeline Data Model without any modifications. I am now running into an issue: the XY ...
1
vote
0answers
179 views

Importing XML workspace file without losing z and m parameters?

I am attempting to import an XML Workspace document (database schema) from a file geodatabase into an SDE geodatabase sitting on top of Postgres. The steps I am taking are: In ArcCatalog - right-...
1
vote
0answers
570 views

How do I extract only the visible placemarks from a KML?

I've been given a KML file containing over 1000 placemarks, a small subset of which were selected by a user in Google Earth and made visible (by checking the checkbox next to the feature name). I've ...
1
vote
0answers
179 views

Update a WMS Connection list automatically

I'm working on QGIS 2.8 Is it possible to automatically update an XML document containing a list of WMS connection and if that file can automatically follow my QGIS project file For example, if I ...
1
vote
0answers
198 views

Disabling XML schema when using GML3 decodeFeatureCollection in GeoTools

I wrote some code based on http://docs.geotools.org/stable/userguide/library/xml/geometry.html#id6 GML gml = new GML(Version.GML3); try { InputStream in = new FileInputStream("file.gml"); ...
1
vote
0answers
257 views

Adding GeoRSS feed as point layer using OpenLayers?

There may be a simple answer, but I have been looking on the internet for answers and trying different things. I want to display this RSS feed as a point layer in OpenLayers 2.11. Can anyone please ...
1
vote
0answers
299 views

How to create feature type from xml attribute value?

Here is a sample from an xml child element: <element> <aspects> <a id="1" l="de" v="Grundlose Kuhle"/> <a id="2" p="6" code="7"/> <a id="3" p="12" code="6"/> <a id="5"...
1
vote
0answers
874 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
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 ...
1
vote
0answers
136 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
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
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
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 ...