| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 5 months |
| seen | Apr 15 at 15:23 | |
| stats | profile views | 4 |
|
Sep 5 |
awarded | Popular Question |
|
Dec 28 |
comment |
Select single feature from multiple types with WFS in OpenLayers Bravo, sir. TBH, I was using fromWMSLayer() because I couldn't figureout how featureNS functioned in the scheme of things. Apparently not much. Using the standard OpenLayers.Protocol.WFS() constructor has made this second-click glitch disappear. Thanks again for your tips, would have taken me days to work this out. |
|
Dec 28 |
comment |
Select single feature from multiple types with WFS in OpenLayers I'm using OpenLayers-2.11, OpenLayers.js - the big 958KB one. Trying to track through the code, but it's complex. I've never debugged javascript this involved. |
|
Dec 28 |
comment |
Select single feature from multiple types with WFS in OpenLayers Thanks! This works well on the first selection, but suddenly I've got a strange issue where a second GetFeature is issued differently than the first. The first has 3 of these XML elements, each with a different typename: <wfs:Query typeName="feature:buildings_pol" srsName="EPSG:32054">
The second GetFeature has this:
<wfs:Query typeName="feature:buildings_pol,wmain_lin,wservice_lin" srsName="EPSG:32054" xmlns:feature="KwuPostGIS">
This 2nd request gives an exception from GeoServer, saying it doesn't know a 'buildings_pol,wmain_lin,wservice_lin' feature.
A bug in OpenLayers you suppose? |
|
Dec 28 |
awarded | Scholar |
|
Dec 28 |
accepted | Select single feature from multiple types with WFS in OpenLayers |
|
Dec 27 |
awarded | Student |
|
Dec 27 |
awarded | Editor |
|
Dec 27 |
revised |
Select single feature from multiple types with WFS in OpenLayers Added code sample |
|
Dec 27 |
asked | Select single feature from multiple types with WFS in OpenLayers |