[mapserver-users] How to do that kind of querying using CGI (with Openlayers)

Paul james pauljame at gmail.com
Wed Mar 31 08:06:20 EDT 2010


Thanks Richard...
Could you send me a sample how to highlight the road using CGI/OL?

Thanks



On Mon, Mar 29, 2010 at 7:23 PM, Richard Greenwood <
richard.greenwood at gmail.com> wrote:

> One approach is to use a very simple template to retrieve the min/max
> extent from MapServer. Then parse the extent in javascript and use
> that to set the OL extent. So basically you are making two calls to
> MapServer, one to get the extent and another one to highlight the
> road. The template for the extent would look something like
>    [MINX] [MINY] [MAXX] [MAXY]
> Better check the documentation on that as I forget if it's "MINX" or
> something slightly different.
>
> Rich
>
>
> On Mon, Mar 29, 2010 at 2:02 PM, Paul james <pauljame at gmail.com> wrote:
> > Hello guys...
> >
> > The application has a Search Window, with all Roads listed...
> > The user will choose one road, so my map should highlight that road and
> zoom
> > in (if possible)...
> >
> > I already did that using C# Mapscript, but I dont know how to do that
> using
> > CGI/OL...
> >
> > Any ideas?
> >
> > Thanks
> >
> > Paul
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
>
>
>
> --
> Richard Greenwood
> richard.greenwood at gmail.com
> www.greenwoodmap.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100331/28c1ee6e/attachment-0001.html


More information about the mapserver-users mailing list