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 ...
Taras's user avatar
  • 31.4k
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-...
Selma's user avatar
  • 301
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 ...
苏云明's user avatar
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-...
Vitaliy's user avatar
  • 21
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 ...
Margaux UQAR's user avatar
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 ...
KodakAsis's user avatar
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 ...
shabnam's user avatar
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: '...
freecma80's user avatar
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 ...
jencoston's user avatar
  • 101
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 ...
meg's user avatar
  • 41
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, ...
Anna-Lena 's user avatar
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&...
user224886's user avatar
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 ...
data en's user avatar
  • 145
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....
Marco Antônio de Lima Costa's user avatar
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 ...
Duc Thao's user avatar
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 ...
SomeOne's user avatar
  • 41
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(),...
dmjf08's user avatar
  • 1,097
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 ...
user196004's user avatar
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&...
zabop's user avatar
  • 1,570
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 ...
saQuist's user avatar
  • 716
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-...
zabop's user avatar
  • 1,570
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 ...
User1974's user avatar
  • 1,114
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....
Laura 's user avatar
  • 13
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'. ...
mvoermans's user avatar
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?
Mohammad Hosseingholizadeh's user avatar
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; ...
work's user avatar
  • 73
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....
work's user avatar
  • 73
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....
Maartenk's user avatar
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 ...
BERA's user avatar
  • 68.9k
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:...
Phil's user avatar
  • 171
0 votes
1 answer
134 views

Trying to achieve desired output of KML in R as seen in GIS software. Not sure what the problem is

library(sf) library(tidyverse) library(maps) world_map_data <- ne_countries(scale = "medium", returnclass = "sf") state_map_data <- map('state', fill = TRUE, plot = FALSE) %&...
bob0901's user avatar
  • 11
0 votes
1 answer
918 views

How to obtain information from TIFF and XML file

I am downloading data of http://www.earthstat.org/harvested-area-yield-175-crops/#ind-crops, which gives me the harvest area of different crops around all the world. Once I downloaded the data for one ...
OgeiD's user avatar
  • 522
0 votes
1 answer
356 views

Import XML on QGIS, not working LandXML

I've a problem importing XML data on QGIS, I tried with the plugin LandXML but I read in some others answer here that probably it doesn't work because it is not landXML. Do you know what I could do? ...
giulia1010's user avatar
1 vote
1 answer
320 views

Import single OSM feature XML into QGIS 3

I am aware of the great QGIS plugin QuickOSM to download OSM features into QGIS, and I know that QGIS supports importing a .osm file that was downloaded from an exported view like this one, however: ...
stragu's user avatar
  • 228
0 votes
0 answers
1k views

Importing LandXML data to QGIS 3.22.3

I am fairly new to QGIS and working in the Environmental Impact field as a noise specialist. We use a noise modelling software called CadnaA which is powerful, but not very user-friendly. To get ...
Jason Hutten's user avatar
3 votes
1 answer
248 views

Opening "Kataster/DKM - Grundstücke" files in QGIS

This website seems to provide cadastre data for Styria (a state in Austria). Writing kataster in the search (Suche) field gives: If I click on the third result, i.e. "Kataster/DKM - Grundstücke&...
zabop's user avatar
  • 1,570
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 ...
BFlat's user avatar
  • 384
0 votes
1 answer
1k views

How to upload .gpx.xml files into QGIS?

I have a file with the following extension .gpx.xml taken from the following website: walking However, I don't know how to import the file when it's both in .xml format and .gpx format. What methods ...
joe_bill.dollar's user avatar
1 vote
0 answers
66 views

Extracting useful data from ArcGIS Pro results output xml

I have a very large iterative operation in ArcGIS Pro that takes days, or weeks to complete. I have to run it on 20 regional datasets for England and Wales. For a small dataset, like Bedfordshire, it ...
Bruce Mitchell's user avatar
0 votes
0 answers
221 views

OWSLib post request

I am trying to generate a post request with owslib python library. However, I am getting an error when trying to filter the result. from owslib.fes import * from owslib.wfs import WebFeatureService # ...
swisscheese_95's user avatar
1 vote
1 answer
1k views

Applying multiple filters using Geoserver SLD styling

I have vector point data being served via Geoserver, with layer styling being applied using an SLD stylesheet. I've created a number of styling rules to symbolise these points, and I'd like to ...
Robbi Bishop-Taylor's user avatar
1 vote
0 answers
76 views

FME Reading SLD problems

I am trying to parse an SLD file (which is XML) and generate a CSV output based on the rules within it. The following is a sample of the SLD structure <?xml version="1.0" encoding="...
tjmgis's user avatar
  • 3,300
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 ...
Ausdee's user avatar
  • 11
2 votes
1 answer
571 views

Using WMS XML in gdal.Translate()

I am using gdal.Translate() of Python instead of command line gdal_translate. Most of the options in GDAL. Translate are the same with gdal_translate and I could find them easily in gdal....
Skarl001's user avatar
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=&...
vepzfe's user avatar
  • 113
0 votes
1 answer
68 views

How fix error error de xml XmlPullParserExceptionen Python, Django

Using the Python requests library I need to make a query through an XML to GeoServer which I need to return a GeoTIFF format image. This is the query: def ParqueNacional(request): context={} ...
Marcel's user avatar
  • 1
0 votes
0 answers
47 views

Exporting two layers' data as geospatially dependent tables (preferably to XML) using QGIS

I am pretty new to in-depth GIS Work, so I may be using the wrong terminology. If I have a map in QGIS where I have two layers, can I export their tables, with the bottom layer info being sorted ...
dlamp's user avatar
  • 1
-1 votes
1 answer
332 views

Leaftletjs load XML and GeoJSON

I found below piece of code which loads GeoJSON from USGS then shows circle and set radius. This works fine when tested. (function () { var FEED1 = 'http://earthquake.usgs.gov/earthquakes/feed/...
miro's user avatar
  • 59
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&...
Manuel Popp's user avatar
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 ...
franco_b's user avatar
  • 522

1
2 3 4 5
8