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
0
votes
1answer
43 views

QGIS 3.4. project file editing

How can I edit a QGIS project file so that it would open, save and edit data from given folder and save the results for different directory? Kind of like MapInfo's Wor. file. I read from QGIS ...
0
votes
1answer
42 views

Automating ArcFM XML Export/Import

I am trying to write a script (any) that will go to ArcCatalog and then to a database and then to ArcFM XML Export to export the dataset in XML.
0
votes
0answers
14 views

Using FGDC Geospatial data model to generate feature classes?

On the Federal Geographic Data Committee website, there is a series of XML files containing their data model. apparently some of it can be used to generate an ArcGIS geodatabase and features classes ...
0
votes
1answer
21 views

Clarifying feature references in WFS?

I want to clarify something about feature references in WFS 2.0 standard (OGC 09-025r1 document) Do I understand correctly, that "resolve feature reference" means "get (remote or local) feature by ...
0
votes
1answer
35 views

XML Filter Expression for WFS download using Interoperability Connection Extension in ArcGIS Desktop

I need to download features from this WFS but there are too many features for the server to handle my request. So I thought I should filter my request using the XML Filter Expression Editor. However I ...
1
vote
0answers
37 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
22 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
0answers
23 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
19 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 ...
0
votes
1answer
23 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
85 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
18 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 ...
0
votes
0answers
44 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 ...
1
vote
2answers
173 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 ...
2
votes
0answers
27 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
51 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
115 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. ...
0
votes
1answer
20 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 ...
0
votes
0answers
53 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
90 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,...
2
votes
2answers
2k 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 ...
0
votes
0answers
32 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
139 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()....
2
votes
0answers
56 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
115 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
62 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
566 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
117 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
100 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
369 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
512 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
74 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 ...
2
votes
1answer
197 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....
1
vote
1answer
158 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
51 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
401 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
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 ...
1
vote
1answer
197 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
86 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
234 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 ...
0
votes
2answers
108 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
2answers
328 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
428 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
310 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....
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
2answers
145 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 ...
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....
0
votes
0answers
109 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
1k 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
581 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.