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

Add GML Layer in OpenLayers 4

I'm using OpenLayers 4 to build a web map. Now I'm trying to add a GML layer to the map but only one feature of the layer/GML is painted in the map. So I don't know what could be wrong. The way I am ...
0
votes
0answers
93 views

Python Console XML creation - Not releasing memory?

I have created a module to prepare an XML file. Since xml.etree does not output a pretty XML I use dom. ****Module:**** from xml.etree import ElementTree from xml.dom import minidom ...
1
vote
0answers
247 views

Importing 1000s of svg symbols into QGIS 2.18 [duplicate]

Does anyone know a way to import 1000s of svg symbols into QGIS without having to painstakingly click on every single XML file to import? I created SVG files (with xml) of all of the CAMUTCD sign ...
0
votes
1answer
244 views

OpenLayers 4 getFeatures

I've implemented the getFeature function in my OL4 as in the example: https://openlayers.org/en/latest/examples/getfeatureinfo-tile.html map.on('singleclick', function(evt) { document....
3
votes
1answer
151 views

What is the faster way to run an OSM (xml) data to Esri geodatabase data for a big area with FME?

I am working on OSM highway(polyline) data with respect to the keys Max_speed and surface for the whole Africa. In this case I took at first the Geometry Filter with line and I used 2 list_searchers ...
3
votes
1answer
151 views

XML schema for QGIS symbology

I've been trying to import .cel files as symbology in QGIS. I was recommended to change those .cel files into .dxf, which I did. However, in order for the conversion from dxf to xml to work, I need ...
0
votes
2answers
848 views

How to construct a WFS 2.0 GetCapabilities XML request to Geoserver?

I am trying to use WFS 2.0 specifically because it supports temporal filtering. My GetCapabilities.xml file is <GetCapabilities version="2.0" service="WFS" xmlns="http://www.opengis.net/wfs" xmlns:...
2
votes
2answers
485 views

.xml missing in shapefile, problems with displaying in arcgis

This morning when I opened my .mxd (ArcGIS version 10.2.2) several shapefiles were not showing in the data view window or selectable. Zoom to layer also did not work. The attributes of the shapefile ...
1
vote
2answers
841 views

Geoserver WMS XML Error

I am trying to load WMS layer from geoserver in QGIS. The Error in QGIS is : Failed to Download Capabilities Download of Capabilities failed: Connection Refused So I went and found this question: ...
1
vote
1answer
53 views

OGC Filter Specification in Xpath

I've got some XML documents which conform to a known schema which include geometries in GML format. I'm looking to perform validation on the XML using XSD and Schematron, but I'll need some way of ...
1
vote
1answer
674 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 ...
0
votes
0answers
138 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 ...
0
votes
1answer
595 views

Generate HTML/XML file in QGIS

I'm looking for best practices (plugins, procedures...) in QGIS to generate an HTML document (which later on can be finalized in MS Word) in which the result of spatial queries can be documented. An ...
2
votes
2answers
105 views

Can I reference a way (street) in a node (representing a shop)?

I was inspecting OSM wiki and some of dumps and I have a question now - suppose I want to add a node representing some shop to a particular street. Do I have to specify addr:street in that node? I see ...
1
vote
1answer
119 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 ...
2
votes
1answer
306 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 ...
1
vote
1answer
789 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 ...
4
votes
0answers
111 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:...
2
votes
2answers
414 views

Creating a Geoserver App-Schema mapping file for GeodesyML

EDIT: This appears to be a version dependent issue! When I posted the question I was using Geoserver 2.11.1. I upgraded to the 2.12 nightly SNAPSHOT and I can now general GeodesyML output. The problem ...
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 ...
0
votes
1answer
860 views

How to open XML files in ArcGIS?

I am attempting to use XML files, for example Google places API extracted XML files, in ArcGIS 10.4/10.5, and have yet to find an easy way to do so. I do not know what type of XML file it is exactly, ...
0
votes
1answer
60 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 ...
3
votes
3answers
4k views

How to Make a .xml file for Esri shapefile?

Mostly for my work I use PostgreSQL or .tab files (MapInfo). However, I am familiar with conversion from one format to another using ogr2ogr. My problem is that how can I make the metdata file or .xml ...
1
vote
0answers
100 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 ...
0
votes
1answer
292 views

Why does physicalWidth not work in external style for Google Earth?

Google Earth Pro: version 7.1.7.2602 Renderer: DirectX I have one placemark that is a linear feature. The feature is a road, so I want to apply a style to it that sets its color and its physical ...
7
votes
4answers
999 views

Restricting values to domain codes (beyond attribute table)?

Geodatabase fields can be assigned domains. ArcGIS Desktop uses the domains as lookup tables (a.k.a. validation tables). When users edit data in the attribute table or attribute editing window, the ...
1
vote
1answer
149 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
1answer
513 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
1answer
619 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
354 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 ...
1
vote
1answer
441 views

Geoserver SLD TextSymbolizer showing up

I am very new to geoserver and SLD. I am trying to put labels on my heatmap layer using SLD but the labels are not showing up in the preview. I found this example to implement it which looked ...
1
vote
0answers
126 views

How can I 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 ...
1
vote
1answer
70 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 ...
2
votes
1answer
258 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 ...
1
vote
0answers
84 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 ...
1
vote
1answer
127 views

Error updating firstChild.data when updating WebCapabilities

I'm trying to update the WebCapabilties to allow uploads for a service definition. I've followed the instructions from ESRI's website, but when I try to set the keyValue.nextSibling.firstChild.data ...
3
votes
1answer
136 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
0answers
28 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 ...
4
votes
0answers
95 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 ...
1
vote
0answers
44 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 ...
0
votes
1answer
195 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 ...
0
votes
1answer
99 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 ...
3
votes
1answer
116 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 <...
3
votes
0answers
261 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 ...
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 (...
0
votes
1answer
849 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
1answer
255 views

GeoServer WPS Chaining problem

I have a bit of a problem with WPS(1.0) chaining on GeoServer (2.9.1.). I am following this tutorial for http://geoserver.geo-solutions.it/edu/en/wps/chaining_processes.html Chain 1: Extract the ...
0
votes
1answer
290 views

XML Schema into Pathfinder Office to create a Data Dictionary?

I have an exported XML Schema from a client database that I need to convert to a ASCII File in order to import the schema into the data dictionary editor in Pathfinder Office. Does anyone know how ...
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 ...