[mapserver-users] Scalebar definition

Steve Lime steve.lime at dnr.state.mn.us
Wed Sep 25 13:14:05 PDT 2002


Not currently without hacking the code. Depending on the magnitude of
the interval size a different rounding scheme is put in place. The code
is at the top of mapscale.c if you'd care to alter it.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Stefan Stern <mail2stern at gmx.net> 09/25/02 05:43AM >>>
Hi all,

1. My problem with .png images as reference object images is solved.
The 
pictures has to be 8-bit.
Many thanks for all suggestions!

Re: [mapserver-users] .png or .jpg as reference object image?
Van Ulden, Joost wrote:

>We have used png's without too many problems.  The only issue from our
end
>was to make sure it was an 8-bit colour image.  I would look at your
>REFERENCE in the mapfile.  Here is ours:
>
2. A question related to the scalebar object:
My scalebar is divided into 3 segments. The output looks like 0 : 78 :

156 : 234 Miles.

Is there a way to force full 100er / 10er;  - e.g. like 0 : 100 : 200 :
300?

Regards,
Stefan




More information about the MapServer-users mailing list