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

learn more… | top users | synonyms

0
votes
0answers
7 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
38 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
1answer
22 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
32 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
8 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
16 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
45 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
32 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
40 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
82 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
30 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
19 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
184 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
41 views

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

I am trying to do analysis of data conversion from Shapefile to GML file using QGIS. For analysis i have taken one of each point,line and ploygon files. i first took a shapefile and converted it into ...
1
vote
1answer
92 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
352 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
25 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
61 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
62 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
194 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
32 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
114 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
88 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
1answer
160 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
33 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
304 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
294 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
99 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
208 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
232 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
84 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
30 views

How to retrieve latlon values of point that is searched by user?

I want to create a shortest route in openlayers. I created the sql queries of shortest route algorithms and can query shortest route in sql. Now I want to create a search functionality so that the ...
1
vote
0answers
138 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
455 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
255 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
131 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
355 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
1answer
274 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
180 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
150 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 ...
3
votes
1answer
155 views

How to write GML parser with Geotools?

I wrote a Parser for a GML file from the OS Mastermap with geotools 8.4. With one part I still have a problem. This sniplet of the xsd: <complexType name="RoadLinkType"> ...
2
votes
1answer
254 views

How to debug ogr2ogr ERROR 1: Did not get at least 2 values or invalid number of set of coordinates?

I'm trying to convert a government data contour GML (http://geo.data.linz.gv.at/katalog/geodata/hoehenschichten/2011/1m-Hoehenschichten.gml) to Shapefile. It seems like it was created by FME: ...
0
votes
2answers
298 views

Applicable OpenLayers settings for WFS layer

I am trying to display a WFS layer on an OpenLayers map. Here are the appropriate portions of GETCAPABILITIES response. <ows:Operation name="GetFeature"> <ows:DCP> <ows:HTTP> ...
0
votes
1answer
264 views

WFS Layer in OpenLayers queries server for data but doesn't display the data

I have added a WFS layer to a map and can see (using Fiddler) a request being made to the server for the layer data. The server uses GML as the data format and the data being returned is valid. ...
9
votes
5answers
1k views

GML, KML, GeoJSON - Speed rendering 3109 polygons?

I am working with Geoserver, serving U.S. Lower 48 counties to openlayers (3109 polygons - lots more vertices). The counties are loaded into a postgis database. I am curious about developer ...
3
votes
1answer
247 views

How to couple GeoTools GML bindings for encoding to GML 3.1.1

I've successfully created GeoTools (8.3) bindings for parsing and encoding XML bindings as described in their tutorial: http://docs.geotools.org/latest/userguide/library/xml/internal/bindings.html I ...
3
votes
4answers
828 views

What are the advantages either way between GML and ShapeFiles?

After a good start many months ago of getting into GIS through QGIS, I had to drop what I was doing and did not touch it for quite some time. I am now able to get back into it and have a need to load ...