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

learn more… | top users | synonyms

8
votes
2answers
932 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 ...
4
votes
1answer
299 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
307 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> ...
1
vote
1answer
271 views

How to export a geojson file with correct order of coordinates?

I was testing rendering of data via GitHub in geojson format, because I wanted to use it for INSPIRE data. INSPIRE data are in GML 3.2.1 format. I've downloaded one of datasets from ...
1
vote
1answer
199 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
145 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
14 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
43 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 ...
0
votes
1answer
73 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 ...
4
votes
0answers
249 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
445 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
79 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
421 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 ...
3
votes
0answers
163 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 ...
2
votes
0answers
363 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
0answers
18 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
27 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
28 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
82 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
33 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
169 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
316 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
166 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
93 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
22 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
16 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
16 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
28 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
24 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
78 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
9 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
17 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
39 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
52 views

Openlayer GML Format fail at special character

I am working on openlayer and I want to extract features from gml file but it fails at special character and return 0 features. Please check the sample code - <!DOCTYPE html> ...
0
votes
0answers
41 views

Visualizing large GML files on the web browser

There is a GMl file on the "C" location. When I want to visualize the gml data on the browser with using XSLT in c# .Net envoirenment, I am not able to visualize files which is not too small. My ...
0
votes
0answers
34 views

XSD Schema to Feature template?

I've got few .xsd files and my question is, if there is a way to create feature template from these files?(GML, SHP...?? whatever)? I've tried with xsd2Code for .net and it creates c# classes for ...
0
votes
0answers
59 views

what happens to attribute table while performing union, intersection, difference of gml and shp file in QGIS

I am trying to do an analysis of the data conversion from shapefile to GML file using QGIS. For the analysis I have taken a point, line and polygon file. I first took a shapefile and converted it into ...
0
votes
0answers
26 views

How to implement Spiral sequence rule in GML grids?

I am working with gml:RectifiedGridCoverage and currently I am introducing support for the different sequence rules defined inside gml:coverageFunction. These are the supported sequence rules in GML ...
0
votes
0answers
144 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
108 views

How to update data attribute GML layer without reloading local file?

I want to change data attribute from GML Layer according to value which passing from combobox. So when i change value from combobox, map will give different color according data in mysql. Can you help ...
0
votes
0answers
93 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 ...