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

87 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
151 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
152 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
32 views

Retaining Bounding Box after Fishnet Clip

I have a large image that contains around 7000 trees. I created a bounding box around each one of them and then saved it as a .xml file. I would now like to create different fishnet sizes and clip ...
3
votes
0answers
389 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
562 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
130 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 ...
3
votes
0answers
650 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
69 views

Using Pygrass Functions in Jupyter gives XML Error

I have been trying to use pygrass from grass78 with Python 3.7 inside a Jupyter notebook and have run into an issue where I can import grass modules, but cannot call any pygrass functions, e.g, r....
2
votes
0answers
58 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
1answer
2k 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
124 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?...
2
votes
0answers
96 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
96 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 ...
2
votes
0answers
710 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
1answer
2k views

Converting XML to polyline shapefile?

I want to 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 ...
2
votes
0answers
178 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
256 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
249 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
107 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
80 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
447 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
27 views

FME Reading SLD problems

I am trying to parse an SLD file (which is XML) and generate a CSV output based on the rules within it. The following is a sample of the SLD structure <?xml version="1.0" encoding="...
1
vote
1answer
67 views

ArcGIS Pro metadata: XML export will not retain field information

software: ArcGIS Pro 2.6.3 (2.8 attempted) I am working with exporting metadata as an XML (Export on the Metadata catalog tab), from an enterprise geodatabase feature class. All necessary fields for ...
1
vote
1answer
149 views

Python GDAL: Convert JPEG to GeoTIFF, given location information

In a similar question, I read that one can create a GeoTIFF image from a JPEG using the Python GDAL API. I created a small example here: def translateIMG(path_in, path_out, in_format = "GTiff&...
1
vote
2answers
146 views

Transforming QML/SLD in XML with QGIS

I have a bunch of .qml and .sld files. I want to convert them to .xml, but I still haven't found a proper way to do it. Does anyone know any plugin or website that I can do this conversion?
1
vote
0answers
31 views

How to create WMS using mapproxy with Mapnik XML file as input?

I have Mapnik generated XML file for mapproxy input, but I didn't understand how to manage this into mapproxy. I want to create WMS using mapproxy with Mapnik XML file input. My XML file: myxml_mapnik....
1
vote
0answers
102 views

GeoServer REST WorkspacesAPI.postWorkspaces call by a Swagger client fails: "CannotResolveClassException: name". Unexpected JSON content received

Using GeoServer 2.18.2 REST API by a Swagger Java client generated from workspaces.yaml (taken from documentation page), I attempted to create a workspace through this small test code, under Spring ...
1
vote
0answers
28 views

Search for the syntax to display an HTML link in an OpenLayers popup

I use a code found on the site : http://www.untourenvelo.ch/Carte_Plein_Ecran.html . It uses the Api Openlayers 2.13.1 . In the development of this website it is possible to display GPX data that are ...
1
vote
0answers
387 views

Sending GetFeature request to GeoServer WFS using POST starting from a JSON like data object

Looking at this older question, I'd like to know if it is possible to make a POST request to retrieve features from a GeoServer WFS starting from a JSON data object. I have this data object which I'd ...
1
vote
0answers
38 views

How to link up my GeoServer layers with my standalone geowebcache instance

How do I get my GeoServer layers show up on the demo page of gwc. Do I have to edit the config XML manually for each layer?
1
vote
0answers
181 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
112 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
0answers
52 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
110 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
161 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
0answers
36 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
1answer
194 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 ...
1
vote
0answers
821 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
132 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
0answers
244 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
57 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
82 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
2k 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
41 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
224 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
606 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
240 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
263 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
304 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 ...