1
vote
0answers
22 views

Parse GML with Openlayers

In our project we do a GET request to a WFS service. This service returns some GML. To parse this GML, we are playing with the GML parser of Openlayers. This is working as long the GML isn't ...
0
votes
0answers
93 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 ...
0
votes
0answers
57 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
0answers
30 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 ...
0
votes
0answers
152 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
109 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
0answers
94 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
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 ...
2
votes
1answer
323 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
153 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.... ...
0
votes
2answers
345 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
302 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. ...
0
votes
1answer
273 views

how can i render geojson format and gml format?

I can show wms png format my map but i didnt render jeojson and gml format by the way my url is correct service. İn additonal i used same code in my local and i can render local geoserver . plz show ...
1
vote
1answer
208 views

openlayers load local gml

I'm trying to load a simple gml file with openlayers, but it doesn't load. Pretty sure it's a simple issue, but I figure out what's wrong. Thanks in advance, Pedro var meu = new ...
2
votes
1answer
441 views

GML and GeoJSON vector layer can not display in Firefox and Chrome

I have following codes. It works perfectly in IE (GML and GeoJSON vector layer was loaded), but not in Firefox and Chrome without any errors noticed. Please help me to fix this problem. Here is the ...
1
vote
1answer
1k views

OpenLayers.Format.GML parser problem

I'm trying to parse WFS reponse using OpenLayers.Format.GML parser. However, an exception thrown in my try-catch block is TypeError: a is undefined. Any pointers as to what I may be doing wrong will ...
2
votes
1answer
427 views

How to add more than one xml file per layer

I'm using this code to add xml (osm relations) files to my map. osm_layer = new OpenLayers.Layer.GML("Polygon", relation.xml, { format: OpenLayers.Format.OSM, style: {strokeColor: "blue"}, ...
2
votes
1answer
367 views

OpenLayers WPS function fails in IE

I am making a WPS call in OpenLayers which works successfully in Chrome and Firefox but not in IE9. The response from IE tells me "Process failed during execution\nCould not convert to target type ...
1
vote
1answer
535 views

OpenLayers GML Polygon Performance

I'm working on a project where we have a large number of very detailed polygons being displayed on a image using Openlayers. The polygons are added to the map through a GML feed. We are having end ...
1
vote
1answer
554 views

How to update GML layer without reloading local file?

I set up a GML layer with local GeoJSON file as data source: veclayer = new OpenLayers.Layer.GML("vector", "localfile.json", { format: OpenLayers.Format.GeoJSON, strategies: [new ...
-2
votes
2answers
2k views

Why is my JSON not appearing on my webpage?

Greetings lovers of GIS, I came across this error whilst doing my JSON file. "Error in loading GML file" Everything works fine in localhost but dramatically wrong in my server. Any helping hands? ...
3
votes
1answer
2k views

OpenLayers.Format.GML.parseFeature() with GML v3 data

I have a partial GML object with the geometry type polygon. The GML version must be 3+ since the coordinates are wrapped in the gml:posList tag: <gml:Polygon srsName="EPSG:25832" ...