[Mapserver-users] Retrieving Cached Query, Attempt to modify
in URL
Fawcett, David
David.Fawcett@state.mn.us
Thu, 18 Sep 2003 08:58:50 -0500
I decided to modify the query directly to get the image that I wanted. I set MAPEXT to 'shapes' and BUFFER to 20000 (map units are meters) so I get the facility that I am interested in and a reasonable amount of surrounding land to give context to the queried facility.
David.
David Fawcett
MN Office of Environmental Assistance
> ----------
> From: Fawcett, David[SMTP:David.Fawcett@state.mn.us]
> Sent: Wednesday, September 17, 2003 2:43 PM
> To: 'mapserver-users@lists.gis.umn.edu'
> Subject: [Mapserver-users] Retrieving Cached Query, Attempt to modify in URL
>
> I am trying to pull up a map of a cached query and display it as an image.
>
> I am able to create the image and display it using the below URL, but what I would really like to do is zoom in on the selected point. Is it possible to do this using CGI parameters in the URL, or is the extent already set by the query?
>
> I have tried to add '&zoom=8' to the URL, but this doesn't change the resulting image.
>
> Would an alternate method be to set mapext to shape and buffer the point out a certain distance?
>
>
> <img src=http://127.0.0.1/cgi-bin/ms4/mapserv.exe?map=c%3A%5CApache%2Fhtdocs%2FFac_CF%5Callfac.map&queryfile=c:\apache\htdocs\tmp\allfac10638106372280.qy&layer=facilities&layer=basemap&mode=map&zoom=8&size=200+200">
>
> Thanks,
>
> David.
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users@lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users