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
1
vote
1answer
102 views

Exporting only some feature classes to XML using ArcPy?

Is it possible to only export only some feature classes when exporting a workspace to an XML document? I know that when I am in ArcCatalog, I can right click my database --> Export XML Workspace ...
1
vote
1answer
71 views

Python Toolbox keep xml meta data formatted for version control

Is there a way to keep Python Toolboxes metadata formatted nicely for version control? I use git to maintain my Python Toolboxes and when I make edits to the toolbox the metadata is updated and put ...
1
vote
1answer
145 views

Transform complex features into simple features GML with HALE

Background information: I'm working with complex GML features and would like to publish my data as a WFS service through GeoServer. I know there is already the application schema support (app-schema) ...
1
vote
1answer
183 views

Match to symbols from file in QGIS 2.18

I have a map where each feature of a polygon shapefile will be filled with a different image. I have those images stored as PNG files. In my shapefile, each feature has a name which is the same as its ...
1
vote
2answers
134 views

Creating metadata with PostgreSQL for GeoNetwork?

I am using a function to create metadata with postgres for geonetwork. The goal of the function is to automatically create a metadata with basic information. Moreover, when the data is modified, the ...
1
vote
1answer
55 views

Adding “cacheControlMaxAge” parameter into sddraft

I would like adding a new parameter into my sddraft, the value of "cacheControlMaxAge". For this, I have the following code that modifies the value of already existing parameters : import xml.dom....
1
vote
2answers
874 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
124 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
1answer
150 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 ...
1
vote
1answer
364 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
454 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
1answer
71 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
1answer
310 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 ...
1
vote
1answer
276 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 ...
1
vote
1answer
633 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 ...
1
vote
1answer
341 views

Determine Angle of Street by Parsing an Overpass-Turbo output xml

I am currently downloading all the street intersections from a bounding box using the query below (see it on overpass). <query type="way" into="hw"> <has-kv k="highway"/> <has-kv ...
1
vote
1answer
1k views

Using OpenStreetMaps (*.pbf) data with Mapnik?

I am using mapnik to directly render a map using xml sheet. I downloaded world boundaries, created the mapnik stylesheet from wiki page, and ran the python code which created a world image : Now I ...
1
vote
1answer
150 views

arcgis 10.2 .shp with no projection info but .xml file

I need help opening a shp file which has no projection info in ArcGIS 10.2 I have .shp , .shx , dbf and .xml file. The .xml file details are below . QUESTION : can i make .proj from below ...
1
vote
1answer
2k views

ArcMap: Output to XML Including Shape Data?

I need to create a solution for non-technical people to export data from an ArcMAP document (.mxd) to XML files. I will need each feature's data to be exported in such a way that the output xml file (...
1
vote
1answer
160 views

Unable to inspect GML file

I use FME to make GML file based on SQLServer data. When I create GML, I cann't see anything in FME Data Inspector or Universal Viewer. Like something is missing in file. I have schema, and ...
1
vote
1answer
147 views

Are there any tools which can autopopulate multiple features with metadata fields in ArcGIS?

I have an enterprise geodatabase which contains hundreds of feature classes. I would like to publish the metadata from each feature to geoportal server in FGDC format. Is there an out of the box ...
1
vote
1answer
198 views

Error in LineEdit when show parsing value as string

I m trying to make QGIS plugin to open xml, parse it and then show value i parse from xml to line edit, i use this code : from PyQt4 import QtCore, QtGui from ui_testparse import Ui_testparse import ...
1
vote
1answer
1k 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 ...
1
vote
1answer
481 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 ...
1
vote
3answers
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
1answer
919 views

XML import to ArcGIS gdb

i am trying to create datasets from xmd files (based on INSPIRE data model). i get a notice that my "workspace does not found"). does anyone have experience with that? i am looking for a schema for ...
1
vote
3answers
358 views

trouble installing the qgis2kml plugin (or, how to install plugins not available in the Plugin Manager from source)

I'm trying to install the qgis2kml plugin for qgis. Its not showing up in the Plugin Manager search and the only qgis "repositories" I can find are websites for downloading source code. Which is fine,...
1
vote
3answers
594 views

Missing lxml in QGIS 2

I made a QGIS plugin in QGIS 1.8 doing a lot of XSLT transformation and other XML handling with the library lxml. After upgrading to QGIS 2.0 this plugin does not work anymore: "ImportError: No ...
1
vote
1answer
216 views

Can I specify an external WMS service with THREDDS?

I know that when you use THREDDS, you can specify the internal ncWMS-based WMS service thusly at the top of your catalog: <service name="wms" serviceType="WMS" base="/thredds/wms/"/> The only ...
1
vote
1answer
1k views

Editor to work on GML files

I am looking for a good way to work on GML files and would appreciate some personal experience. At the moment I am using nXML or SGML mode for Emacs but I wouldnt mind having an IDE/Emacs mode/... ...
1
vote
1answer
2k views

Expected DTD markup was not found

I am trying to upload an XML document using python and arcpy.MetadataImporter_conversion I keep getting an error: Expected DTD markup was not found. Line 1, position 3. Failed to execute (...
1
vote
1answer
612 views

In Arcpy, Erase function error: “XML being loaded could not be parsed”

A error in my previously-smooth-running arcpy script has me confounded. The error occurs where the script selects individual features in two different feature classes, and then performs an Erase ...
1
vote
2answers
902 views

how to produce xml file in SLD to add discrete colors and color legend

I have to produce a xml file, according to Styled Layer Descriptor (SLD) (for more informations you can see: http://www.opengeospatial.org/standards/sld). The file is required by GeoServer and it has ...
1
vote
1answer
375 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
1answer
999 views

OpenStreetMap default style for roads

I'm using the OpenStreetMap plugin for QGIS and I've successfully rendered a .osm file (lines). I've tried a few styles from github but so far none of them label all of the streets like the osm ...
1
vote
1answer
220 views

QGIS not reading colormap from hand-edited .qgs file

I have a set of rasters which store solar radiation incidence over the course of a year. In QGIS, I want to map the same extent, and with the same reference features, varying only the solar raster ...
1
vote
2answers
623 views

Open MapGuide MrSID rasters with FDO GDAL. invalid extent. Not drawing

When I try and save the resource I get: Spatial context extent appears to be invalid (or Default). The XML: <?xml version="1.0"?> OSGeo.Gdal.3.4 Default This coordinate system ...
1
vote
2answers
368 views

[Error0125] error when create new service with AXL file in ArcIMS 9.3.1[Help]

i have problem to create a new service with AXL file in ArcIMS 9.3.1,when i do create a new service error message appear (error0125). so can any one help me how to solve this problem please. this is ...
1
vote
0answers
33 views

Pre-loading features in QGIS from geodatabase via XML file

The background: I've inherited a pretty handy plugin for QGIS and an associated an XML file. The plugin (among other things) when installed, will ensure that each instance of QGIS that you open has a ...
1
vote
0answers
20 views

Using XSLT conversions in GeoNetwork to add XML nodes to metadata record during import

I want to use "Apply XSLT converison" option in GeoNetwork when importing new records to add new XML snippet to my metadata record. I need to add aditional XML content (gmd:identifier) to the ...
1
vote
0answers
45 views

Serializing and Deserializing Elements using ArcObjects C#

I am using the XMLSerializerClass of the Arcobjects SDK to serialize graphic elements of page layout into XML then saving the XML string to the database. My issue is that when serializing graphics ...
1
vote
1answer
96 views

Google Streets XML as raster layer

I found Why are the Google basemaps no longer appearing in QGIS? which explains a simple method to reach the google tile server and get the Google Physical tiles. Has anyone a similar code with which ...
1
vote
1answer
48 views

OpenTripPlanner API Elevation values unclear

I'm using the OpenTripPlanner Planner API to find directions. The API returns XML with the geometry of the line (2D) and the elevation data separately, for example The 2D line geometry is as ...
1
vote
0answers
80 views

Transform GML to Geometry (PostGIS) in GeoKettle

How can I transform GML (saved in XML file) to Geometry type? I've noticed function 'Geometry from GML' in Calculator but it needs string value with GML. Is there any way to extract it from XML file?...
1
vote
0answers
48 views

Different behaviour between imported and harvested records in GeoNetwork 3.4.0

I'm working on Geonetwork 3.4.0 and I have some metadata files generated with ArcGIS 10.5. The XML files are stored into a folder that I would like to harvest, but when harvesting, it says "badFormat"...
1
vote
0answers
254 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 ...
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 ...
1
vote
0answers
129 views

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
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 ...