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

90 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
193 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:...
medley56's user avatar
  • 365
5 votes
0 answers
216 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 ...
TobsenB's user avatar
  • 902
4 votes
0 answers
919 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,...
Fikusas's user avatar
  • 41
3 votes
0 answers
63 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 ...
Binx's user avatar
  • 1,290
3 votes
0 answers
873 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 ...
Ralu Bur's user avatar
  • 573
3 votes
0 answers
146 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 ...
kaycee's user avatar
  • 465
3 votes
0 answers
136 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 ...
abu's user avatar
  • 219
3 votes
0 answers
800 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 ...
Zertrin's user avatar
  • 176
3 votes
0 answers
227 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 ...
BDD's user avatar
  • 651
2 votes
1 answer
1k 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 ...
umbe1987's user avatar
  • 3,767
2 votes
0 answers
83 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....
SolarJoe's user avatar
2 votes
0 answers
102 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 ...
AuroraKing's user avatar
2 votes
1 answer
3k 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 ...
student's user avatar
  • 21
2 votes
0 answers
190 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?...
raido's user avatar
  • 21
2 votes
0 answers
139 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 ...
Don's user avatar
  • 785
2 votes
1 answer
295 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 ...
mrbandy's user avatar
  • 391
2 votes
0 answers
819 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 ...
Moreau Colin's user avatar
2 votes
0 answers
286 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 ...
Ben_P's user avatar
  • 21
2 votes
0 answers
296 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 ...
wilbev's user avatar
  • 1,709
2 votes
0 answers
108 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\...
BBG_GIS's user avatar
  • 5,825
2 votes
0 answers
84 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 ...
Dror Har Gil's user avatar
  • 2,524
2 votes
0 answers
458 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 ...
com's user avatar
  • 3,654
2 votes
0 answers
219 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 ...
Nightvein's user avatar
  • 145
2 votes
1 answer
3k 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 ...
Wissam Jeddi's user avatar
1 vote
1 answer
61 views

WMS XML file does not have "contents" tag

I'm trying to use WMSLayer (https://developers.arcgis.com/javascript/3/jsapi/wmslayer-amd.html) to create a layer from a WMS file. However, the class makes a call to https://www.geoservicos.ide.df.gov....
Marco Antônio de Lima Costa's user avatar
1 vote
0 answers
128 views

How to retain the metadata information on clipped satellite image in QGIS

I am new to QGIS. I am working with some satellite images XML format and processing in QGIS. I would like to retain the information of metadata of original images after clipping . The clipped images ...
Duc Thao's user avatar
1 vote
0 answers
153 views

Create a GML with OpenLayers

i would like to create a GML after finishing drawing: import GML3 from 'ol/format/GML3'; this.draw_add.on('drawend', function (this: any, e: any) { this.myFeature = e.feature; ...
work's user avatar
  • 73
1 vote
0 answers
66 views

Extracting useful data from ArcGIS Pro results output xml

I have a very large iterative operation in ArcGIS Pro that takes days, or weeks to complete. I have to run it on 20 regional datasets for England and Wales. For a small dataset, like Bedfordshire, it ...
Bruce Mitchell's user avatar
1 vote
0 answers
75 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="...
tjmgis's user avatar
  • 3,300
1 vote
1 answer
1k 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&...
Manuel Popp's user avatar
1 vote
0 answers
109 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....
Ayush's user avatar
  • 41
1 vote
0 answers
248 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 ...
Marc Le Bihan's user avatar
1 vote
2 answers
434 views

Error when I try insert a simple point into a geoserver point layer with wfs-t

I try insert a simple point into a geoserver point layer the commands are: var config = { headers: { 'Content-Type': 'text/xml', 'type': 'POST', 'dataType': 'xml', '...
jcortega's user avatar
1 vote
0 answers
107 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 ...
Manard82's user avatar
  • 175
1 vote
0 answers
80 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?
Gent's user avatar
  • 11
1 vote
0 answers
2k views

Import XML in QGIS

I have an XML file that contains the following text, that I want to import in QGIS: <bgeom>AAAAAAMAAAABAAAABkEVkXO2K2roQVDSURW3F1lBFZG96URnOEFQ0lA6MfihQRWRv0/...
Karasoulas Michalis's user avatar
1 vote
0 answers
228 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 ...
Marty Rocks's user avatar
1 vote
0 answers
166 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 ...
Shehab's user avatar
  • 11
1 vote
0 answers
58 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"...
Nicolas Roelandt's user avatar
1 vote
0 answers
443 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 ...
Yoav Abadi's user avatar
1 vote
0 answers
113 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 ...
Mehmud's user avatar
  • 591
1 vote
0 answers
260 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 ...
Reiion's user avatar
  • 197
1 vote
0 answers
43 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 ...
geoJshaun's user avatar
  • 1,525
1 vote
0 answers
950 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. ...
W. Tom's user avatar
  • 668
1 vote
0 answers
148 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 ....
monruw's user avatar
  • 747
1 vote
0 answers
318 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 ...
asher's user avatar
  • 43
1 vote
0 answers
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 ...
Magda's user avatar
  • 517
1 vote
0 answers
84 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 ...
mjacke's user avatar
  • 11
1 vote
0 answers
3k 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 ...
Alex92's user avatar
  • 461
1 vote
0 answers
45 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 ...
Robyn's user avatar
  • 11