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
1answer
19 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
32 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
35 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
58 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 ...
0
votes
0answers
55 views

Converting arc degrees to meters (importing in Global Mapper)

My aim is to export a binary terrain file and matching raster image png file of a certain area in Japan, using 5m DEM XML files from Japan's Geospatial Authority (https://fgd.gsi.go.jp/download/menu....
1
vote
1answer
56 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
48 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
73 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
54 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
15 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
71 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
213 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
66 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
45 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
97 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
34 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
118 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
155 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
135 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
49 views

Batch converting GML/XML to Shape - Getting glitches

We have been using the bellow script for a few years to convert and combine GML data into new Shape-files for each layer. 99% of the timme it works fine, but we have run into the same glitch that is ...
1
vote
0answers
37 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
78 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
68 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
18 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
41 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
46 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
521 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
269 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
224 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
667 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
61 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
130 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
124 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
84 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 ...
2
votes
1answer
92 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
0answers
42 views

Imported symbol in QGis changes color when exporting to pdf or printing

I have imported some svg symbols in QGis, which from then i can use those normally, but there is a problem while exporting those, they get grey, this happens when exporting in pdf or printing. This ...
0
votes
2answers
515 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
308 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
469 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: ...
0
votes
1answer
34 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
345 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
79 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
247 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
63 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
70 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
162 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 ...
1
vote
1answer
425 views

Problem getting map using XML file with gdal_translate

The gdal_translate program has an option to define an XML file with the necessary information to download an image using various web map server specifications. For some reason, the gdal_translate/XML ...
2
votes
0answers
69 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:...
2
votes
2answers
253 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
0answers
65 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 ...