1
vote
0answers
42 views

How to force geometry type in (WFS) layer in QGIS

I have an external WFS source serving mixed geometry types - in other words, I have no control of the source. When adding the layer QGIS sets the geometry type to line and thus I am unable to style ...
2
votes
2answers
152 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
3k 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
680 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
1k 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 ...