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

learn more… | top users | synonyms

2
votes
2answers
79 views

Bulk conversion and import of OS MasterMap .gz files to .shp in ArcGIS Desktop

I have 91 .gz files procured from the Ordnance Survey and would like to import them all to ArcGIS as shapefiles. I know that the Quick Import tool in the Data Interoperabilty extension performs the ...
10
votes
2answers
1k 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
0answers
22 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 ...
3
votes
2answers
49 views

Is GeoJSON an OGC format

I am using geometries in a JavaScript page and it is best to use JSON objects rather than GML which is XML based. I heard of GeoJSON, but is it an OGC open format?
1
vote
2answers
65 views

Import file format with colors

I am very new to QGIS, so please excuse me if my question seems stupid to you. I have a small question regarding setting manually colors for points and lines. I have a bunch of nodes and vertices to ...
2
votes
1answer
635 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
0answers
16 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?
3
votes
1answer
659 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
30 views

Is it possible to convert a .shp file to .gml?

Is it possible to convert a shapefile to a gml file? If so, how and using what tools?
1
vote
1answer
251 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 ...
5
votes
1answer
553 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 ...
0
votes
2answers
340 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 ...
2
votes
1answer
35 views

How to calculate the bounding box of a GML/XML file from a WFS getFeature request?

I would like to know if it is possible to get the bounding box from a geometry returned by a WFS service. An example of WFS feature request: ...
1
vote
1answer
552 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
65 views

Converting multi-geometry GML with ogr2ogr not working

I am having difficulties with GML loading in PostGIS with ogr2ogr. It is a GML of buildingparts containing both polygons and (label)-points. In this example (below) I have a selection of 9 objects. ...
0
votes
2answers
32 views

Skip a specified input layer in ogr2ogr

I am using ogr2ogr to load data from multiple GML files into PostGIS. As shown in the ogrinfo output below, each GML file has multiple layers. Had to open data source read-only. INFO: Open of ...
1
vote
0answers
15 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 ...
0
votes
1answer
32 views

Merge adjacent polygons

I want to write software that merges groups of (mainly) adjacent polygons. For example, merge the US counties into sales regions. Then, display either the boundary of these sales regions or fill them ...
4
votes
1answer
349 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 ...
0
votes
0answers
65 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 ...
4
votes
0answers
316 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
246 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 ...
0
votes
0answers
34 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 ...
5
votes
3answers
3k views

Convert GML to GeoJSON

I have downloaded a GML file from Statistics Canada and would like to convert it into GeoJSON to use parts of it in a D3 visualization on the web. However, I did not find a converter that would do ...
1
vote
1answer
302 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
1answer
33 views

stylizing/symbolize openlayers based off GML

I am completely new to openlayers and am kind of learning as I go along. I created a GML using QGIS and would like to call data from it. It isn't stylized (specific icons per attribute). I would like ...
0
votes
0answers
155 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" ...
1
vote
1answer
299 views

Upload KML / GML / GeoJson to Geoserver through Rest API

What is the best option, if any, to upload a vector format like GeoJson, and or GML to Geoserver? The environment from which to upload will be a client web-application, so i cannot use curl. In the ...
1
vote
1answer
288 views

Creating Polyline from GML using PyShp?

I have a problem in creating some polylines in one Shapefile with PyShp 1.2. The plan is to read a GML file containing LineStrings and create a shapefile. The theory is clear, but the realworld is ...
0
votes
0answers
171 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> ...
1
vote
0answers
47 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
2answers
370 views

Exporting XSD from GML using QGIS or ArcGIS for Desktop?

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 ...
2
votes
3answers
1k views

How to merge several GML files into one

I have a folder of GML files that I want to be able to merge to create one GML file that I can then view. I have tried this using the code described but searching for GML in this website without ...
1
vote
0answers
176 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
2answers
84 views

How to request paginated or filtered data from WFS 2.0?

I want to download a data set from a WFS 2.0 server via HTTP GET, with curl for instance. $ curl -X GET http://example.com/wfs/?service=WFS&request=GetFeature ...
0
votes
1answer
23 views

What is the standard for GML? What fields are standard/required

I'm pushing some GML data into a Web Feature Service. And I want to keep to the GML/WFS standards when pushing my data. Could anyone point me towards a document that shows me this. Or a quick ...
4
votes
2answers
6k views

WFS Request Layer (GML) with Filter

Is there a solution to request the GML layer from Geoserver with filter like using bbox: http://localhost:8080/geoserver/tiger/ows?service=WFS&version=1.0.0 ...
2
votes
1answer
226 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
72 views

GML geometries are not rendered

I tried to view a GML file and I have a problem with viewing of polygons from a feature type ps:ProtectedSite with QGIS. This feature contains a MultiSurface with a surfaceMember with a ...
0
votes
0answers
15 views

ArcByCenterPoint - coordinates of start/end points [duplicate]

Given an ArcByCenterPoint, defined by: center position (lat,lon in WGS84) radius (meters) startAngle (degrees) endAngle (degrees) how can we compute the position (lat, lon) of start/end ...
1
vote
2answers
115 views

Getting attribute table from WFS data source

I am attempting to get some WFS 2.0 INSPIRE data from the Finnish meteorological institute into a table format of some kind. Is there any software which can easily grab the attribute data for the WFS ...
-1
votes
1answer
47 views

sample xsd files from geographic sources

Where can I download sample xsd files for different features like road,rail,river,land etc.I need them urgently for checking the working of my project which works on the schema of geographic data.
0
votes
0answers
93 views

What is the best way to store GML polygons in MySQL?

I have large .GML files with polygons of regions around the country, some are a single polygon, some are multiPolygon. What is the best way to store this in MySQL? I was assuming that I would ...
4
votes
2answers
267 views

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

I'm trying to read an INSPIRE GML, which contains internal and external links between the elements. I saw on the GDAL site that we can set environment variable in order to load this link in QGIS ...
1
vote
1answer
680 views

How does ArcGIS Desktop recognize WMS CRS?

I'm using ArcGIS Desktop 10 and working on a WMS service with Mars data. Currently the GetCapabilities shows <SRS>EPSG:4326</SRS>. I assume ArcGIS 10 reads this and therefore the WMS has ...
0
votes
0answers
158 views

Open/Import CityGML in AutoCAD

I have a CityGML file and want to open and further process it in AutoCAD. Any suggestions for a schmoove workflow? For my specific use case, I only need the 2D coordinates of the file's ...
4
votes
8answers
5k views

How to get OS Mastermap data into QGIS?

I have been tasked with getting OS Mastermap topography data into QGIS system to compliment our other map layers. The data comes in .gz format. Which I am told needs to be decompressed before I can do ...
12
votes
6answers
2k views

What's an efficient way of detecting road junctions on a map?

I may receive maps from any source for my project, and for the C++ algorithm I'm making, it's imperative for the algorithm to know where road junctions (nodes where more than two road segments meet) ...
1
vote
2answers
50 views

PostGIS ST_GeomFromGML giving strange result

I'm currently running Postgres 9.1 with PostGIS 2.0. I am trying to create a polygon geometry from the following GML: <gml:Surface gml:id="ID_63_1413425013514_23322" ...
4
votes
4answers
2k 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 ...