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
5 votes
2 answers
135 views

What is QDomNode and QDomDocument in terms of PyQGIS?

On a low level what is QDomNode and QDomDocument in the PyQGIS context? I comprehend that both QDomNode and QDomDocument are derived from PyQt. Hence, with my limited knowledge of PyQt, I simply do ...
0 votes
1 answer
333 views

osm2pgrouting how to configure mapconfig.xml file

I need to customize mapconfig.xml file. I have to do bike routing so I start with mapconfig_for_bicycles.xml https://github.com/pgRouting/osm2pgrouting/blob/master/mapconfig_for_bicycles.xml This ...
2 votes
1 answer
297 views

HALE: GML validation errors

I try to export a GML file from HALE editor but the validation has always errors with this text: The value '' of attribute 'gml:id' on element 'ps:ProtectedSite' is not valid with respect to its ...
0 votes
1 answer
52 views

Load NeTEx file in QGIS?

I have this XML file that is in NeTEx format https://drive.google.com/file/d/1fKHW81oGTiRxmuINLKie6yariLUA9LCP/view?usp=sharing I downloaded it from this website https://www.trafiklab.se/api/trafiklab-...
0 votes
0 answers
30 views

The TFF style is not displaying correctly, and the configured attributes are not being displayed correctly

(1)I imported the SLD exported from QGIS into GeoServer, but I noticed that the font symbols displayed are completely different in shape from what I see in QGIS, as shown in the image below. geoserver ...
14 votes
3 answers
3k views

Turn off the setting of QGIS to produce XML when closing Raster layer

Every time I open and close a Raster layer in QGIS it creates an XML-file for that raster when closing. While I do a lot of automatic processing this really bugs me, since I have to add every time ...
2 votes
1 answer
31 views

MapServer POST request from GET string

I have a very long GET request to the MapServer due to a large number of objects in a dynamic variable "object_id". (object_id=1,2,3,4,5,6,7,.........) My query string is: "https://wms-...
1 vote
2 answers
434 views

Error when I try insert a simple point into a geoserver point layer with wfs-t

I try insert a simple point into a geoserver point layer the commands are: var config = { headers: { 'Content-Type': 'text/xml', 'type': 'POST', 'dataType': 'xml', '...
0 votes
1 answer
127 views

ArcGIS Pro Shapefile : polygon not visible

I'm a Master's student in oceanography research and I'm using the latest version of ArcGIS Pro. I am using data from the Canadian Ice Service Arctic Regional Sea Ice Charts in SIGRID-3 Format, Version ...
2 votes
1 answer
3k 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 ...
0 votes
0 answers
196 views

Writing features in GML format to send it to GeoServer : Cannot read properties of null (reading 'getAxisOrientation')

I would like to create GML using OpenLayers to send it to GeoServer to insert a new feature. After the end of draw I'm getting my feature with: import GML3 from 'ol/format/GML3'; this.draw_add....
2 votes
1 answer
1k views

Sending GetFeature request to GeoServer WFS using POST starting from a JSON like data object

Looking at this older question, I'd like to know if it is possible to make a POST request to retrieve features from a GeoServer WFS starting from a JSON data object. I have this data object which I'd ...
1 vote
1 answer
1k views

Python GDAL: Convert JPEG to GeoTIFF, given location information

In a similar question, I read that one can create a GeoTIFF image from a JPEG using the Python GDAL API. I created a small example here: def translateIMG(path_in, path_out, in_format = "GTiff&...
0 votes
2 answers
158 views

How can I connect a WFS or WMS connection in QGIS from an .xml file?

I'm new to working with WFS and WMS in QGIS, but most connections I tried so far have worked the usual way with the "GetCapabilities"-link. Some public servers provide however an .xml file ...
0 votes
0 answers
82 views

How to clip raster image and convert to XML file?

I've tried to clip raster images with different software such as ENVI to keep metadata files and it was done successfully. After this step, I want to convert the clipped image to XML file. in order to ...
0 votes
1 answer
39 views

PyQGIS get elements from XML [closed]

I wrote a code in VBA for Excel that store in a cell data from a XML like this (https://nominatim.openstreetmap.org/reverse?lat=45.387838002000002&lon=7.6777959990000104) part of the code is: '...
1 vote
2 answers
2k views

How route-points <rtept> and track-points <trkpt> can exist in a GPX file together

Is it a valid schema to have both route points and track points in a single GPX file representing the same route at the same time? In this format - <gpx> <rte> <rtept lat=&...
0 votes
0 answers
67 views

How to Fix GeoServer Logging XML Validation Errors

I am running GeoServer Version 2.20.1. I'm not sure if it is important or not, but I'm running GeoServer as a .war file in JBoss EAP 7.4. When I create and update Image Mosaics using the REST api the ...
4 votes
1 answer
121 views

Convert OSM XML file to GeoJSON yields nothing

I am very new to the map making world and I am trying to extract a body of water using OpenStreetMap, convert the XML file to a GeoJSON file so that I can upload it to Datawrapper. This is the file I ...
3 votes
1 answer
857 views

Reading GML data in QGIS

Is there a specific reason, why QGIS can display some CityGML data from the Bavarian surveying agency right out of the box and other XML or GML files from that same source do not show anything? When ...
0 votes
1 answer
90 views

Validating GML against XSD schema gives ERROR

I am a very beginner in GIS and have the following problem I couldn't resolve yet. I have an XSD schema and an XML document I want to validate against the schema. As expected the XML isn't valid yet, ...
0 votes
0 answers
24 views

Where is geonetwork doing the check if a namespace is belonging to a path

Inside GeoNetwork, for each standard in config-editor.xml are declared fields with xpaths. Ex. <field xpath="/gmd:MD_Metadata/gmd:identificationInfo/*/gmd:citation/gmd:CI_Citation/gmd:title&...
0 votes
0 answers
86 views

Issue with xml.etree.ElementTree while writing GeoPandas nodes data into OSM format

I have sample nodes data like below. I am writing geopandas into osm data using xml.etree.ElementTree but the end output is not matching the nodes format that is described in osm data. Actually at ...
1 vote
1 answer
62 views

WMS XML file does not have "contents" tag

I'm trying to use WMSLayer (https://developers.arcgis.com/javascript/3/jsapi/wmslayer-amd.html) to create a layer from a WMS file. However, the class makes a call to https://www.geoservicos.ide.df.gov....
1 vote
0 answers
130 views

How to retain the metadata information on clipped satellite image in QGIS

I am new to QGIS. I am working with some satellite images XML format and processing in QGIS. I would like to retain the information of metadata of original images after clipping . The clipped images ...
2 votes
2 answers
75 views

Override WFS for transactions only

WFS service in Mapserver directly changes the PostgreSQL table whenever performing a transaction operation such as insert, update or delete. I want a solution which gives me control over what happens ...
5 votes
3 answers
2k views

Parsing XML Document file associated with shapefile into PostGIS/PostgreSQL table

I have a shapefile, and information on its attributes is stored in a XML Document format. For example, the attribute of COUNTY is stored as follows: -<attr> <attrlabl>COUNTY</...
0 votes
0 answers
59 views

Change path for QgsAction icon in PyQGIS

I added a QgsAction in my layer style, but when I share this style to other users, the path to the icon is written in absolute. I watched QgsAction doc (here) and it doesn't seem to be a setIconPath(),...
1 vote
1 answer
629 views

ArcGIS Pro metadata: XML export will not retain field information

software: ArcGIS Pro 2.6.3 (2.8 attempted) I am working with exporting metadata as an XML (Export on the Metadata catalog tab), from an enterprise geodatabase feature class. All necessary fields for ...
0 votes
1 answer
128 views

Load polygons from INSPIRE XML to GeoPandas dataframe

The German state of Schleswig-Holstein has a geoportal, where they provide a link to their WFS endpoint: https://service.gdi-sh.de/SH_INSPIREDOWNLOAD_AI_CP_ALKIS?service=WFS&version=2.0.0&...
2 votes
2 answers
867 views

How to escape an invalid character (0x1F) in an XML file?

I want to convert an XML-file to something else. However, when I try to read it using the FeatureReader, it throws an error. I'm using FME Workbench 2021.2, and read the file without any special ...
1 vote
2 answers
229 views

How does QGIS extract features from the XML response of an INSPIRE WFS server?

Context In QGIS, I add OpenStreetMap as an XYZ layer. I zoom to the Belgian-Dutch-German tripoint. I press F12 (fn-F12 on Mac) to get Network Logger up. I add a WFS connection to visualize North Rhine-...
0 votes
2 answers
65 views

List of numeric default values using SQL

Oracle 18c 10.7.1 EGDB: I have fields in feature classes and tables that have numeric default values. How can I get a list of the default values using SQL? I believe the default values are stored in ...
0 votes
1 answer
95 views

How to use xml_output_stream and export to XML using Magik programming (Smallworld)

I am trying to export to XML using XML_output_stream using Magik programming which is a Smallworld language. I have written the below code ws << xml_output_stream.new("N:\Laura\xml....
2 votes
2 answers
3k views

Exporting data in XML file format from ArcGIS for Desktop?

Is it possible to export shapefiles or rasters in XML file format from ArcGIS for Desktop?
1 vote
0 answers
39 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 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 ...
0 votes
1 answer
2k views

Editor to work on GML files

I am looking for a good way to work on GML files. At the moment I am using nXML or SGML mode for Emacs but I wouldnt mind having an IDE/Emacs mode/... that is more specialized on GML files and could ...
2 votes
3 answers
998 views

Does XSD for WMS 1.3.0 request exist?

I'm running WMS service, that corresponds with OGC standard on WMS 1.3.0 - Queryable WMS "conformance class". It supports both mandatory requests - GetCapabilites and GetMap - and also optional ...
0 votes
2 answers
298 views

Seeking learning resourses for OGC Filters or Filter Encoding Standard (fes) [closed]

When I am doing HTTP GET requests to GeoServer it is fairly easy, but when I need to do http POST request I need to pass XML formatted parameters in the body and for filtering I need OGC filters and ...
1 vote
1 answer
287 views

GeoServer WPS gs:Aggregate throws: Filter type not supported error

I'm using the WPS gs:Aggregate function with an OGC filter. When I use an OGC filter with PropertyIsEqualTo it works. But when I use a geometry filter it throws the error 'Filter type not supported'. ...
2 votes
1 answer
3k 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
1 answer
3k 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 ...
0 votes
0 answers
186 views

How can I add different layers from XML file using PYQGIS?

I have multiple xml files contains different layer. I want to write a script to find just layers that their name is street_name and city_name? How can I open these files in qgis console?
1 vote
1 answer
209 views

Create additional 'fields' in GDB domain system table (GDB_items)?

Is it possible to create additional 'fields' in the geodatabase domain system table (GDB_items) in SDE 10.3/Oracle? It would be handy to store additional information in domains. For example: CODE [...
7 votes
4 answers
2k 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
0 answers
153 views

Create a GML with OpenLayers

i would like to create a GML after finishing drawing: import GML3 from 'ol/format/GML3'; this.draw_add.on('drawend', function (this: any, e: any) { this.myFeature = e.feature; ...
4 votes
2 answers
1k views

Reading Inspire XML with GeoPandas

I am trying to plot the German Railway net from here, using GeoPandas. It downloads an Inspire XML file. gpd.read_file only seems to read the header. Importing it as a Pandas Dataframe with pd....
1 vote
1 answer
95 views

Save xml CityModel files to PostGIS

I'm trying to save CityModel xml files to our PostGIS Database with the files looking like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <core:...
0 votes
1 answer
269 views

PropertyIsEqualTo And PropertyIsLike filter

I'm trying to label points with a rule based on two fields: Text kkod I need to create a rule: "When the letter E is in Text field and kkod=79" then label with the Text field content. So ...
0 votes
1 answer
116 views

Python mapnik get TextSymbolizer bounding boxes

Is there a way to obtain the bounding boxes of each TextSymbolizer present on the map? For now, I'm using mapnik 3 and I create a map using a custom XML containing TextSymbolizer. I want to have ...

1
2 3 4 5
8