[OpenLayers-Users] Querying Features on a WMS Layer

Richard Greenwood richard.greenwood at gmail.com
Sun Jan 25 22:32:19 EST 2009


On Sun, Jan 25, 2009 at 7:18 PM, Bill Thoen <bthoen at gisnet.com> wrote:
> Has anyone here tried to hack a way into querying features from a WMS
> layer? I'm thinking it might be doable in a way similar to how MapSurfer
> does it. Basically, you capture a point click or box corners and send
> that back to a MapServer query template and then capture the results
> either into a querymap or a table template. Anyway, if anyone has done
> this and has an example they'd be willing to share, I'd like to see how
> it's done. If this technique actually works, I think it might be a good
> way to get the benefits of vector features without having to use feature
> objects.

I'm using a MapServer layer, not a WMS layer, but it should be pretty
similar. The info tool allows multiple select by dragging. Example:
     http://www.co.sweet.wy.us/mapserver/map.html

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the Users mailing list