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
150 views

Can OGR handle Esri's Geodatabase extensible markup language (XML) files?

The USDA Forest Service distributes GIS data as Esri Geodatabase extensible markup language (XML) files. I downloaded one in the hopes that I would be able to convert it to something less esoteric ...
2
votes
3answers
1k views

json to xml transformation with x2js

I am trying to transform a JSON object to XML, but i have somehow get stuck in jscript (not an expert). Here is the code: ... var GEOJSON_PARSER = new OpenLayers.Format.GeoJSON(); var ...
2
votes
1answer
525 views

How to write XML attributes from feature with ArcView license?

I need to generate xml of attribute data of a feature, but I have only Arcview license so, I can't use Export XML tool. What are my options? What is wrong with this code (after applying search ...
2
votes
1answer
65 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"?>...
2
votes
0answers
26 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
0answers
52 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 ...
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 ...
2
votes
0answers
536 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.
2
votes
0answers
84 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
1answer
127 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
0answers
89 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
0answers
500 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
176 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: ...
2
votes
0answers
131 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
238 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
30 views

How to publish a table in Geoserver 2.4.x, so that only specific users can access it [duplicate]

I want to publish some tables in the geoserver 2.4.x so that it is restricted to some particular users.Right now, I have tables that is public to all users. I have a web app, through which I am ...
2
votes
0answers
210 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
102 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
78 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
1answer
196 views

Two questions about mapnik

I newbie have two newbie questions about Mapnik. Does Mapnik allow generation tiles with float zoom level? I have osm file for my region. I want generate images. Where i can download full xml file ...
2
votes
0answers
434 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
2answers
6k views

Using Python to parse an XML containing GML tags

I am trying to write a python script which pulls GML tags out of an XML file and formats them into WKT for inserting into a PostGIS database. I have been successful in doing so for an XML containing a ...
1
vote
2answers
2k views

Using WMS in ArcGIS Viewer for Flex?

These days i am trying to develop web map using FOSS software. I have a WMS in GeoServer but it does not view in ArcGIS Viewer for Flex. Can you give me XML code for it? This is my WMS. http://...
1
vote
2answers
138 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 ...
1
vote
1answer
628 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
1answer
3k 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
1answer
468 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
701 views

How to SortBy a GetFeature WFS request by FeatureId (fid) in XML?

This is my XML for a GetFeature request. I want to Sort By FeatureId (fid) but this doesn't work. I can't find an example of how to format this XML correctly: (SEE THE ogc:SortBy SECTION) <?xml ...
1
vote
1answer
821 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
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
1answer
318 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
1answer
2k views

Error getting spatial reference as string in arcpy

I am trying to get the string associated with a spatial reference to print into an xml using arcpy and xml.cElementTree. Using the snippet: ... spatial_ref = arcpy.GetParameterAsText(3) ... Prj = et....
1
vote
1answer
148 views

Editing multiple SLDs

I have to edit and maintain multiple SLD's. Is there a tool to do bulk edits/ updates? I have used tools like Atlas SLD to one SLD at a time, and could use XML editing tools to potentially edit ...
1
vote
1answer
2k views

sending a XAPI-Request to the API-Server - over http

pretty new to Geo-Informatics so do not bear with me if my questions sound like newbie-questions: can i do some requests on POIs of Openstreetmap with XAPI. doing like so: i send a request to the ...
1
vote
2answers
4k views

How to filter OSM files based on tags using Osmosis?

I am working with .osm files and am trying to filter entities based on tags. I need to view only entities containing both source and attribution tags. I used the following to successfully filter all ...
1
vote
1answer
126 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()....
1
vote
2answers
347 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
2answers
305 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
390 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"/> ...
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
1answer
933 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 ...
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
1answer
1k 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" ...
1
vote
1answer
552 views

URL for querying OSM server, getting xml response, for roads only in large areas

I've already Googled extensively around this subject, and can't quite get it right. Can anyone give me example URLs which return XML data consisting of just roads, for example, over areas larger than ...
1
vote
2answers
682 views

Getting attribute table from WFS data source

I am attempting to get some WFS 2.0 INSPIRE data from the Finnish meteorological institute into a table format of some kind. Is there any software which can easily grab the attribute data for the WFS ...
1
vote
2answers
2k views

How can i filter on ID's through WFS Post request?

I want to select a set of features from my GeoServer (its Running 2.0.0) and use a query using multiple ID's to get their values. For this i send XML in a post message to the Geoserver: <wfs:...
1
vote
1answer
115 views

How to smooth lines in MapServer 5.6.8?

I have a map of property lines in MapServer and the lines look rough and have jagged edges and I wonder if there is anyway to make the lines appear smoother and more rounded in Mapserver 5.6.8? The ...
1
vote
1answer
386 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?
1
vote
2answers
420 views

View ArcGIS 10 metadata in SharePoint 2010

Does anyone know how I can view the "FGDC CSDGM"-compliant metadata in SharePoint 2010? I know I can copy the metadata output since it's an html file but that's not what I want. I want SharePoint 2010 ...