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
1
vote
0answers
28 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 ...
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:...
1
vote
1answer
91 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
15 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 ...
0
votes
1answer
474 views

Loading Markers via XML and adding Infobox using Google Maps API V3?

I'm having a couple of issues that I can't seem to resolve so I'm going to throw this out there to the community. I'm trying to create a Google Map that loads markers based off an existing XML file (...
1
vote
1answer
127 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 ...
2
votes
2answers
477 views

.xml missing in shapefile, problems with displaying in arcgis

This morning when I opened my .mxd (ArcGIS version 10.2.2) several shapefiles were not showing in the data view window or selectable. Zoom to layer also did not work. The attributes of the shapefile ...
0
votes
0answers
11 views

Seeking ISO 19131 DPS XML Schema File?

Does an implementation of ISO 19131 (Data Product Specification) as an XML Schema File (XSD) exist, or anything that can help regarding XML and 19131?
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
47 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 ...
0
votes
1answer
15 views

Geonetwork overlapping labels

the labels in GeoNetwork are defined as: <element name="gmd:codeSpace" context="gmd:RD_Identifier"> <label>Namespace</label> </element> but the problem is we also have a ...
7
votes
4answers
992 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 ...
1
vote
2answers
113 views

Python toolbox documentation from within pyt file

Python toolboxes are a great way to create custom, GUI toolboxes for ArcGIS without actually interacting with the GUI (since everything can be defined within the pyt file). Regrettably (and ...
0
votes
1answer
19 views

GeoNetwork multilingual entries on custom entry fields

We need the conformity pass to have three states, conformant(bool true), not conformant (bool false) and not evaluated (bool nil-reason). For this purpose we made the entry field for the conformity ...
2
votes
1answer
54 views

GeoServer SLD applying two styles for one layer

How can I apply two styles (NamedStyle and UserStyle). When executing a query, only the top one is applied. How can I apply both styles? This sld_body: <?xml version="1.0" encoding="UTF-8"?>...
0
votes
0answers
15 views

XML to TIFF raster and zonal statistics in QGIS

I was sent several XML files of a flood model's peak extent that works fine in ArcGIS, I need to use zonal statistics, and I don't have that available in my workplace's ArcGIS subscription, so I need ...
3
votes
1answer
781 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 ...
0
votes
0answers
29 views

SUMO Network to QGIS

I'm trying to import an XML network into QGIS which I got from using SUMO's OSM Web Wizard tool. The process that I'm looking to follow is documented here under the "(Q)GIS" section. The following ...
0
votes
1answer
88 views

HALE: GML validation errors

I try to export a GML file from HALE editor but the validation has always errors with this text: The value '' of attribute 'gml:id' on element 'ps:ProtectedSite' is not valid with respect to its ...
2
votes
0answers
25 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 ...
1
vote
0answers
32 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 ...
3
votes
3answers
94 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. ...
1
vote
1answer
47 views

OpenTripPlanner API Elevation values unclear

I'm using the OpenTripPlanner Planner API to find directions. The API returns XML with the geometry of the line (2D) and the elevation data separately, for example The 2D line geometry is as ...
0
votes
1answer
18 views

Vender 0ption autoWrap is not working Geo Server 2.10.1

I have added a vender option of code for autoWrap to my xml and it does not seem to be working. I have used multiple different pixel lengths to see if I could see the update but I have not been able ...
2
votes
2answers
408 views

Creating a Geoserver App-Schema mapping file for GeodesyML

EDIT: This appears to be a version dependent issue! When I posted the question I was using Geoserver 2.11.1. I upgraded to the 2.12 nightly SNAPSHOT and I can now general GeodesyML output. The problem ...
2
votes
1answer
169 views

WMTS is working with 256x256 tiles, but not with 512x512?

I'm working on using imagery from a web map tile service which I've cached locally as a gdal dataset. I have both 256x256 tiles and 512x512 tiles; the latter are the "retina" versions of the former; i....
2
votes
1answer
59 views

XML Document points to wrong location after using arcpy.BatchProject()

I'm trying to reproject a number of shapefiles representing contours from NAD_83_Albers to NAD_83_UTM_Zone_9N using arcpy.BatchProject(), but I have to use python/regex to preserve a particular file ...
1
vote
1answer
432 views

Using Python to create xml metadata files for different file types

I have a folder with 3 subfolder, each having a different type of data. Folder_A and Folder_B have standard shapefiles (about 3 shapefiles in each folder). Folder_C has .tif grid files (about 100). I ...
0
votes
0answers
45 views

Vector data - .xml to CAD conversion

I have .xml file which involves geometry data I would like to convert into .dwg/.dgn/.shp file. File is written in Danish and I am not sure if that can be a problem. I am trying to use FME software ...
3
votes
0answers
68 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,...
0
votes
1answer
95 views

Edit and transform XML/GML files

I'm searching for an approach as someone who just started to work with geodata recently. It's about the following situation: I received several XML files. I need to perform a geometric difference ...
2
votes
2answers
1k 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 ...
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 ...
1
vote
2answers
288 views

Connect to a specific WMS layer in QGIS (using Python or XML)

I would like to create a short list of useful WMS layers for non-GIS specialists colleagues. The idea is to give them a document allowing them to configure their connections easily - either a XML that ...
0
votes
0answers
26 views

Interpretation of digital surface model (DSM) built from s2p tool and XML file

I am new to GIS. I am using s2p stereo pipeline to build Digital Surface Model (DSM.tif) from it. The height of certain point in this DSM.tif is 84 meters, and you can see from the color bar on ...
1
vote
1answer
170 views

Match to symbols from file in QGIS 2.18

I have a map where each feature of a polygon shapefile will be filled with a different image. I have those images stored as PNG files. In my shapefile, each feature has a name which is the same as its ...
1
vote
1answer
117 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()....
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 ...
2
votes
1answer
274 views

Read an XML file generated by WFS

I want to read variables from an XML file generated by a WFS. I do this with WMS but I didn't find the equivalent of it in case of using WFS. Do you have any idea ? here is my code : ol.control....
0
votes
1answer
51 views

Geoserver GetCapabilites XML error

I have a Geoserver (version 2.5.1) with layers that are assigned to specific users and groups which has been working very well for quite a while. Operationally very little has changed. New users & ...
1
vote
1answer
90 views

Exporting only some feature classes to XML using ArcPy?

Is it possible to only export only some feature classes when exporting a workspace to an XML document? I know that when I am in ArcCatalog, I can right click my database --> Export XML Workspace ...
1
vote
2answers
836 views

Geoserver WMS XML Error

I am trying to load WMS layer from geoserver in QGIS. The Error in QGIS is : Failed to Download Capabilities Download of Capabilities failed: Connection Refused So I went and found this question: ...
2
votes
3answers
716 views

Reading XML file in FME?

I want the below xml file to be read by fme. I tried reading documents and seeing videos. This xml looks more complicated. http://pastebin.com/pXmjwEqW <InspectObjects> <Object id="197589"...
1
vote
2answers
313 views

I have a very big KML file, I want to remove all the placemarks from it

I want to remove all the Placemarks that has a name, and keep the lines which is between , as the performance of the file is awful I've tried to do it using Notepad++ Replace function using the below ...
1
vote
1answer
140 views

Transform complex features into simple features GML with HALE

Background information: I'm working with complex GML features and would like to publish my data as a WFS service through GeoServer. I know there is already the application schema support (app-schema) ...
1
vote
1answer
70 views

Python Toolbox keep xml meta data formatted for version control

Is there a way to keep Python Toolboxes metadata formatted nicely for version control? I use git to maintain my Python Toolboxes and when I make edits to the toolbox the metadata is updated and put ...
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
0
votes
1answer
328 views

Updating multiple attribute fields in metadata XML with ArcPy? [closed]

Updating multiple field attributes through Python in an XML metadata doc export. There are multiple fields, so the XML tags for each unique field are all the same: <attr> <...
1
vote
0answers
46 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
1answer
55 views

Adding “cacheControlMaxAge” parameter into sddraft

I would like adding a new parameter into my sddraft, the value of "cacheControlMaxAge". For this, I have the following code that modifies the value of already existing parameters : import xml.dom....