Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
17 views

Import a KML file into database using PHP [closed]

I have a .kml file looking like this ( Pastebin Link) <Document> <LookAt> <longitude>22.945861453195718</longitude> <latitude>40.619800375949914</...
0
votes
0answers
9 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
26 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()....
1
vote
0answers
14 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 raise the following error: Import xml data ...
0
votes
1answer
27 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 ...
0
votes
1answer
22 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 & ...
0
votes
1answer
174 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
38 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
1answer
49 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
2answers
72 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
151 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 ...
1
vote
1answer
49 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 ...
1
vote
1answer
94 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) ...
0
votes
0answers
81 views

Converting DXF/DWG/landXML to GeoTIFF?

I need to do a converion of surface for a large area from DXF (or landXML) with high resolution (0.3 feet grid spacing). Currently perform this with AutoCAD but it takes too much time (over 7 hours). ...
0
votes
0answers
17 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
114 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> <...
2
votes
1answer
363 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 ...
1
vote
1answer
97 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
0answers
57 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?...
0
votes
1answer
124 views

Creating an XML file using a Mapbox TMS

I'm looking for a way to display a Mapbox map in QGis in so it's recognized as a raster layer. I've already tried this, and I succeeded adding the TMS layer via TileLayer Plugin, using my mapbox url ...
-1
votes
2answers
45 views

Concise learning resourses for OGC Filters or Filter Encoding Standard (fes) [closed]

When I am doing HTTP GET requests to GeoServer it is fairly easy, but when I need to do http POST request I need to pass XML formatted parameters in the body and for filtering I need OGC filters and ...
1
vote
1answer
172 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 ...
1
vote
2answers
189 views

PostGIS - Need to convert Integer type X/Y coordinates to decimal lat/lon

I am working on a data warehouse project. I need to load a XML file information to our data warehouse. This file contains geographic information: <geocodificacio x="31008099" y="85478573"/> ...
2
votes
1answer
180 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
0answers
91 views

Batch converting GML/XML to Shapefile - Getting glitches

We have been using the bellow script for a few years to convert and combine GML data into new Shapefiles for each layer. 99% of the time it works fine, but we have run into the same glitch that is now ...
1
vote
0answers
38 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
2answers
90 views

Creating metadata with PostgreSQL for GeoNetwork?

I am using a function to create metadata with postgres for geonetwork. The goal of the function is to automatically create a metadata with basic information. Moreover, when the data is modified, the ...
0
votes
0answers
114 views

QGIS 3.0 import styles from XML commandline/python

Is it possible in QGIS 3.0 to import symbology from an XML/DB file using the commandline/batch file/sql query into the current profile used in QGIS? I can see the symbology is stored in SQLITE DB ...
0
votes
0answers
19 views

Adding labels to literals in XML filter function parameters?

I'm using XML filter functions like so in my XML: + <fes:PropertyIsEqualTo> + <fes:ValueReference>test</fes:ValueReference> + <fes:Function name="...
1
vote
1answer
45 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....
0
votes
0answers
61 views

Using WMSGetFeatureInfo() of OpenLayers in Firefox?

I'm trying to read features from the response of an AJAX request using new ol.format.WMSGetFeatureInfo().readFeatures(parameter).The response format is application/vnd.ogc.gml (XML). The thing is that ...
2
votes
1answer
600 views

How to add WMTS layer from GeoServer to a map without downloading the get capabilties xml file (in OpenLayers)?

I am new to web mapping and web in general. I'm adding the default WMTS Italy mosaic that can be found in GeoServer (nurc:mosaic) to my map by following these examples: http://openlayers.org/en/...
2
votes
0answers
311 views

Converting GeoJson/Shp to Iso-xml (ISOBUS ISO 11783-10) [closed]

How do I convert some geojson/shp files to ISOBUS iso-xml files, ISO 11783-10? I am having a hard time finding any information.
2
votes
1answer
262 views

Create folders to group KML Placemark in a big file

We have a huge KML file having Placemarks which contain SimpleData elements. We need to filter the elements for a value inside SimpleData and create a folder to group all the related Placemarks ...
0
votes
1answer
992 views

Add GML Layer in OpenLayers 4

I'm using OpenLayers 4 to build a web map. Now I'm trying to add a GML layer to the map but only one feature of the layer/GML is painted in the map. So I don't know what could be wrong. The way I am ...
0
votes
0answers
71 views

Python Console XML creation - Not releasing memory?

I have created a module to prepare an XML file. Since xml.etree does not output a pretty XML I use dom. ****Module:**** from xml.etree import ElementTree from xml.dom import minidom ...
1
vote
0answers
159 views

Importing 1000s of svg symbols into QGIS 2.18 [duplicate]

Does anyone know a way to import 1000s of svg symbols into QGIS without having to painstakingly click on every single XML file to import? I created SVG files (with xml) of all of the CAMUTCD sign ...
0
votes
1answer
173 views

OpenLayers 4 getFeatures

I've implemented the getFeature function in my OL4 as in the example: https://openlayers.org/en/latest/examples/getfeatureinfo-tile.html map.on('singleclick', function(evt) { document....
3
votes
1answer
93 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
108 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 ...
0
votes
2answers
621 views

How to construct a WFS 2.0 GetCapabilities XML request to Geoserver?

I am trying to use WFS 2.0 specifically because it supports temporal filtering. My GetCapabilities.xml file is <GetCapabilities version="2.0" service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:...
2
votes
1answer
336 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 ...
1
vote
2answers
557 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: ...
1
vote
1answer
41 views

OGC Filter Specification in Xpath

I've got some XML documents which conform to a known schema which include geometries in GML format. I'm looking to perform validation on the XML using XSD and Schematron, but I'll need some way of ...
1
vote
1answer
422 views

How to SortBy a GetFeature WFS request by FeatureId (fid) in XML?

This is my XML for a GetFeature request. I want to Sort By FeatureId (fid) but this doesn't work. I can't find an example of how to format this XML correctly: (SEE THE ogc:SortBy SECTION) <?xml ...
0
votes
0answers
95 views

Rotate OnlineResource in SLD for GeoServer

How can I rotate an OnlineResource (Raster image fill that can't be auto-generated by QGIS)? I tried: this answer and also just to write a "Rotate" tag everywhere, it didn't do the job. Edit: I'm ...
0
votes
1answer
334 views

Generate HTML/XML file in QGIS

I'm looking for best practices (plugins, procedures...) in QGIS to generate an HTML document (which later on can be finalized in MS Word) in which the result of spatial queries can be documented. An ...
2
votes
2answers
69 views

Can I reference a way (street) in a node (representing a shop)?

I was inspecting OSM wiki and some of dumps and I have a question now - suppose I want to add a node representing some shop to a particular street. Do I have to specify addr:street in that node? I see ...
1
vote
1answer
84 views

Merging XML files [closed]

I am doing research about the city of Hamburg and I downloaded a dataset containing georeferenced point data of every house in Hamburg. The problem is that the dataset is made up of about 250 ...
2
votes
1answer
191 views

Import Microstation geometry to ArcGIS 10

I have geometry alignments of land parcels defined in MicroStation InRoads V8i. Instead of using the dgn files I want to use the geometry files. I have ArcGIS 10 Desktop advanced license with Data ...