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
2
votes
1answer
312 views

Reading an ESRI XML Workspace Document with python or other FOSS

I've recently run into data in "ESRI XML Workspace Format," I have never run into this format before, and can't find any reference to using it with FOSS tools, or any documentation on the format the ...
0
votes
1answer
52 views

Export shapefile script only works every other time, other times only exports XML

I am working on a simple python script that will check for the existence of a shapefile, remove that shapefile if it is found, then export an SDE feature class to a shapefile. The reason for doing it ...
2
votes
2answers
268 views

Is there an agreed standard to associate a time stamp with a Shapefile?

There are many reasons one might like to store temporal information in association with a shapefile. In my case I want a manually accessible timestamp so I can request temporally relative updates to a ...
2
votes
1answer
635 views

Editing ArcGIS metadata elements using Python?

I have a shapefile with an xml metadata file. Most of the elements are pre-populated using the previous editions xml file. However, I am trying to automatically update the current edition within a ...
1
vote
1answer
304 views

WFS GetCapabilities in human readable format?

I've got that impressions that GetCapabilites is essential part of machine to machine data interchange. However, I also feel that the returned XML includes information that should be presented in ...
0
votes
1answer
650 views

How to work with SHP+XML and several DBF+XML datasets

I've downloaded some data sets (from http://sis.agr.gc.ca/cansis/nsdb/dss/v3/index.html) that each contain: Shapefiles (SHP, DBF, SHX) XML files associated with the SHP DBF files of metadata XML ...
0
votes
2answers
917 views

Multiple layers within a single geojson file

To give some background, I'm working on a project that has quite a few restrictions given the environment it will run in. I need to be able to view and interact with geospatial data, perform ...
0
votes
1answer
88 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
1answer
468 views

How to read the bounding box of an osm file without loading it?

I noticed a pattern in .osm files : the third line tends to be its bounding box. Typically, the xml element that contains the bbox is called bounds. I'd like to read this element without loading the ...
2
votes
1answer
380 views

Loading a large osm file in osmar : why does loading time scale quadratically with file size?

I'm trying to load huge .osm files into R in order to run advanced analysis. I did not expect the loading part to be complex, but it proved difficult. The issue here is that the time it takes to ...
1
vote
1answer
5k views

Converting xml -> dict -> xml using Python? [closed]

I want to convert xml (qml) file to dictionary, then convert this dictionary to new xml. (Also want to edit something, but first lets just convert it in both way without it.) I'm using xmltodict ...
1
vote
0answers
452 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. ...
2
votes
1answer
42 views

Adding nodes to sddraft using minidom

I want to add this extension to an sddraft using minidom and can't figure out how to do it. Some help would be great. To start with I'd like to find out how to add the first node SVCExtension xsi:...
1
vote
0answers
76 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 ...
1
vote
1answer
268 views

Openlayers 3 GPX Shape issue

I've been working to incorporate GPX file handling within my application with a pretty good degree of success but have just encountered an issue which I don't know how to solve. When drag/dropping a ...
12
votes
2answers
382 views

Customizing ISO 19139 metadata profile in ArcCatalog?

I'm using the ISO 19115/19139 metadata standard, and I need to convert some optional elements into mandatory elements. Is it possible to achieve this using ArcCatalog as the metadata editor? About ...
1
vote
1answer
1k views

Python Gdal write virtual raster

Is there a python module to create Virtual Raster (.vrt) xml files? Rather than writing text strings to a file, I'd like to know if there is an automated way to do this.
1
vote
0answers
128 views

Nightly backup using Import XML Document arcpy ERROR 000791 [closed]

I'm having some trouble using arcpy.ImportXMLWorkspaceDocument_management to import an XML document into a file geodatabase for a nightly backup routine. The code for the import is as follows: try: ...
2
votes
0answers
495 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 ...
0
votes
1answer
180 views

Wrong typeName generated by wfs-t update request in xml

I am editing features on a map using Openlayers 3 and Geoserver 2.8 linked to a postgresql Database. for adding features there is no problem but when it comes to update features I get a wrong xml code ...
1
vote
1answer
144 views

Create additional 'fields' in GDB domain system table (GDB_items)?

Is it possible to create additional 'fields' in the geodatabase domain system table (GDB_items) in SDE 10.3/Oracle? It would be handy to store additional information in domains. For example: CODE [...
-3
votes
1answer
119 views

XML data to ArcGIS [closed]

I have a question about an XML file that I want to import into ArcGIS. https://metadata.agiv.be/zoekdienst/apps/tabsearch/?uuid=538c1efa-c754-4cbc-ac2d-d81e6d929807 I have no idea how to do that, ...
1
vote
1answer
85 views

Storing GML Polygon in PostGIS 2, ERROR: unknown spatial reference system

I am receiving GML as part of a larger XML message. When I receive the XML it is unmarshalled to Java objects. I have no rights to alter the schemas or the generated Java code. Therefore, I later have ...
5
votes
1answer
6k views

Import PNG symbols in QGIS

I would like to upload some symbols into QGIS using version 2.14 (Essen). I would like to upload a PNG but it seems the only format available is XML. Do you know if its possible to upload PNG's ...
5
votes
1answer
26k views

Importing XML data into QGIS

I've got a problem importing XML data in QGIS Wein. I've exported the XML data from an interactive PDF map viewed in Adobe Acrobat Pro DC. When I try to import the XML file into QGIS using the ...
1
vote
1answer
910 views

How to load a .osm file as a basemap tiles in openlayers 3? [duplicate]

I am working on an app that needs to be used offline so I have downloaded a map in an .osm file, I need to load it as a basemap. I did some research and found this code I used but it shows the map as ...
2
votes
1answer
172 views

Importing South African NGI OSM imagery xml file now unsupported by QGIS

Here in South Africa, at our very small company, we often make use of this simple xml file (downloadable from http://aerial.openstreetmap.org.za/aerial-osm-org-za-tiles.xml) to link to this imagery: ...
0
votes
1answer
73 views

OpenLayers3 WFS custom schema

I'm having some trouble parsing the following WFS response into a feature: <?xml version="1.0" encoding="UTF-8"?> <wfs:FeatureCollection numberOfFeatures="1355" xsi:schemaLocation="http://...
3
votes
1answer
1k views

How to save in a given XML schema in QGIS?

Related to this closed question: https://gis.stackexchange.com/q/184033/64092, I'd like to know if there is a way to save data in a particular GML/XML schema (say, any of these) using QGIS. A step-by-...
1
vote
0answers
120 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
1answer
617 views

Generating C# classes for gml.xsd using MS Visual studio xsd tool

With Microsoft Visual Studio 2010 comes a tool called xsd which can automatically generate C# source code to easily deal with XML files corresponding to a given schema. I have a very complex XSD ...
4
votes
1answer
717 views

Styling OSM data with OSM-Carto

I have set up on Ubuntu a tile server by following this tutorial I followed the instructions for downloading and configuring osm-bright, but now I want to use the openstreetmap-carto stylesheet. In ...
0
votes
1answer
87 views

How to remove XML tags within a field of attribute table?

I have this dataset I got it from Wikimapia ,containing bunch of fields . One of fields named "PopupInfo" contains xml tags : and looks like this when in editing mode : I want to remove these tags ...
3
votes
0answers
390 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 ...
1
vote
0answers
1k views

How to convert an XML to Shapefile polyline

I want 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 09:...
1
vote
1answer
315 views

How to export Mapnik style to XML?

I would like to create Mapnik style using Python API and export it to XML-file. Creating style part is clear enough API has sufficient documentation. But I wasn't able to find function that does the ...
1
vote
0answers
173 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 ...
0
votes
1answer
3k views

How to convert .osm file into .xml [duplicate]

I downloaded a file .osm. I want to have the same file but with extension .xml To do that, I downloaded osmconverter but the problem is, as states in wikipedia I can convert the .osm file into ...
1
vote
2answers
1k views

Export/Convert .tif + tfw into GeoTiff with tagged Metadata (coordinates)

What is the correct command line for using warp_management in Python (ArcGIS 10.1), to convert several georeferenced .tif's (or folders) with XML world files to GeoTIFF's with permanently written ...
1
vote
0answers
51 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 ...
2
votes
1answer
670 views

How to calculate the bounding box of a GML/XML file from a WFS GetFeature request?

I would like to know if it is possible to get the bounding box from a geometry returned by a WFS service. An example of WFS feature request: http://inspire.biodiversity.ro/ENVPS/GOPublisherWFS?...
0
votes
1answer
282 views

Open tile map source in Qgis

I'm trying to open this xml source in Qgis: http://webgis.regione.sardegna.it/tms/ortofoto1977_EPSG3003/tilemapresource.xml but I see only a corrupted image. Where did I go wrong?
3
votes
1answer
510 views

Link between node->building->street in OSM

Data: Raw OSM data (.osm XML file). Target: Connect between house number represented by node, to street name represented by way. What I did: In www.openstreetmap.org I can explore elements. So I ...
2
votes
0answers
126 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 ...
1
vote
0answers
77 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
688 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 ...
4
votes
1answer
1k views

Restoring public.layer_styles table from PostGIS dump

I created a PostGIS database on a PostgreSQL server and stored some QGIS styles (in public.layer_styles). When dumping and restoring the database only this table gives me an error and stays empty. I ...
4
votes
1answer
7k views

How to Change Port no. of GeoServer Running as Service

I installed my geoServer as a service on port 8080. However, I need to use this port for some other service and have been trying to move it to port 7000 instead but I can't find a way to change the ...
0
votes
0answers
185 views

Low-res coastline of world landmass, in xml format?

Can anyone direct me towards an xml file, in typical OSM format, for the low-res coastal Ways of every land-mass on Earth? I need something easily renderable at low zoom levels, avoiding the ...
2
votes
1answer
260 views

OpenStreetMap heavily pixellated when loaded in QGIS and standalone application

I am loading an OSM street map into an application I am building. I load it as a raster layer via an XML document with the OSM GDAL data. My problem is that the map appears heavily mangled and ...