0

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?

Sumesh S.G
  • 43
  • 1
  • 6

2 Answers2

1

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

Thomas Gratier
  • 2,311
  • 1
  • 14
  • 15
0

Some partial solution :

Using WFS service we can able to pass polygon geometry and get feature from geo-server.

Sumesh S.G
  • 43
  • 1
  • 6