[mapserver-users] [mapsize] abnormal behavior?

Richard Greenwood Rich at GreenwoodMap.com
Sun Dec 9 18:40:39 EST 2001


You might want to check your imgxy and be sure that it is half of your 
[mapwidth] and [mapheight]

Rich

At 03:49 PM 12/9/2001 -0500, you wrote:
>Hello,
>
>I just noticed something weird ... When I specify a a mapsize via the URL,
>mapserver seems to change the extent!
>
>Here's what's happening:
>
>I have a mapfile that defines a MAPSIZE 375 343 ... and all is well ... The
>hwole country (Canada in my case) is displayed in a gif that's 375x343 ...
>
>No when I add ?mapsize=100+89 to the URL, instead of seeing a small map at
>the same extent as the previous one (the whole country), I just see a part
>of the country, as if I'm zoomed in or something ... It looks like it
>centered on the middle of the map and drew a 100x89 gif from that, using the
>original mapsize ... am I making sense here?
>
>Has there been a change in the behavior of this parameter lately? Is this a
>bug?
>
>Help!
>
>Thanks,
>
>Jean-François Doyon
>Internet Service Development and Systems Support
>GeoAccess Division
>Canadian Center for Remote Sensing
>Natural Resources Canada
>http://atlas.gc.ca
>Phone: (613) 992-4902
>Fax: (613) 947-2410


Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich at GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com




More information about the mapserver-users mailing list