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
385
questions
1
vote
1
answer
505
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 ...
1
vote
0
answers
2k
views
How to convert an XML to Shapefile using FME?
I am looking to convert XML to shapefiles using FME.
The XML files are user generated while they draw points and lines (mainly) of interest on a web map. We generate the XML in the background ...
3
votes
1
answer
10k
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 ...
2
votes
1
answer
2k
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 ...
1
vote
0
answers
89
views
OpenLayers2 - Get LayerName from GML Response object
I am using the WMGetFeatureInfo control in OpenLayers to select items from my layers and return GML.
I use this to get an attribute from the GML;
var val = evt.features[0].attributes.UID;
//Where ...
1
vote
1
answer
2k
views
GeoRSS in Leaflet
is it possible to integrate GeoRSS in Leaflet and how?
Couldn't find any hint.
For example this georss:
http://www.geonames.org/recent-changes.xml
Which looks like..
<?xml version="1.0" ...
2
votes
0
answers
141
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
1
answer
3k
views
Importing XML document to file geodatabase
I have never used xml data imports.
I am working with ArcGIS desktop 10.2
One of our major data supplier started data delivery using XML format using FTP. Packets of data updates are coming every ...
0
votes
1
answer
100
views
Update cursor with not populating table with describe/xml metadata
I am writing a script that will export feature class metadata to a GDB table. The metadata is first obtained through arcpy.Describe and by parsing an exported XML file. The script then creates a GDB ...
1
vote
1
answer
5k
views
java.lang.NullPointerException with GeoServer and Postgis
I am continuing work that another person began based on Geoserver and postgis. On the database level there are many tables and the layers are views based on these tables. That is working great!
Now I ...
1
vote
2
answers
2k
views
Shapefile to Network xml
I have a shapefile representing the US freight highway network available from Oak Ridge National Lab. I'm trying to prepare this as a .xml network for processing with MATSim. The output structure is ...
1
vote
1
answer
290
views
Describing Geodatabase Content With Python and XML Metadata
I am trying to create a descriptive database catalog by implementing the great solution described here. This user's solution creates a csv file that identifies a geodatabase's content, including ...
0
votes
1
answer
893
views
arcpy.ImportMetadata_conversion works for file geodatabase but not SDE
I want to update metadata (the abstract/description) on an Esri ArcGIS feature class. I am using the Esri arcpy python lib. When I try this using a file geodatabase it works fine. When I try it using ...
1
vote
3
answers
1k
views
KML Balloon Not Showing Up In <Folder>
I've created a perl script to create multiple line files from points. It iterates through, creates everything as expected. When you hover over a line, I get a balloon with all of the attribute ...
1
vote
1
answer
975
views
Using zip function into distance calculating program? [closed]
I try to calculate distance between points from gpx file using harvesine formula. I stuck in moment when I should use 'lats' and 'lons' for formula which I found in internet. I want to use that two ...
1
vote
1
answer
6k
views
How to properly get coordinates from gpx file in python [closed]
I try to extract coordinates from gpx file and it returns empty list. I used xml.etree and have any idea why it is empty, because d.attrib return proper values.
import xml.etree.ElementTree as ET
f = ...
1
vote
1
answer
725
views
FME transform query result to JSON and then XML
I execute query on my postgresdb to get result as a json: description is here http://rextester.com/ZULI42144
It looks nice but now I would like to convert it to xml. I decided to use fme to query ...
2
votes
2
answers
615
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
1
answer
355
views
Can you smooth a GDAL TMS in QGIS?
I am using QGIS 2.14.9 on windows 10 to view our geospatial data and use the QuickMapServices plugin connected to 'OSM Standard' as a base map. Recently, I had need to use WFS layers, which are not ...
2
votes
1
answer
1k
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?...
1
vote
1
answer
114
views
How is metadata_xml column generated in GeoNode DB?
There is a metadata_xml column in the base_resourcebase table of GeoNode database. It contains XML document with metadata informations of the layer.
There are also other metadata columns in this ...
1
vote
1
answer
390
views
How do I overrideMimeType in OpenaLyers.Request.Get
I can't find any info on this. When performing a GET request with the following format, I can't figure out how to add the request for "overrideMimeType("application/xml")":
request = OpenLayers....
1
vote
1
answer
410
views
Live XML truck fleet GPS data To ArcGIS
Currently I have access to truck fleet data through Telogis Fleet. Telogis provides an XML feed and I would like to know how I can feed that into ArcGIS that is continuously updated?
0
votes
1
answer
460
views
Get XML from Oracle sde.st_geometry SHAPE column using SQL
How can I access the XML contents of the SHAPE column of a feature class in sde.st_geometry/Oracle? I want to access the XML using SQL so that I can ultimately directly query the vertices that make up ...
5
votes
2
answers
215
views
Why the modifications I do in QGIS doesn't appear when I save an OSM file I created?
Through QGIS I loaded an OSM file I created and I'm trying to visualize what happens with the file in terms of codes after some modifications like adding points, lines or polygons. But the problem is ...
1
vote
0
answers
98
views
Convert data {shape+XML} format to my custom map data format {XML} [closed]
I work with "map" represented logically as custom XML format not compatible with any OGC format like GML, but roughly based on OSM XML. Unfortunately I cannot change to work with OGC compatible known ...
3
votes
1
answer
368
views
Rendering tiles using xml files?
I'm having trouble displaying some base maps on parts or my organisations network. I set up a QGIS (2.14.9) project and added a couple of layers. I then add a google basemap using 'Thomas B' ...
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 ...
1
vote
1
answer
641
views
convert XML to PostgreSQL using MATLAB
In a weeks time I should be able to transfer the GIS data provided in the XML format to PostgreSQL database. I have prepared the PostgreSQL database (empty) and looking at Matlab scripts. (I am on ...
3
votes
3
answers
3k
views
I have a list of coordinates that make up a route - how can I easily render this shape on a map?
Additional info - I don't need this to be on a map - I just need the shape of the route. Is there anything that can return that shape easily?
The list of coordinates are in an XML document and I'd ...
6
votes
0
answers
220
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 ...
4
votes
3
answers
7k
views
How to convert GTFS to XML or JSON?
Do you know any tool that provides that? I need to manipulated GTFS file but I would like to have data available in any well-known format like XML or JSON.
EDIT
GTFS are Google Transit Feed ...
1
vote
0
answers
57
views
HTML in XML export issues in ArcGIS [closed]
I have some metadata saved using the ArcCatalog metadata editor. The abstract element allows you to use html formatting. When you export the metadata to xml the formatting is stripped out and the ...
1
vote
1
answer
2k
views
Export XML Data to a MySQL DB
I have a XML file which I created from the overpass API. I'd like to load this data from this file into a MySQL database. I've been using this code to test, but none of the data loads.
LOAD XML LOCAL ...
3
votes
1
answer
339
views
Dealing with empty values in xml using FME XML Templater?
I am converting excel to xml using FME 2016 and the XML Templater.
When a field is empty, my xml is invalid because my schema requires
<TAGNAME xsi:nil="true" />
but instead gets
<...
0
votes
1
answer
1k
views
how to manage xml fragments in fme
I am trying to flatten an xml file with fme 2014. I´m having problems understanding how to manage the following xml schema. One of the XML child elements is called "aspects" and contains the following ...
0
votes
1
answer
213
views
How to get list of sld with a specific symbol? [closed]
I am using geoserver and python to manipulate the things in geoserver. Geoserver have the ability for the REST API. Now i am trying to get the list of sld with a specific symbollizer. for example i ...
5
votes
1
answer
2k
views
Writing XML metadata with Python?
Some Python software I have written generates raster files via GDAL. I would like the software to create an XML metadata file for each raster so that I can include details about how the raster was ...
0
votes
3
answers
5k
views
Importing XML data into ArcGIS Desktop?
I hasve an XML document originated from this site. It contains location and data for resturants and bars. How can I import those locations theirs data and meta-data to arcmap?
I am still relatively ...
3
votes
0
answers
928
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 ...
1
vote
0
answers
85
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 ...
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\...
5
votes
1
answer
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 ...
2
votes
1
answer
241
views
Converting raw encoded XML in KML into geojson properties
I have KML generated by a WMS (Web Map Service). I need this KML in geojson format and I'm doing this all on a linux box. My problem is that the description in the KML contains encoded HTML like so (...
2
votes
1
answer
321
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
0
answers
90
views
Creating ISO 19139 xml metadata from spreadsheet? [duplicate]
I have metadata that was collected according to ISO categories and is currently housed in a spreadsheet where each row houses metadata for a GIS dataset. I am interested in automating the creation of ...
0
votes
1
answer
3k
views
Geoserver WFS request resultType=hits
I try get number of features through WFS request:
$.ajax('http://x.x.x.x/geoserver/wfs',{
type: 'GET',
data: {
service: 'WFS',
version: '1....
3
votes
0
answers
148
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 ...
2
votes
1
answer
2k
views
Writing ISO 19139 compliant XML metadata from spreadsheet?
I am looking at a way to migrate the metadata from a spreadsheet into ISO 19139 compliant XML metadata documents for a collection of shapefiles. I can parse the data out of the spreadsheet into ...
2
votes
1
answer
2k
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 ...