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

learn more… | top users | synonyms

5
votes
1answer
662 views

How to add GML files in geoserver 2.2.2?

How can I add GML files to a GeoServer 2.2.2 instance? How can edit them "on the fly" and save the results back to the server using OpenLayers? I would appreciate examples if possible. I'm adding a ...
4
votes
1answer
224 views

Linux Tool to visualize CityGML file

I am looking for a linux program that allows me to visualize CityGML models (3D). I have tried a whole bunch so far (most of them via wine but also native ones) but I couldn't get a single one of them ...
3
votes
1answer
51 views

QGIS won't display GML features

I have a 90 MB GML with about 3000 features but QGIS only shows the first three. The fourth feature is a multipart polyline. This an the extract of the feature: <?xml version="1.0" encoding="UTF-8"...
2
votes
1answer
102 views

Correct syntax for retrieving features from GML format in OpenLayers

Yesterday I made with qgis the shapefiles of my town and now I wanted to add them in a web application I'm making with OpenLayers. The problem is that, while it loads them perfectly with the wms ...
2
votes
1answer
733 views

Problem with writing the srsName into gml output in OpenLayers

I am trying to write out my geometry in gml format after it is drawn in OpenLayers. Actually it is working fine, I get the gml like this: <gml:Polygon> <gml:outerBoundaryIs> <gml:...
1
vote
1answer
297 views

Geoserver 2.5.2 upgrade - now GeoJSON and GML WFS not working

I've recently migrated Geoserver from a Geoserver 2.1 to a clean install of Geoserver 2.5 and copied across my data files. However, I'm not finding that clicking Layer Preview, going to the All ...
1
vote
1answer
259 views

How to modify gml using openlayers?

i have to edit GML file in openlayers but i am not able to do same. please guide me with some code if possible. i also have to save edited data to hard disk using openlayers Thanks for any help....
4
votes
0answers
280 views

PostGIS 2.0 st_geomfromgml using LineString fails with invalid GML representation

I am attempting to insert a geometry into a table using the st_geomfromgml function. The GML is being sourced from a Geoserver WFS request. The function call looks like this st_geomfromgml('<?...
4
votes
0answers
326 views

Can GeoTools parse GML CRS definitions?

A kind of branching of this question. Soon I will need to handle GML Coordinate Reference Sysyem definitions in a Java servlet. Links: GML OGC reference. Concrete example. I know that GeoTools ...
4
votes
0answers
705 views

Why doesn't the gml 3.1.1 schema validate with xmllint?

Running xmllint on the gml 3.1.1 schema fails, even though the release notes claim that this release was created to get the schema to validate using 'common tools'. There's questions about this on ...
3
votes
0answers
60 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 ...
3
votes
0answers
947 views

What is the best way to convert WKT String to GML String

What is the best way to programatically convert WKT String to GML String? Every reasonable library (at best available in some Maven repository) can be used. Till now I came up with this solution ...
2
votes
0answers
78 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: 1 Install Productivity Suites v 3.4.1 2 ...
2
votes
0answers
44 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
301 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
251 views

Validate a gml file

I receive a gml-like response from a RESTful Web service. It looks good for me but I can not imported in QGIS. Is there an online validation tool for a valid gml file? Or am I missing something for ...
2
votes
0answers
580 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
93 views

Generating C# classes for gml.xsd using MS Visual studio xsd tool

With Microsoft Visual Studio 2010 comes a tool called xsd which can automatically generate C# source code to easily deal with XML files corresponding to a given schema. I have a very complex XSD ...
1
vote
0answers
71 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
140 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
24 views

Can GML contain symbology?

I know that KML can contain symbology in it. I understand that GML is the open version of it. Can GML contain symbology too?
1
vote
0answers
19 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
65 views

ogr2ogr: export intersected gml using shapefile

I'm trying to do the same as the ogr2ogr example given by http://gis.stackexchange.com/a/119404/6458 The difference is that my inputs are a GML and a shapefile. Export.shp should only contain the ...
1
vote
0answers
118 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
70 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
66 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
171 views

QGIS 2.4.0 doesn't support multiple types of geometry in GML file

I'm testing GML 3.2.1 data according to INSPIRE Data specification (version 3.0). Data for theme Cadastral Parcels shall have both polygon geometry and definition point. When I download data from my ...
1
vote
0answers
692 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 with ...
1
vote
0answers
136 views

Parse GML with Openlayers

In our project we do a GET 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 'complex'....
1
vote
0answers
175 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
55 views

OpenLayers - 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
53 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
261 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
100 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
15 views

gml:pos DMSH representation

For GIS I am a NOOB. I've searched extensively but cannot find palatable information on the different options one has to encode a coordinate in gml:pos. All the examples seems to be decimal degrees i....
0
votes
0answers
16 views

Convert Gml to Shapefile in C#

I need to convert a GML file to Shape in C#. I installed gdal with nuget, but could not get it to work. I also tried NetTopologySuite, but i am getting errors when parsing Gml. Any other suggestions, ...
0
votes
0answers
14 views

Wrong WFS requests with OpenLayers 2.13 using filter and BBOX strategy

I am using OpenLayers to request multiple filtered WFS layers using the BBOX strategy. I tried two methods but both don't give the result I want, the first one defines the Protocol separately from the ...
0
votes
0answers
21 views

ogr2ogr failed to create GFS file when converting to GML

I'm trying to convert a simple Shapefile to GML using ogr2ogr commandline tool on Windows. Here's the command: ogr2ogr -f "GML" "C:\Users\root\Bundeslaender\Bundeslaender.gml" "C:\Users\root\...
0
votes
0answers
19 views

Transforming GML into image?

I am looking for a simple way to transform a GML file into an image. I have a number of SLD files to provide the formatting. In the past we used an XSLT style sheet to transform the GML into a SVG ...
0
votes
0answers
44 views

Export data from gdb to gml

How do I export my *.gdb/shp to gml files? I am new to this and I have no idea were to start: so tip and tricks are welcome. (We use: data interoperability license and we use AGS 10.1 and Arcmap 10....
0
votes
0answers
238 views

Loading GML files to Mapinfo

I'm currently using MapInfo 12.5, I need to view certain gml files that I get (.gml format) using Mapinfo and use it to manipulate different layers. When I try to use the inbuilt "Import table" in ...
0
votes
0answers
47 views

Load gml strings from an excel file

I have some gml strings in an excel file (example: gml:Point xmlns:gml="http://www.opengis.net/gml" srsName="xx" srsDimension="xx" gml:pos xx /gml:pos /gml:Point). I want to load these in ArcMap, but ...
0
votes
0answers
436 views

How to load GML to OL3?

I'm trying to load gml into openlayers3 there is the code: <html> <head> <title>Vector layer example</title> <link rel="stylesheet" href="ol3/ol.css" type="text/css"...
0
votes
0answers
291 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:...
0
votes
0answers
88 views

GML code with two objects

I have two objects to encode in GML: A road (Name: E22, Type: Motorway, Geometry: Line) A municipality (Name: Lund, Inhabitants: 100 000, Geometry: Polygon) My code is writen as below. Can ...
0
votes
0answers
44 views

Creating hierarchy of Feature Elements in MapForce

I use FME to translate SQLServer tables into gml document. In FME, I make one-one connections (every feature type produces new feature type in output). This document is not 'structured' as I want. ...
0
votes
0answers
370 views

FME converter from DWG to Openlayers supported format

FME converter is best software that i found till now to convert DWG to some open format vector data file supported by OpenLayers , but it got very awful convert from DWG to KML/GML it drawing ...
0
votes
0answers
350 views

GML v3 loading with OpenLayers

I rewrote the question to be more readable: I saw GML format is just a little more 'evolved' than KML. Am I right? Which format is to be considered more standard, more supported and convenient to ...
0
votes
0answers
134 views

Issue loading GML with Openlayers no obvious error

i'm newbie using openlayers, there are no error in my firebug, but, my GML can't show in my browser, what should i do? this is my GML from result of converting my shapefile with ogr2gui : <?...
0
votes
0answers
66 views

How to obtain the center of Vector layer created using WFS query?

I created a vector GML layer using a WFS query with a filter. The layer renders fine . However, the layer does not appear to have any features associated with it (layer.features.length is 0 ) I need ...