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
4answers
2k views

problem in reading kml data in openlayers

I am trying to read an KML file (point feature) and show it on a vector layer on OSM as the base map. My code seems to have a problem that does not show the features on the map. I don't now if its the ...
2
votes
1answer
9k views

KML PHP parser to INSERT into database

So I have a KML file which has attribute data(Inside the tag with about 12 data points). This file was generated on ArcGIS. I'm trying to write a PHP script to parse this KML file and insert the ...
2
votes
1answer
448 views

how to avoid the bbox limitations on a Mapquest XAPI request

I am doing the following: I send a request to the API-Server - over http as a response I get the following result - in XML example: the following link gives back all the Nodes of the Type amenity=...
2
votes
1answer
497 views

OpenLayers WPS function fails in IE

I am making a WPS call in OpenLayers which works successfully in Chrome and Firefox but not in IE9. The response from IE tells me Process failed during execution\nCould not convert to target type ...
2
votes
1answer
2k views

Why is an XML file with the same name being created when I save an MXD?

In the last couple of days, everytime I save an mxd file an xml file is created with an identical file name (obviously with .xml rather than .mxd at the end) in the same folder that I've saved the mxd ...
2
votes
1answer
352 views

WMTS is working with 256x256 tiles, but not with 512x512?

I'm working on using imagery from a web map tile service which I've cached locally as a gdal dataset. I have both 256x256 tiles and 512x512 tiles; the latter are the "retina" versions of the former; i....
2
votes
1answer
467 views

Read an XML file generated by WFS

I want to read variables from an XML file generated by a WFS. I do this with WMS but I didn't find the equivalent of it in case of using WFS. Do you have any idea ? here is my code : ol.control....
2
votes
1answer
755 views

Create folders to group KML Placemark in a big file

We have a huge KML file having Placemarks which contain SimpleData elements. We need to filter the elements for a value inside SimpleData and create a folder to group all the related Placemarks ...
2
votes
1answer
454 views

Import Microstation geometry to ArcGIS 10

I have geometry alignments of land parcels defined in MicroStation InRoads V8i. Instead of using the dgn files I want to use the geometry files. I have ArcGIS 10 Desktop advanced license with Data ...
2
votes
1answer
304 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
1answer
846 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?...
2
votes
2answers
446 views

Is there an easy way to read output from Open Data Kit in QGIS?

I use Open Data Kit (ODK) to do field collection of points of interest. ODK outputs each collected point as an XML-file with a structure like so: <?xml version='1.0' ?> <data id="...
2
votes
1answer
2k views

QGIS: How to get Symbols saved in GPX Files

I have some waypoint layers that contain different types of points and I distinguish these in QGIS by different symbols and colours. I want to export these to a GPX file that I can download to my GPS ...
2
votes
1answer
161 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
530 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
0answers
56 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
1answer
288 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
38 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
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
1answer
170 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
91 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
670 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
218 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
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
168 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
250 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
35 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
235 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
1answer
202 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
443 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
792 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
244 views

QGIS 3.4. project file editing

How can I edit a QGIS project file so that it would open, save and edit data from given folder and save the results for different directory? Kind of like MapInfo's Wor. file. I read from QGIS ...
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
1answer
821 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
5k 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
1k 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
1k 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
2k 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
345 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
2answers
1k 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
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
151 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
43 views

Legends not appearing in GeoServer Layer

I have added a new style in GeoServer. As I am seeing the preview of legend while creating the style, it is appearing. But when I am applying the same to the GeoServer layer, it is not appearing in ...

1 2
3
4 5
7