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

learn more… | top users | synonyms

0
votes
1answer
13 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 ...
2
votes
1answer
16 views

Transform wkb to gml geometry using FME

Maybe (and probably) this is stupid question, but I am totaly new to FME and geometry conversion. I need to transform WKB field from SQLServer to GML geometry using FME software. How can I do this?
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 ...
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
2answers
11 views

Consuming gml generated by sql server As.GML()

Sql server has a method As.GML to produce GML file from geography/geometric type. Is there a good example to utilize this GML on other mapping platform such as QGIS? I have ask a related question ...
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 ...
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
0answers
22 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
76 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 ...
1
vote
2answers
40 views

Remove unneeded columns from geographic data file?

I have some GML data that has some unneeded columns in it. I'd like to remove these columns in order to reduce the file size. (To clarify: I mean that the file has many points in it, and each of these ...
0
votes
1answer
52 views

How to compose WFS GetFeature link from WMS capabilities definition?

This publication of geoinformation provides download links for GetCapabilities documents via WMS. The platform also runs a WFS service as can been seen here. I wonder if it is possbile to compose a ...
1
vote
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
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 ...
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> ...
1
vote
2answers
99 views

Saving a gml layer does not change coordinates

I am trying to export a gml layer to geojson with lat/lng as the preferred coordinate system. So what I did was a 'save as' on the layer with selected CRS: 'IGNF: WGS84G'. Now I was hoping it ...
0
votes
0answers
40 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
2answers
220 views

How to convert gml to geojson using Python and ogr with geometry transformation?

Does anyone have an idea how to convert gml to geojson (with attributes) using Python with ogr bindings? It should be possible to transform geometries to different coordinate system. I can not use ...
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 ...
1
vote
1answer
124 views

PyShp 1.2 creating Polyline from GML

I have a problem in creating some polylines in one Shapefile with PyShape. The plan is to read a GML file containing LineStrings and create a shapefile. The theory is clear, but the realworld is ...
2
votes
4answers
546 views

GML Parser for C++/Java/…?

I am looking for a good parser for the latest GML (Geographic Markup Language) version in preferably: C++/Java/Ruby/... I am especially interested in reading the geometry of individual features. Does ...
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
81 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/... ...
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 ...
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 ...
4
votes
1answer
113 views

What is the best format to encode polygons such as lakes?

I am looking for a standard format to encode polygons, such as lakes, in one file that is easy to create and common so that others can use it in different GIS systems. Every file will contain data on ...
1
vote
1answer
264 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
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 ...
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 ...
1
vote
1answer
198 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 ...
0
votes
1answer
37 views

GML Simple Feature compliance test

I'm in the process of defining a GML schema from a database schema, the idea is for it to be GML simple feature compliant. However I can't find a way to confirm this compliance other than reading the ...
0
votes
1answer
396 views

OS Vectormap GML files into PostGIS

I am having difficulty in efficiently dealing with OS Vectormap data that comes in GML format. In the past I used the Plugin for QGIS (OS GML Tools) to batch convert folders of compressed GML (.GZ) ...
2
votes
1answer
328 views

Programmatic conversion between GML and GeoJSON

I am modifying a .Net (C#, MSSQL) system to add some geography that I'd like to display on a leaflet map. I had originally expected to save GeoJSON directly into text strings in the DB, but after ...
1
vote
1answer
127 views

Can I append to different tables using ogr2ogr?

I have been through many related questions and links but I am still confused as to how/if this is achievable. So, I have defined tables in my postgis database and I would like my ogr2ogr commnand to ...
2
votes
1answer
241 views

GML - Multi-geometry validation

I'm doing the test to introduce multiple geometry in a WFS service using GML. For now the simple geometry is functional, but I still have some bugs with multiple geometry. I think it may come from my ...
0
votes
2answers
299 views

How to create shapefile from OS MasterMap data using ArcGIS Desktop 10?

How do I create a shapefile from OS MasterMap data in Arcgis 10? I have tiles from the Ordnance Survey Site and would like to create a topomap from the existing tiles. These tiles contains the ...
0
votes
0answers
91 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 : ...
1
vote
0answers
165 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. ...
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 ...
0
votes
2answers
559 views

Using Python to parse an XML containing GML tags

I am trying to write a python script which pulls GML tags out of an XML file and formats them into WKT for inserting into a PostGIS database. I have been successful in doing so for an XML containing a ...
2
votes
1answer
304 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
143 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.... ...
3
votes
0answers
414 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 ...
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 ...
0
votes
1answer
225 views

How to publish a GML file as a Web Feature Service (WFS)?

I am interested in publishing a GML file as a WFS. I don't want to use a database like PostgreSQL. What would be the rough steps I need to do for that? I like to use open source software (geoserver). ...
3
votes
0answers
162 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 ...