Geomoose 2 shows how to use OpenLayers to draw the geometry (see main.js's sketch tools). You could use Javascript to take OL's wkt of the polygon and translate to Mapserver's MAPSHAPE cgi parameter for a query.
Best Regards, Brent Fraser > I need to create a tool that will allow the user to draw an arbitrary > polygon, and the select objects intersecting that polygon. I'm using > OpenLayers, MapServer and PostGIS. Right now I'm trying to figure out > what protocol will support this operation. I don't think this can be > done with "classic" MapServer, nor with WMS. Am I correct? So do I > need to use WFS-T to get the polygon from the browser and pass it to > PostGIS to do the query? Are there any other routes that I should be > exploring? > > Thanks, > Rich > > -- > Richard Greenwood > [email protected] > www.greenwoodmap.com > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
