Geographic markup language, commonly known as GML, is a dialect of XML used to encode geographic features (vectors), coverages (JPEG2000), and sensor data and is also used as a common interchange format on the web. It was released by the Open Geospatial Consortium.
Questions tagged [gml-geographic-markup-lan]
61 questions
1
vote
1 answer
How to change the order of a layer when set visible in openlayers?
I am working on a website that uses OpenLayers to draw a map and add layers of information on top of it. Everything works fine but one thing.
When I add a new layer of information, I want it to be on top of the other layers, but when add a layer of…

David Gourde
- 3,709
- 2
- 31
- 65
1
vote
1 answer
Parse a GML file (from a shp one) in C
My problem is that, using ogr2ogr, I parse a shp file into a gml one.
Then I want to parse this file in my C function.
sprintf(buffer, "PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH:/usr/local/bin ogr2ogr -f \"GML\"…

user2550416
- 15
- 4
0
votes
0 answers
Need help to convert gml child to one autocad polyline with vb.net
Need help to convert next gml child to one autocad polyline with vb.net

Cees-Jan
- 1
0
votes
0 answers
Reading railway network XML (GML) file in Java with geotools
I would like to read the German railway (DB Netze) network XML available at https://data.deutschebahn.com/dataset/data-streckennetz.html (file Streckennetz (Stand 11/2019))
I went according the example posted 3 years ago…

viados
- 1
- 1
0
votes
1 answer
How do I register a custom converter so that @GeoShapeField picks it up?
I am using spring-data-elasticsearch (5) to automagically write third-party data into an ES (8) index. The data contains geodata in GML format, which is parsed into a nested Map.
In my POJO I have a field
@GeoShapeField
private…

Wang Tang
- 540
- 9
- 16
0
votes
0 answers
R: Writing GeoJSON file from GML WFS source
I'm using R and I want to save WFS data from different layers to disk in GeoJSON format. Unfortunately, not each one of the layers can be queried as GeoJSON directly. So how do I have to change the following code in order to query GML data and save…

winnewoerp
- 161
- 6
0
votes
0 answers
Delphi XE3 - coordinates GML convert to GPS
Can you advise me how to convert coordinates to GPS in Delphi XE3? Algorithm or free library?
1099208.98 479473.69
…

L. Pospisil
- 21
- 2
0
votes
1 answer
Convert CityGML model to CityJson file
I need help in converting CityGML model to CityJson file using Citygml4j/Citygml-tools` as I need to visualize the CityGML model in the Qgis Software. The tutorial that I get from CityJson website is to simple for student like me. I hopefully any…

Lynn95
- 11
- 1
0
votes
0 answers
convert gml:Polygon to SQL geometry hex string with c#
I am trying to convert gml:Polygon to SQL Server Geometry datatype using Microsoft.SqlServer.Types in C# only, so no SQL server is available for this task, in the following example I was using MSSQL server only for testing purposes. What I did…

Dejan Dozet
- 948
- 10
- 26
0
votes
1 answer
Duplicate edges in .gml file using networkx.read_gml python
I want to use networkx in python to read a .gml file.
However when I do,
import networkx as nx
nx.read_gml("myfilename.gml")
it raises the error
networkx.exception.NetworkXError: edge #213 (103->400) is duplicated
which is true that in the .gml…

hkcode
- 309
- 1
- 8
0
votes
1 answer
Java - How to store gml data to postgres database (with postgis)
I woudlike to store in my database :
example data :
ST_GeomFromGML('
-71.16028,42.258729 -71.160837,42.259112 -71.161143,42.25932
…

crashoulol
- 19
- 1
- 6
0
votes
2 answers
OpenLayers loading a GML file from an other site
I'm having difficulties loading a GML file into OpenLayers. I've stripped down the problem to the following :
- copy/past the example at : http://openlayers.org/dev/examples/behavior-fixed-http-gml.html
- replace all links to absolute
This results…

Choumarin
- 400
- 1
- 6
- 16
0
votes
1 answer
PLSQL parsing GML
Trying to optimize a procedure that parses GML strings to Oracle sdo_geometry.
[coordinates]
…

Rene
- 10,391
- 5
- 33
- 46
0
votes
1 answer
Convert gml fragment with srs attribute to wkt with geotools
I have the following gml fragment:
663957.75944074022118,5103981.64908889029175 663955.915655555087142,5103991.151674075052142
I would like to convert it…

AdiosDr Winzig
- 11
- 2
0
votes
1 answer
Importing NetworkX graph to GML keeping the special characters intact
I want to write a graph G in GML format. My node names (label in GML) contain special characters like š, č etc. These are not replicated in the GML file when I do the following.
nx.write_gml(G, 'G.gml')
Expected output for letters šč is šč.
Actual…

Bibek Mishra
- 180
- 1
- 15