Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [gml]

Geography Markup Language (GML) is an OGC Standard for expressing geographical features.

0
votes
1answer
26 views

Seeking Open source Tools for GML in ArcGIS and gvSIG?

I’m searching open source tools for ArcGIS Desktop 10.5 and gvSIG 2.4 to load and write complex GML data for example INSPIRE GML. I have not the possibility to install interoperability or INSPIRE ...
0
votes
0answers
21 views

Selecting multipatch features in multiple .gml datasets and exporting them as a shapefile

I have hundreds of .gml datasets containing multipatch feature classes that I want to export as shapefiles to a folder. The problem is that none of the List Functions can read them in .gml datasets. ...
-1
votes
0answers
15 views

Is there any way I could convert the GML cloudmask provided by ESA to raster?

I was trying to get the cloud mask in GMLlL format provided by ESA to a raster cloud mask. I was trying to convert the GML to a shapefile first and then convert the shapefile to a raster. Is there any ...
0
votes
1answer
42 views

Openlayers - parse WFS features to create Attribute Table

I am trying to parse this WFS to create an Attribute Table with HTML having the fields as headers and their values as attributes. I saved the GetFeature response in a variable (features) which I'd ...
2
votes
1answer
128 views

Using ogr2ogr to convert multiple GML files to a postgis table

I have a folder with 150 .gml (addressbase) files I need to upload to my postGIS/postgres database. After the first gml is uploaded, the rest will be appended to it to form a single table. However I ...
1
vote
0answers
58 views

Reading data to geopandas using WFS - GML format

This relates to the question here: Reading data to geopandas using WFS? Is there a way to to do the same with a service that does not supply the data in GeoJSON format, but in GML-format? The ...
0
votes
1answer
33 views

Edit and transform XML/GML files

I'm searching for an approach as someone who just started to work with geodata recently. It's about the following situation: I received several XML files. I need to perform a geometric difference ...
0
votes
1answer
33 views

Batch convertion of .tab files to a single .gml using ogr2ogr

My task is to convert .tab files from a directory (C:\Users\Vadim\Downloads\vec\MapInfo\snp) to a single GML file (snp.gml). I use OSGeo4w Shell. So I wrote a following command: ogr2ogr -f "GML" C:\...
0
votes
0answers
47 views

Interpolated arc is smaller than expected using turf.js

Background We are supplied with some AIXM data (an XML based superset of GML) which describes polygon areas on a map as a mix of GeodesicStrings (a list of coordinates) and ArcByCentrePoints (a ...
0
votes
1answer
57 views

GML axis order problem in QGIS

Is there any reason why QGIS swap axis order if CRS (EPSG:3908) is defined inside GML, for example: <au:geometry> <gml:MultiSurface gml:id="_42d05737-123d-4a52-a655-aef968cd9511" srsName=...
0
votes
1answer
77 views

readFeatures from GML in OpenLayers4

I have an XML data. I simply need to get coordinates of a feature from XML to zoom the map on it. But when I try to read it I get nothing. What am I doing wrong? Have any idea? //got a text from a ...
1
vote
2answers
58 views

Issue with FEMA OGC Web Feature Service returning HTTP 400 error when attempting to download GML file

I'm trying to use an OGC web feature service in some software I am involved in developing. The service is described at the bottom of this page: https://hazards.fema.gov/femaportal/wps/portal/NFHLWMS ...
2
votes
1answer
61 views

Geoserver - PostGIS : WFS-Transaction update exception error-Parsing failed for Point:

I tried to perform a transaction update, but it failed with this exception message: <owsExceptionReport.xsd"> <ows:Exception exceptionCode="NoApplicableCode"> <ows:...
1
vote
1answer
101 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
33 views

GeoTools: Encode into GML 3 not working

I want to use GeoTools to convert collection of SimpleFeature objects to GML 3.2.1 geometry. However, I'm dealing with this: Creation of XSD works with both GML 2 and 3. Creation of GML works only ...
1
vote
0answers
233 views

GML/SVG for indoor map in OpenLayers 4?

I am new to GIS world and trying to incorporate OpenLayers with GML or SVG. I am building a map engine and one of the features should be support of indoor maps. It can be accomplished with a static ...
1
vote
1answer
164 views

WFS filter for property name

I need help with WFS filtering for GML. I want to filter only by one property (name of administrative unit) - that is all. Lets say I would like to get the second member of this GML: http://services....
0
votes
1answer
143 views

Adding all polygons in GML from MapServer to openlayers using WFS

I want to show the contents from MapServer (returned as GML given below) as WFS layer in OpenLayers map (OpenLayers v5.0.0). The problem is that only one polygon is added to the map. Here is the code ...
0
votes
0answers
21 views

ArcByCenterPoint drawing representation in QGIS 3

I have a GML file with some geometry description. One of these geometries contained <gml: arcbycenterpoint > definition. I tried to import this file written in GML directly in QGIS 3. It doesn'...
1
vote
0answers
61 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?...
0
votes
1answer
38 views

Geoserver WFS Feature Schema Enumeration of Strings

Basically, I'm trying to limit the values that can be provided by a WFS transaction. So the original schema I've got for this simple test feature here <xsd:complexType name="secondfeatureType"> ...
0
votes
1answer
32 views

Why can't I load a WFS into Openlayers: “TypeError: null is not an object (evaluating 'Ob(d).b')”

I am teaching myself the use of Services (WFS) in and OpenLayers itself. As far as I know I managed to get a proper gml-file (GML2, I hope [EDIT: It is GML 3.1, I figured]) from a governmental server ...
0
votes
0answers
70 views

How to read GML version 3.2 in OpenLayers?

I'm trying to read WFS features but the only format is GML 3.2. Is it possible to implement readFeatures method from WFS.format() with GML version 3.2?
1
vote
0answers
110 views

OpenLayers WFS service with GML

I'm trying to get features from WFS service, this service using stored queries. I've managed to retrieve data both with axios and XMLHttpRequest. But the problem in the reading features and showing ...
3
votes
0answers
41 views

Software support for GML 3.3 Linear Referencing?

Are you aware of any software supporting import/export of Linear Referencing data in GML version 3.3 format? Apparently no software application, proprietary or FOSS, currently supports it explicitly. ...
-1
votes
1answer
134 views

How to assign .xsd for ogr2ogr

GMLAS link: http://www.gdal.org/drv_gmlas.html I want to convert my gml file to shapefiles. But our gml files was created by custom gml schema. We have their application schema, xsd. But i don't know ...
1
vote
0answers
62 views

GML of geostationary satellite projection

I'm trying to convert geostationary satellite projection from Proj4 string to GML with GDAL. I use this Proj4 string: +proj=geos +lon_0=104.5 +h=35785865.7741 +x_0=0 +y_0=0 +a=6378160 +b=6356775 +...
0
votes
0answers
24 views

Converting Personal geodatabase to GML format using ArcGIS Desktop? [duplicate]

I am working on ArcGIS 10.3. Does anyone know how to convert a personal geodatabase into a GML format?
1
vote
2answers
54 views

Geometry not showing when importing Dutch BRT-files (GML)

After importing a couple of gml files (Dutch BRT-files) into QGIS I noticed that some of the layers didn't seem to contain any geometry, the database (attribute table) is there, but no geometry is ...
0
votes
0answers
101 views

Batch converting GML/XML to Shapefile - Getting glitches

We have been using the bellow script for a few years to convert and combine GML data into new Shapefiles for each layer. 99% of the time it works fine, but we have run into the same glitch that is now ...
1
vote
3answers
440 views

Reading GML features in OpenLayers 4?

I use OpenLayers 4.6 and I want to read a feature from GML string. The GML looks like: <?xml version="1.0" encoding="UTF-8"?> <gml:Polygon xmlns:gml="http://www.opengis.net/gml" xmlns:...
1
vote
1answer
108 views

GeoTools includes repeated prefix in GML output

When attempting to write out GML encoded features that were originally collected using the Geotools WFS plugin (gt-wfs-ng), it looks like the GML output is incorrectly duplicating the feature's prefix ...
3
votes
1answer
307 views

Convert gml to raster in QGIS

I have a dataset of type citygml (*.gml). It includes information about buildings and their rooftypes. you can find a sample file here: https://www.opengeodata.nrw.de/produkte/geobasis/3d-gm/3d-...
1
vote
0answers
39 views

WFS in OpenLayers4 returns data but doesn't display any [duplicate]

I can't get this WFS to work. I tried to stick to the OL-WFS examples - no luck. let vectorLayer = new ol.source.Vector({ format: new ol.format.GML(), url: function(extent) { return 'https://...
0
votes
0answers
147 views

Error: The requested Style can not be used with this layer

I'm trying to calculate the area of a polygon using the code from this page and I'm getting the following error The requested Style can not be used with this layer. The style specifies an ...
1
vote
3answers
64 views

Getting writer in FME to output as appointed filetype while using FilenamePartExtractor?

My goal is to merge all shapefiles in the same folder and outputting them as a gml with name of the folder. So it looks like this: Main Dir Set1 roads.shp buildings.shp Set 2 roads.shp ... I ...
0
votes
0answers
67 views

Using WMSGetFeatureInfo() of OpenLayers in Firefox?

I'm trying to read features from the response of an AJAX request using new ol.format.WMSGetFeatureInfo().readFeatures(parameter).The response format is application/vnd.ogc.gml (XML). The thing is that ...
2
votes
1answer
74 views

What is the conceptual meaning of featureMember in GML?

In GML there is this tag: <gml:featureMember> I am looking for the conceptual meaning of it, but i only find syntax explanations.
0
votes
1answer
26 views

Check whether GML contains elevation info?

How can I check in QGIS whether a GML file has elevation information, or z coordinates? It definitely has some overlapping polygons, but I'm not sure whether the ordering of the overlap is specified ...
0
votes
0answers
100 views

Can't open GML with ogrinfo: “Xerces or Expat support not configured into GDAL/OGR”

ogrinfo -al xx.gml gives me this error: ERROR 1: Unable to create Xerces C++ or Expat based GML reader, Xerces or Expat support not configured into GDAL/OGR. ERROR 1: File xx.gml appears to be GML ...
1
vote
0answers
30 views

Use GeoTools to read WaterML files

I want to read WaterML 2.0 time series. I am totally new to WaterML but I read it rely on GML 3.2. It would be great to use GeoTools to do that, maybe extending the GML classes. Is there some docs or ...
0
votes
1answer
1k 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 ...
2
votes
1answer
452 views

Load LoD2 files into QGIS

is it possible to load the geometry of LoD2 files in CityGML format (gml:LinearRing from bldg:GroundSurface) as GML layer in QGIS? Here is an example content of a citygml file: <?xml version="...
1
vote
1answer
119 views

Geoserver WFS-T insert exception

I'm creating a new WFS-T feature but I'm getting the below exception when I try to send the feature: No such feature type http://IP:PORT/geoserver/CARBONITA:bairros link to gist: https://gist....
1
vote
0answers
34 views

feature with multiple id used for style

I have features with multiple themeID, for example, themeID=49 and themeID=53, and when I load them into qgis it shows attribute themeID=(2:49,53). The problem is that I use themeID in sld to choose ...
1
vote
1answer
42 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
0answers
48 views

Encode a shapefile in gml 3.2 [duplicate]

I am not so seasoned about gis and geotools, I am trying to encode a feature collection obtained by a shapefile in gml 3.2. Here is my code: @Test public void transformAccumuliDiFranaShapeToGml32() ...
0
votes
1answer
119 views

Deal with large GML files with GeoTools

I am not so seasoned at GeoTools libs, I am trying to transform a large (near 60K features) GML file. I want to change its CRS and features coordinates accordingly. The code I have is basically this: ...
0
votes
0answers
302 views

readOGR cannot read a GML file

I want to use a function mapunit_geom_by_ll_bbox from soilDB package in R which is supposed to download a GML file containing from the web, and read the GML using readOGR to return me an ...
0
votes
0answers
23 views

Importing OS sites layer into ArcMap?

I'm trying to create a map for my friends dissertation but have never had to use the OS sites file type before. I believe it downloads as a compressed .gml file but I'm having trouble actually ...