[Mapserver-users] scale

Hankley, Chip Chip.Hankley at GASAI.Com
Tue Jan 21 17:31:41 EST 2003


Thomas... this is a subject that comes up pretty frequently on the list...
so if you want an exhaustive explanation, check out the archives.

The short answer is [scale] (in CGI, I believe) or $map->scale in MapScript.

Cheers!

Chip Hankley


-----Original Message-----
From: Thomas Bartlett [mailto:tbartlett at dddd.com.au]
Sent: Tuesday, January 21, 2003 4:08 PM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] scale


G'Day all,

Trying to work out how to include the scale (eg 1:25,000) [not a scalebar]
of a map.  Is there any obvious way to do this in MapServer, like you can
get a scalebar ??  This issue I have is I know the distance on the map but
how do I determine the distance on the screen...

a pixel is not a standard measurement, it is dependent upon the screen
resolution.   

Any suggestions !!

Thomas Bartlett
----------------------------------------------------------------------------
------------------------------
GIS Technician
Digital (Digest) Data Design Pty Ltd 
Military GIS Professionals and Consultants 
http://www.dddd.com.au/ 
Telephone: 02 6286 9555 
Facsimile: 02 6286 9888 
Postal : PO Box 683 MAWSON  ACT  2607



More information about the mapserver-users mailing list