We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [gml]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
109 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
134 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
32 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 ...
1
vote
0answers
39 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
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 ...
2
votes
1answer
715 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
166 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
40 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
57 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
76 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
167 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
1answer
198 views

Convert GeoJSON to GML using an old GeoTools library

I'm trying to convert a GeoJSON file to GML 3.1.1 using an old org.geotools lib. geotools lib are 2.7.0 version. Sadly, upgrading is not an option. Here is the relevant part of my code: ...
2
votes
0answers
114 views

Protect spatial data with digital signature

I've been asked to provide a solution to protect spatial data (format .shp) with digital signature that are bundled together into a single file, much like signed PDF for example. I've been googling ...
0
votes
1answer
145 views

GML vector layer not rendering polygons

I regularly use land registry data from https://www.gov.uk/government/collections/download-inspire-index-polygons however at present the .gml, when adding a vector layer, renders points and not ...
1
vote
1answer
150 views

Add Points and Polygons to geoscript layer and write as GML

I have some geoscript code combines WFS and shapefile polygon layers together and writes the result as a GML file. It works fine. However, the client requires a new feature which should combine ...
4
votes
0answers
124 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:...
1
vote
0answers
238 views

Upload GML to Geoserver as Layer through REST

I have to upload a GML file to my geoserver through REST. I tried to use importer but it doesn't work (even manually). More specifically, the importer module never generate tasks automatically for GML....
2
votes
2answers
458 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 ...
0
votes
1answer
26 views

Where to find a Placename ID for Tennengebirge for use in GML?

I am new to GML and trying to create an Instance file - I need the ID for Tennengebirge but I am not sure how to find the Inspire ID for this Protected Site?
11
votes
1answer
1k views

Is srsName of “EPSG:4326” spec compliant in GML 3.1 / 3.2?

I sometimes see srsName="EPSG:4326" in GML documents (e.g. https://postgis.net/docs/ST_GeomFromGML.html, although my particular source is not public). The intent (except perhaps for axis order that ...
1
vote
0answers
101 views

Drawing GML data in OpenLayers2

I have a simple application that uses OpenLayers 2.13.1 to draw GML data pasted in a text box. There is already some default GML preloaded in textarea and it works fine. When you press "Add feature" ...
1
vote
1answer
641 views

Reading in a single polygon from a shapefile

I have a shapefile/GML file with many thousands of polygons insides a specific layer. I know the set of IDs that reference the set of polygons that I want to get the coordinates data from. Is there a ...
0
votes
1answer
696 views

Openlayers 3 + WFS GML2 layer wrong projection and displaying on wrong location

I have requested vector layer through WFS GetFeature from GeoServer in GML2 format but when displaying WFS layer its showing on different place. same layer i have requested in format Geojson its ...
0
votes
1answer
121 views

How to convert my GML/KML/SHP files into deegree workspace?

I am newbie in geographic and want to convert my GML file to deegree workspace. What I did so far I have download deegree and install it on local. Run the application and its service Now, I want ...
3
votes
3answers
3k views

Loading GML data into Postgres - No geom!

I'm trying to load an Environment Agency GML file into Postgres/PostGIS using ogr2ogr. The file loads fine, all the other data is there, but when I check the table in the database there is no geometry ...
3
votes
1answer
1k views

Creating simple citygml 3D models based on 2D shapefiles (alkis) shp2gml using Python?

How can I create a simple LoD1 citygml-model using Python?
1
vote
1answer
111 views

How to fix a mirrored GML file in ArcMap (Latitude & Longitude values reversed)

I want to import this file into ArcMap 10.4. On the page it says it's a csv, when downloaded it's a .text-file. I renamed it to GML, as they usually have GML on that platform, and the file content ...
0
votes
1answer
872 views

Editing GML data in QGIS and also in ArcGIS?

I have a GML file with graphical and non-graphical layers, it opens in QGIS 2.11.14 but it doesn't allow anything but read permission. I can't edit new attributes or rewrite it... it seems like the ...
0
votes
1answer
508 views

Writing features in GML format

I would like to use OpenLayers 3 to write GML features. Here is my code: proj4.defs("EPSG:25833", "+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"); prjCrs.epsg25832 = ol....
0
votes
1answer
4k views

How do I import this XML in QGIS?

This is the content of the file (excerpt): <geometry> <geometry_type>MULTISURFACE</geometry_type> <multi_surface> <id_geometry>885734</id_geometry>...
1
vote
0answers
86 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 ...
2
votes
1answer
540 views

Convert between different GML like formats

We have two different XML formats representing logically Geography Markup Language (GML), but they are our proprietary formats. Think of it like two separate groups looked at different formats using ...
0
votes
3answers
963 views

Open data on buildings in Montreal [closed]

Is there a resource for open data for the City of Montreal? I am specifically looking for building footprints.
0
votes
2answers
459 views

Map from point-data to region data in Python

I have a dataset that lists entities per district - where district is a named shape that exists on a map. I have a different dataset that contains entities of the same type, only instead of being ...
2
votes
1answer
156 views

How to convert OgrGML to Oracle gml

OgrGML and OracleGML format are not the same, I want to edit the parcel on QGIS which getting from OracleGML format. Is there any way to covert OgrGML to OracleGML and vise versa? (OracleGML format ...
1
vote
0answers
122 views

arcpy.QuickExport_interop crashing python when exporting to gml [closed]

arcpy.QuickExport_interop is crashing python when exporting to a gml. We are running ArcGIS 10.4.1 on a Windows Server 2012 R2. The same script runs successfully on two different desktops. Problem ...
1
vote
1answer
332 views

Adding Vector Data - WFS - can't add multiple features

I'm trying to add features to my OpenLayers map, by querying a publicly available WFS server which serves GML data. // initalize the map var map = new ol.Map({ layers: [ new ol.layer.Tile(...
4
votes
2answers
681 views

Which topology file formats are supported by QGIS?

I would like to know which topology file formats are supported by QGIS. I am particularly interested in displaying topologies encoded with TopoJSON or GML. But any other portable topology file ...
0
votes
0answers
186 views

OpenLayers 3 GML dimensions

I'm using OpenLayers 3.16 and trying to parse the GML I'm getting from a WFS source. It's parsing ok, well mostly, but OL is assuming it's in 2 dimensions, while actually it's in 3. Is there a way to ...
0
votes
0answers
607 views

Python library to create topologies [duplicate]

Is there any Python library that facilitates the creation of topologies? I would like to create topologies using an open and portable format such as TopoJSON or GML. The main goal is to save space in ...
0
votes
1answer
90 views

Writing GML causes XML encoding error?

I am using org.geotools version 2.7.0 and I am trying to get some shapefiles to GML 3.1.1. Sadly I got an exception: java.lang.RuntimeException: Encode failed for _Feature. Cause: ...
0
votes
1answer
152 views

Any experience with GML3.2 and WPS?

I have been trying out several solutions to try to work with GML 3.2 geometry served through WFS 2.0 data services. There seems to be very little experience and software out there that manages to ...
0
votes
1answer
102 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 ...
4
votes
1answer
2k views

How to convert gml:pos to latitude and longitude?

I'm trying to figure out the latitude and longitude of rail stations that are contained in this WMS feature list. I'm completely new to the GIS field, so please forgive me if I use the wrong terms ...
2
votes
0answers
60 views

GML Filename gives layer name of “PREDEFINED” when imported as vector layer

I am new (today) to QGIS and I have hit a problem almost immediately. Basically, I am trying to read in a number of GML files, each with unique names. However when I import them into QGIS they get ...
1
vote
1answer
251 views

Buffering multiple features with Geoserver WPS

I'm trying to create a buffer around more than one LineString feature at a time with geoserver 2.8.x. and openlayers 3. Currently, i can create a buffer around a single line feature with the following ...
3
votes
1answer
2k views

OpenLayers 3: Geometric OGC filters

How do I generate geometric OGC filters for use in a WFS GetFeature request such as: <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"> <ogc:Intersects> <ogc:PropertyName&...
1
vote
1answer
61 views

Import 2D GML file via OGR2OGR fails with “Did not get at least 3 values or invalid number of set of coordinates”

I have a GML file that seems to mix <gml:posList srsDimension="2"> and <gml:posList> records. OGR2OGR (understandably) crashes when reading these files: ERROR 1: Did not get at ...
1
vote
1answer
904 views

Loading GML data into Postgres with ogr2ogr

I'm working with a new OS dataset, Highways Network, trying to get it loaded into Postgres and set up in some kind of usable state. I've loaded all the data already, but it seems some elements of ...
1
vote
1answer
89 views

Storing GML Polygon in PostGIS 2, ERROR: unknown spatial reference system

I am receiving GML as part of a larger XML message. When I receive the XML it is unmarshalled to Java objects. I have no rights to alter the schemas or the generated Java code. Therefore, I later have ...