Search code examples
openlayers-3geoserverwms

Get all WMS layer features from the Openlayers 3 with in selected bounding box?


For vector layer we have solution to get the feature with in the bounding box.

PFB the solution

http://tsauerwein.github.io/ol3/animation-flights/examples/box-selection.html

but, Is there any respective solution for for WMS layer?


Solution

  • Is there any respective solution for for WMS layer?

    No from my knowledge. It seems confirmed from this topic "Use GetFeatureInfo with OpenLayers and a Bounding Polygon" on GIS.stackexchange forum and from reading the official GeoServer WMS GetFeatureInfo documentation section