CGI Mapserver: raw URL zooming manipulation
Matthew Pettis
matthew.pettis at GMAIL.COM
Thu Dec 6 22:09:04 PST 2007
Hi Rich,
Thanks... the same problem persists when i use 'mode=browse' and use the
resulting image...
What might be related is the 'img' cgi control... can someone explain this
to me? i read the documentation, but i don't get it... it doesn't show what
value (if any)... here is the documentation entry:
IMG
>
> The name associated with the inline map image used to record user clicks.
> What actually is passed are two variables, img.x and img.y.
>
> For the CGI Applications this is an essential variable, see the examples
> for sample usage.
>
there is no indication what type of value should be associated with it (like
the other values in the reference indicate... like "ID [id-string]"), but it
says it is essential and see the examples (which examples, i don't
know...). can someone explain further how this control is used in a get
statement issued to the mapserv binary?
thanks,
matt
On Dec 6, 2007 5:20 PM, rich.fromm <nospam420 at yahoo.com> wrote:
> Matthew.Pettis at gmail.com wrote:
> >
> > url:
> > ----
> >
> http://localhost/cgi-bin/mapserv.exe?zoom=2&img.x=330&img.y=247.5&mapext=189775.375+4810000+761662.375+5472414.5&map=C:/ms4w/Apache/htdocs/tst/race.map&layer=county&mode=map
> > result:
> > --------
> > map image of full extent from mapfile is returned... not the zoomed
> image.
> >
>
> i'm not positive, but afaict, zoom is not relevant for map mode. and if
> you're just trying to do a simple request and response, the way to do this
> is to calculate the extent yourself. zoom in, smaller extent. zoom out,
> larger extent.
>
> i might be wrong on this, but this is how i'm doing things.
>
> - rich
>
> --
> View this message in context:
> http://www.nabble.com/CGI-Mapserver%3A-raw-URL-zooming-manipulation-tf4958616.html#a14203503
> Sent from the Mapserver - User mailing list archive at Nabble.com.
>
--
It is from the wellspring of our despair and the places that we are broken
that we come to repair the world.
-- Murray Waas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071207/fd5d2a5d/attachment.htm>
More information about the MapServer-users
mailing list