mapsize

Stephen Lime steve.lime at dnr.state.mn.us
Thu Mar 16 12:19:38 EST 2000


Yup, the extent is recaclulated based on the shape of the extent and the window
size/shape. You are gauranteed to see the whole extent plus a bit more. The
algorithm fits your requested extent in either x or y dimension (whichever fits
best) and then pads the other dimension as needed. This has to be done in
order to get the right map to image transformation. You wouldn't necessarily
have to actually display data outside the actual requested extent but that would
result in a great deal of blank space in the resulting image, so the computed extent
is used to select/clip data.

Steve

Stephen Lime
Internet Applications Analyst

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Ralf Puchert <puchert at gfz-potsdam.de> 03/16/00 10:33AM >>>
Hello,

When we use 

http://130.11.52.178/cgi-bin/mapserv?mode=map&layer=elevation&mapext= 
-180+-10+180+90&map=/var/mapserver/global/global.map&mapsize=500+250

the outputmap has the wrong southernmost latitude.
It seems to be that something is overdefined.
Will the produced map whithin geographic coordinates expanded 
to the width and height values of the bitmap or 
will the geographic bounding box be recalculated ?

Sincerely

Ralf Puchert







More information about the mapserver-users mailing list