Tagged Questions
1
vote
0answers
71 views
Programmatically change geometry column in OpenLayers WFS layer
is there a way to programmatically change the geometry column on which a WFS layer is based and displayed?
WFS (from GeoServer) is correctly returning me two geometry columns, I want to change "on ...
1
vote
2answers
1k views
How to initialize a WFS Layer?
Here is the code block (the layers are stored in Oracle database):
var saveStrategy = new OpenLayers.Strategy.Save();
var adresspt_wfs = new OpenLayers.Layer.Vector("Address points WFS", ...
4
votes
0answers
495 views
OpenLayers: WFS request to GeoServer to retrieve “name” & “featureNS”
Using WFSGetCapabilities I sent a GetCapabilities request to GeoServer. From the result of WFSGetCapabilities().read(), I can loop each featureType and retrieve some basic info(e.g., name, title, ...
3
votes
2answers
789 views
OpenLayers + Geoserver: how to dynamically retrieve the “geometryName” of a feature layer in GeoServer
I am trying to get the list of feature layers on GeoServer and then user can add layers into map at anytime they want. my question is:
when using OpenLayers.Protocol.WFS loading a layer, is ...
