[OpenLayers-Users] Selecting features through box
Andreas Hocevar
andreas.hocevar at gmail.com
Fri Feb 8 14:54:14 EST 2008
Hi,
On Fri, Feb 8, 2008 at 8:16 AM, Andrea Maschio <andrea.maschio at gmail.com> wrote:
> >> Hi all, i would select some features from a wms layer with s polygon
> >> but I have no idea on how to accomplish this task.
> >
> > WMS does not provide you anything helpful for that task. But if your
> > server is also configured as WFS, you can issue a WFS
> > GetFeatureRequest with a bbox filter.
> >
> Ok. So I could get the Bbox extent from the polygon? It seems to me
> that it is not possible to make this selection through anything
> different from a rectangle..
Oh, so you really want a polygon, not a bbox. But that is also
supported by most WFS implementations, using ogc filters. Refer to the
specification documents found on http://www.opengeospatial.org/ and
look for the WFS and OGC Filter specifications.
Regards,
Andreas.
More information about the Users
mailing list