Questions tagged [gml]

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

48 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
117 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:...
3
votes
0answers
409 views

ogr2ogr imports GML data (not from OSM) to Postgis but without the other_tags “hstore”-column

The problem I'm encountering some issue trying to use ogr2ogr to import some GML input data (not OSM) into Postgres. I'm trying to use COLUMN_TYPES=other_tags=hstore to store all the fields not ...
2
votes
0answers
433 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 ...
2
votes
0answers
50 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. ...
2
votes
0answers
109 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 ...
2
votes
0answers
59 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 ...
2
votes
0answers
228 views

ogr2ogr: export intersected gml using shapefile

I'm trying to do the same as the ogr2ogr example given by https://gis.stackexchange.com/a/119404/6458 The difference is that my inputs are a GML and a shapefile. Export.shp should only contain the ...
2
votes
0answers
200 views

Converting GML to Geodatabase format by using Productivity Suite software

I am using ArcGIS Desktop 10.2 version and would like to import MasterMap Integrated Transport Network from Digimap to ArcGIS, So I was following the steps: Install Productivity Suites v 3.4.1 ...
2
votes
0answers
153 views

extraction of metadata from gml file

I am in the need to extract metadata in XML format from a gml file following the standard ISO 19115 Can anyone suggest to me how to do that Is there any open source for the same
2
votes
0answers
651 views

Import GML data in SQL Server Spatial

I have GML file with Application Schema whose data I need to import into SQL Server Spatial. I have been creted database structure with all thing that I need in database, and now I need to fill it ...
2
votes
0answers
2k views

How to load an external WFS (GML output format) in a Leaflet map?

I need to build a Leaflet map loading data from this external WFS service http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/wfs/Numeri_Civici_2012.map&service=WFS&request=GetCapabilities& ...
2
votes
0answers
903 views

OGR-Driver GML axis order handling (GDAL, QGIS)

By default the OGR-Driver will swap the axis order to longitude, latitude for geographic coordinate systems. "Since OGR 1.8.0, the GML driver has coordinate system support. This is only reported ...
1
vote
0answers
23 views

How to show Turn Restriction data from OS MasterMap Highways on the map?

I want to obtain the location and details of all turn restrictions from the OS MasterMap Highway Network datasets I have. I tried loading the Turn Restriction dataset into QGIS but it does not read ...
1
vote
0answers
34 views

Topology Error building polygon

I retrieve a response from the wfs_gnde from BKG in Germany using the following URL and request. http : // sg.geodatenzentrum.de / wfs_gnde <GetFeature version='1.1.0' service='WFS' ...
1
vote
0answers
54 views

GML file converted to ESRI shapefile with ogr2ogr missing spatial reference information

I am trying to convert Sentinel-2 cloud masks from GML format to ESRI shapefiles. I have managed to use ogr2ogr in a python script as described in the answer to Using ogr2ogr to convert GML to ...
1
vote
1answer
41 views

Changing name of file download from browser app?

I am developing browser application using MapServer and JavaScript. I've got part where on map click I get FeatureInfo about an object: function getFeatureInfoGML(map){ var openwindowhandle=...
1
vote
0answers
310 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 ...
1
vote
0answers
84 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
179 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 ...
1
vote
0answers
85 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 +...
1
vote
0answers
38 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 ...
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
0answers
225 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....
1
vote
0answers
99 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
0answers
395 views

Unable to import .gml MasterMap files

I'm new to MapInfo and am struggling to import .gml OS mastermap files. The .gml is created by converting the .gz data that OS provide to .gml using the following batch file: FOR /R "D:\path\to\...
1
vote
0answers
3k views

Loading GML schema file on QGIS

I am Very New to GML format. first of all, I have came to the assumption that a schema file will display gml in a particular style as defined by the schema, similar to the way i load a .qml on a ...
1
vote
0answers
47 views

How WCS returns GML to Client?

I have searched many information in Internet but don't know for example how to implement a WCS service like GeoServer. I suppose they a Geo Sever need to use some (GML Schema like version GML 3.2.1 to ...
1
vote
0answers
277 views

JTS Geometry to GML3.1 encoding

I searched all the internet and I didn't find a solution to my problem. I want to convert a JTS geometry to a GML3.1 geometry. Geo tools says that have support but the have not (please check encode ...
1
vote
0answers
164 views

How to load ALKIS (GML3) data in GeoTools

I wonder how I can load ALKIS GML (German gov geo data) in GeoTools. Here is a small sample dataset from the government: http://www.schleswig-holstein.de/LVERMGEOSH/DE/Service/Download/Testdaten/...
1
vote
0answers
201 views

Disabling XML schema when using GML3 decodeFeatureCollection in GeoTools

I wrote some code based on http://docs.geotools.org/stable/userguide/library/xml/geometry.html#id6 GML gml = new GML(Version.GML3); try { InputStream in = new FileInputStream("file.gml"); ...
1
vote
0answers
293 views

Parse GML with OpenLayers

In our project we do a GetFeature request to a WFS service. This service returns some GML. To parse this GML, we are playing with the GML parser of OpenLayers. This is working as long the GML isn't '...
1
vote
0answers
380 views

Tutorials related to the transformation of building geometries from CityGML to KML/Collada?

I have some 3D building geometries in CityGML that I want to transform into KML/KMZ. Apparently the way KML works is to build the geometry in Collada and do the georeferencing in the actual KML file. ...
1
vote
0answers
78 views

OpenLayers2 - Get LayerName from GML Response object

I am using the WMGetFeatureInfo control in OpenLayers to select items from my layers and return GML. I use this to get an attribute from the GML; var val = evt.features[0].attributes.UID; //Where ...
1
vote
0answers
63 views

Problem with Taverna?

I want to use Taverna to call an OGC WFS, and the file returned from WFS is GML, but what I want is SVG, so I have to convert GML to SVG by using Taverna. The Method I used ExecuteProcess_gml2svg, ...
1
vote
0answers
329 views

PostGIS reports invalid Curve GML

PostGIS version POSTGIS="1.5.3" GEOS="3.3.1-CAPI-1.7.1" PROJ="Rel. 4.7.1, 23 September 2009" LIBXML="2.7.3" USE_STATS Postgresql version PostgreSQL 9.1.2 I'm having issues inserting Curves into a ...
1
vote
0answers
109 views

Getting started with storing LoST and GML searching

I am working on a logging and search database application. The application will receive event records containing XML LoST values (RFC5222 Location-To-Service-Translation). These records will be ...
0
votes
0answers
23 views

Encoding non-mandatory feature properties in WFS/GML?

In what ways can non-mandatory feature properties be encoded in feature type schema (WFS 2.0/GML 3.2.1 with GML features)?
0
votes
0answers
38 views

Spatial intersection of features (Oracle Spatial) with a line stored in a local gml file?

Interesting sites are stored as polygon features are stored in an Oracle Spatial read only dB. I have a local GML file containing a line (EPSG:31370 - corresponding to a trajectory over a couple of ...
0
votes
0answers
41 views

How do I search for features within another feature using WFS OGC

I understand I can write a GML query like this... <wfs:GetFeature xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://giswebservices....
0
votes
0answers
45 views

I can not Add GML Layer in OpenLayers 4

I use openlayers 4 and gml layer is file type, but when i add gml layer to map using ol4, i have a ploblem. Gml is polygon but it appear as some point in map. Can not anybody help me? Below is my ...
0
votes
0answers
52 views

No geometry when importing 3D building model GML into PostGIS

I'm attempting to import a GML file containing 3D building models into PostGIS using ogr2ogr. ogr2ogr -f PostgreSQL PG:"host=${hostname} port=${port} dbname=${db} \ user=${user} password=${...
0
votes
1answer
209 views

Open with QGIS a GML file (INSPIRE schema) created with hale studio

I'm trying to export in gml the transformed data of "Basic hydrography example" of hale studio and to add the file in QGIS, using the plugin GML application schema toolbox. The GML exported should be ...
0
votes
0answers
31 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. ...
0
votes
0answers
320 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 ...
0
votes
0answers
102 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 ...
0
votes
0answers
183 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
1answer
94 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
0answers
1k views

Problem with ST_IsValid: Unknown geometry type: 9 - CompoundCurve

The following is an example of a gml:Curve that was loaded into Postgres using FME. <gml:Curve srsName="urn:ogc:def:crs:EPSG::27700" gml:id="os.vmd.ny.38124.geom"> <gml:segments> <gml:...