[ka-Map-users] scalebar units in PDF output

Lorenzo Becchi lorenzo at ominiverdi.com
Sat Jan 27 02:52:02 EST 2007


Hi Kurt,

you can hack htdocs/tools/print/print_map.php
after line 167 where map object is set.
scalebar object is managed on line 247

here manual reference:
http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/classes/scalebarobj

ciao
Lorenzo




> Hello,
>
> The scalebar which is printed to the pdf output is in mapunits, in 
> this case
> meters.  However, I'd like to change that to read in miles or 
> kilometers.  I
> don't see anywhere to set that.  It appears to be generated via one 
> line of
> php mapscript without any code to configure it.
>
> Any ideas?  Thanks so much.
>
> Kurt



More information about the ka-Map-users mailing list