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

learn more… | top users | synonyms

9
votes
2answers
999 views

Why does one part of GML -> KML conversion not work on Google Maps?

Brand new to all of this, not even sure this is the right forum to ask in... I have a client who wants to visualise cancer incidence and mortality rates by local/unitary authority across Great ...
1
vote
2answers
58 views

Is it possible to export a XSD from a GML

I want to export a XSD from a GML. I already have the GML and I want to export a XSD that fits the GML For an ETL tool we've programmed, people have to deliver a GML, XML and XSD. Those people ...
0
votes
2answers
41 views

Adding Drawn Feature to existing Layer

-A layer that contains multiple features - I want to draw new features with new OpenLayers.Control.DrawFeature and to add them to my layer. var control = new ...
4
votes
1answer
338 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. sir i m ...
2
votes
1answer
43 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
83 views

How to get a GML overlay on Google Maps?

Anyone know how to get a GML file to show as an overlay on Google Maps? To be honest I don't know my GML from my KML, or my ETRS89 from my WGS84, as this topic is completely new to me. A bit of ...
2
votes
1answer
401 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> ...
2
votes
1answer
422 views

PostGIS: ST_Transform function conversion problem

I'm inserting map data from a GML file with srid EPSG:27700 into a PostGIS database table with srid EPSG:4326. I'm using the ST_Transform function as in this snippet: ...
1
vote
1answer
116 views

Creating a postgis database a GML application schema

Is there any open Source tool(automated or semi-automated) that converts GML application schema to a POSTGIS database/table .Specifically I have a huge application schema containing many ...
1
vote
1answer
279 views

How to write GML and GeoJSON features while retaining attributes in .NET?

I am developing a .NET project [C#] that needs to export/write features as GML and GeoJSON, including, of course, the attributes; data could queried by a database or manually entered. I checked ...
1
vote
1answer
172 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.... ...
0
votes
1answer
17 views

GML TimePeriod mapping in MapForce

I made SQLServer database structure based on xsd schema I got. In that schema two fields have gml:TimePeriodType. In database I put two columns for each field of this type (begin and end) and the ...
0
votes
1answer
70 views

Simple georeferenced 3D data format for building models

I am looking for a simple georeferenced 3D-data format to store very simple building models. Each building should be represented as a number of poylgons, semantics do not matter. It would be ideal if ...
4
votes
0answers
192 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 ...
4
votes
0answers
269 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
479 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
107 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
0answers
500 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
108 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 ...
1
vote
0answers
36 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
16 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
1
vote
0answers
61 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 ...
1
vote
0answers
41 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 ...
1
vote
0answers
36 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
142 views

Editor to work on GML files

I am looking for a good way to work on GML files and would appreciate some personal experience. At the moment I am using nXML or SGML mode for Emacs but I wouldnt mind having an IDE/Emacs mode/... ...
1
vote
0answers
35 views

Problem with taverna

I want to use taverna to call 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,which ...
1
vote
0answers
199 views

GeoServer WMS OGC-filter fails with “I dont understand the tag: gml:Polygon”

I'm trying to construct an OGC filter to pass to a WMS GetMap request to GeoServer but I can't seem to do it. The goal is to show the parts of the layer that intersects with a supplied polygon. ...
1
vote
0answers
364 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
183 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
95 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
27 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
43 views

Parsing GML results in empty FeatureCollection

I am issuing a call to a WMS to get feature information. <?xml version="1.0" encoding="UTF-8"?> <wfs:FeatureCollection xmlns="http://www.opengis.net/wfs" ...
0
votes
0answers
148 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 ...
0
votes
0answers
23 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
40 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. ...
0
votes
0answers
38 views

csv to INSPIRE gml problem in FME Desktop 2014

I have .csv file with id, name, lat, long and other. I just cannot make gml writer to write geometry tags. I mean something like . How can I read this things from my .cvs? What am I missing? fme is ...
0
votes
0answers
49 views

Read an INSPIRE GML in QGIS2.0 : gml:xlink resolving

I'm trying to read an INSPIRE GML, which countains internal and external links between the elements. I saw on the GDAL site that we can set environnement value in order to load this link in QGIS ...
0
votes
0answers
152 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
10 views

Implementing Feature using AbstractFeatureType in schema

I'm trying to create a XML schema which uses AbstractFeaturetype in GML. I was using xmlspy and realised that while inheriting AbstractFeatureType, it already creates a lot of elements and attributes ...
0
votes
0answers
19 views

Including Metadata in GML

IS there a nice GML tutorial that gives a step by step explanation of including metadata in GML schema(or data) ?
0
votes
0answers
51 views

How to generate GML by extracting heights from DEM?

I am trying to generate GML using satellite images for geometries of various objects, and I propose to use DEM of the corresponding area in order to extract heights. I already have a piece of ...
0
votes
0answers
194 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
104 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
54 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 ...