[Therion] FW: Scalebar metapost labelling errors

Bruce dangle at tomo.co.nz
Sun Feb 7 11:29:50 CET 2010


Hi Thomas

>change the line to
>
>   tmpx:=tmpl * (i * 2 / l - 1);
>
>works for me up to 1:30000


Thanks! Same formula rearranged does the trick!
This line of metapost does work better.  The scale and scale-bar statements
within the layouts work together.  If the physical length of the plotted
scale bar is too short or too long at the chosen scale then an error is
produced (Therion reports as CP-02).

With scale bar statements between 100m and 1000m in length it will work with
scales approx 1:150 to 1:30000.
That's plotted scalebars on the output between 35mm and 650mm long.
Seems a reasonable tolerance.

Bruce




More information about the Therion mailing list