Questions tagged [gml-geographic-markup-lan]

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.

61 questions
0
votes
1 answer

Getting a node after write/read from gml NetworkX

I'm having a problem while getting nodes after reading a GML graph. (I'm sorry I can't provide you with a exact reproducable code, because my code is 500 lines long, and smaller reproducable examples are giving weirdly correct results). So I'll try…
MMis
  • 85
  • 1
  • 9
0
votes
3 answers

How to create a gml file from Java code

I want to create an application which require to create a .gml file using Java. And I want to add elements in that newly created .gml file from a text file. How can I do so?
tamanna
  • 51
  • 2
  • 3
  • 11
0
votes
1 answer

Change GML geometry attribute from Linestring to Multicurve in FME

I am currently converting a shapefile into a GML file for an online Mapviewer. this application requires the geometry to be in a seperate attribute and needs to consist of multicurve features. using GeometryExtractor, i get the…
BHaag
  • 17
  • 4
0
votes
1 answer

Unable to append the gml string to xml using lxml in python

test_gml.py from lxml import etree import lxml xml_response = lxml.etree.Element('xmlResponse') mapping = lxml.etree.SubElement(xml_response,'mapping',{"id":"AHGJHKSHQWEIUELQWDKJQEDH"}) services_element = lxml.etree.SubElement(mapping,…
mahesh
  • 119
  • 10
0
votes
1 answer

Python GeoJson to GML conversion

I have a python application that creates polygons to identify geographic areas of interest at specific times. To this point I've been using geojson because of the handy geojson library that makes writing it easy. I put the time information in the…
Emma Hung
  • 35
  • 1
  • 6
0
votes
1 answer

Creating a building based on citygml4j at LoD3 and LoD4

I have been trying to generate a building model based on citygml4j at different levels of details. I could generate simple models up to LoD2. I want to add some more details like doors and windows and interior geometries to the models. Are there any…
0
votes
1 answer

OpenLayers 3 GML Format Not Parsing Entire File

new ol.layer.Vector({ source: new ol.source.Vector({ url: WFS, format: new ol.format.GML() }), style: new ol.style.Style({ fill: new ol.style.Fill({ color: 'rgba(0, 0, 0, 0.3)' }) }), }) WFS…
Aaron
  • 1,208
  • 1
  • 9
  • 21
0
votes
1 answer

What is the difference between linear and geodesic interpretation?

While trying to understand the difference between LineStringSegment and GeodesicSegment, I concluded that the difference is the interpretation of the segment (correct me if I am wrong). Could someone explain the difference between linear and…
Catalin Roman
  • 129
  • 1
  • 9
0
votes
2 answers

How to compute coordinates of start/end points of a ArcByCenterPoint?

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 points? I'm looking for a formula.
Catalin Roman
  • 129
  • 1
  • 9
0
votes
1 answer

Extract polygon geometry from citygml data using citygml4j library

I have buildings' information stored in citygml file. I am trying to extract the building's polygon geometry using the citygml4j library. I have looked at the FeatureWalker class, but I am unable to get the polygon geometry. How do I go about doing…
zelta
  • 105
  • 2
  • 9
0
votes
0 answers

Differences between GML and GMLJP2

I'm wondering which are the differences between GML and GMLJP2. I know GMLJP2 is for JPEG2000, however I want to know if anything changes from one GML to the other. I found an ontology of GML and I want to know if it works for JPEG2000. I would…
0
votes
1 answer

What is the best way to parse GML in VB.Net

I'm looking for the best way to parse GML to return the spatial data. As example here's a GML file:
0
votes
1 answer

OpenLayers.Layer.GML Throwing JS Error

I am trying to load a KML file into my Openlayers map. I added the following line of Code to my JS file and it throws an error. My map won't even load after I add this line: var layer = new OpenLayers.Layer.GML("KML", "kml/mykml.kml", {format:…
user1794398
  • 61
  • 1
  • 8
0
votes
1 answer

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).
ustroetz
  • 5,802
  • 16
  • 47
  • 74
0
votes
1 answer

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:
Burkhard
  • 14,596
  • 22
  • 87
  • 108