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

learn more… | top users | synonyms

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
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?
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?
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: ...
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 ...
0
votes
0answers
67 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 ...
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 ...
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 ...
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
157 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
302 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 ...
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 ...
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 ...
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
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
48 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 ...
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 ...
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" ...
1
vote
0answers
85 views

JTS Geometry to GML3.1 encoding

I searched all the internet and I didn't find a solution to my problem. I want to convert a JTS geometry to a GML3.1 geometry. Geo tools says that have support but the have not (please check encode ...
1
vote
0answers
59 views

How to load ALKIS (GML3) data in GeoTools

I wonder how I can load ALKIS GML (German gov geo data) in GeoTools. Here is a small sample dataset from the government: ...
1
vote
0answers
45 views

Disabling XML schema when using GML3 decodeFeatureCollection in GeoTools

I wrote some code based on http://docs.geotools.org/stable/userguide/library/xml/geometry.html#id6 GML gml = new GML(Version.GML3); try { InputStream in = new FileInputStream("file.gml"); ...
1
vote
1answer
186 views

How to get GML layer CRS with OGR Python?

I have a GML layer obtained from a WFS that looks like this: <wfs:FeatureCollection xmlns:ms="http://mapserver.gis.umn.edu/mapserver" xmlns:wfs="http://www.opengis.net/wfs" ...
1
vote
0answers
57 views

Converting GML to Geodatabase format by using Productivity Suite software

I am using ArcGIS desktop 10.2 version and would like to import MasterMap Integrated Transport Network from Digimap to ArcGIS, So I was following the steps: 1 Install Productivity Suites v 3.4.1 2 ...
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
143 views

PostGIS GML round trip confusion

I've investigated the issue of coordinate order in GML and each time I think I've got it but I find my self confused once again. I think some of my confusion may be to do with PostGIS. Doing a ...
1
vote
1answer
252 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 ...
0
votes
0answers
73 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 ...
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 ...
1
vote
0answers
129 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 ...
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
0answers
42 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
2
votes
1answer
110 views

Storing the GML application schema in postgres

I have to store the application schema for a GML file which is in Xsd format in PostgreSQL table. I want to use the ISO standards for that. From what I have searched I think ISO 19109 has to be ...
1
vote
1answer
310 views

How to create a shapefile or gml from a Oracle database using SDE.ST_Geometry?

I have a ORACLE database 10g(Oracle Database 10g Enterprise Edition Release 10.2.0.3.0) with a SDE.ST_Geometry field and i want to make a program in python so i can create several shapefiles based on ...
2
votes
1answer
84 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 ...
4
votes
1answer
351 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 ...
1
vote
1answer
307 views

Using FME to convert a MapInfo TAB to GML with style attributes

I have a FME transformer that converts MapInfo TAB files to GML. What I would like is for the pen colour, pattern and width information to be brought across to the GML somehow. It really doesn't ...
2
votes
0answers
247 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
1answer
74 views

Unable to inspect GML file

I use FME to make GML file based on SQLServer data. When I create GML, I cann't see anything in FME Data Inspector or Universal Viewer. Like something is missing in file. I have schema, and ...
1
vote
0answers
525 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
38 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
1answer
34 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
326 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?