mapsize

Doug Nebert ddnebert at usgs.gov
Mon Mar 20 10:53:10 EST 2000


Ralf Puchert wrote:
> 
> 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
> 

If you force the mapsize or its aspect ratio to be twice 
as wide as it is tall (500 x 250) then it will do its best 
to fit the requested map into that space. if you experiment 
with always defining regions that are this shape, the request 
will work fine. The mapserver will never distort the coordinates 
to display within a specified mapsize, it will align with the 
smaller extent dimension and show more in the other dimension.

> 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

-- 
Douglas D. Nebert
Clearinghouse Coordinator 
FGDC Secretariat	Phone: +1 703 648 4151	Fax: +1 703 648-5755	
Pager Messaging: 	http://clearinghouse3.fgdc.gov/dougmsg.html



More information about the mapserver-users mailing list