[Cartoweb-users] strange scalebar behaviour

Oliver Christen oliver.christen at camptocamp.com
Mon Jan 7 02:46:53 EST 2008


Hi

the values displayed in the scalebare are automaticaly handled by mapserver.
the only parameters you can changes are the ones specified in the mapfile 
specifications
http://mapserver.gis.umn.edu/docs/reference/mapfile/scalebar
the rest is handled by mapserer itself.

> Hi to all,
> maybe a bit offtopic, but
> I don't understand how can I set the settings in order to have a linear
> standard scale which normalized measure. That is:
> If I change the value of the scale by typing it I obtain strange value for
> the scale bar and even if I set a steady measure in pixel in the map file
> the length(in pixel) can change.
> This is an example
>
> scale scalebar
> 10 1
> 100 10
> 1000 120 ?
> 2000 240
> 4000 480
> 8000 970 ?
> 10000 1200
> 12000 1400
> 14000 1700
> 15000 1800
> 20000 2400
> 24000 2900
> 28000 3400
> 30000 3600
> 32000 3700
> 33000 3700
>
> I'd like to have a scalebar which takes 1 cm per interval for 10 intervals
> that is 10 cm which can represent 1, 10, 100, 1000 meters according to the
> set scale value. How can I get this ?(The beaviour of scalebar is also
> affected by the mapsize)
>
> Thanks to everybody
>
> Giu
>
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> In REGALO 'All the Good Thing' di NELLY FURTADO
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6616&d=20071229
>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list