[Mapserver-users] SCALEBAR and POSTLABELCACHE

Shannon Scott sscott at gwi.net
Fri Jun 27 07:22:47 PDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_00E0_01C33C96.0E3D1170
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,
I have a scalebar that I feel looks very nice, but I have noticed some =
of my line labels ( route shields ) are drawing on top of the scalebar.
When I add the POSTLABELCACHE TRUE parameter into the SCALEBAR object ( =
below ), the scalebar becomes much smaller ( about 1/5 the size ), and =
it cannot be read.
Has anyone else found this issue?  Am I using the parameters correctly?  =
Workaround?
Any help/advice is greatly appreciated.
Thank You.
Shannon

MapServer 3.6
Apache 2.0.43 ( CGI )
Linux RedHat 7.2

SCALEBAR
  STATUS EMBED
  LABEL
    SIZE tiny
    COLOR 0 0 0
    OUTLINECOLOR 255 255 255
  END
  STYLE 0
  INTERVALS 3
  SIZE 100 3
  COLOR 0 0 0
  BACKGROUNDCOLOR 255 255 255
  OUTLINECOLOR 0 0 0
  UNITS MILES
  POSITION LR
  TRANSPARENT TRUE
  #POSTLABELCACHE true
END # Scalebar

------=_NextPart_000_00E0_01C33C96.0E3D1170
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have a scalebar that I feel looks =
very nice, but=20
I have noticed some of my line labels ( route shields ) are drawing on =
top of=20
the scalebar.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>When I add the POSTLABELCACHE TRUE =
parameter into=20
the SCALEBAR object ( below ), the scalebar becomes much smaller ( about =
1/5 the=20
size ), and it cannot be read.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Has anyone else found this issue?  =
Am I using=20
the parameters correctly?  Workaround?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Any help/advice is greatly=20
appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thank You.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Shannon</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>MapServer 3.6</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Apache 2.0.43 ( CGI )</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Linux RedHat 7.2</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>SCALEBAR<BR>  STATUS =
EMBED<BR> =20
LABEL<BR>    SIZE tiny<BR>    COLOR 0 0=20
0<BR>    OUTLINECOLOR 255 255 255<BR>  END<BR>  =
STYLE=20
0<BR>  INTERVALS 3<BR>  SIZE 100 3<BR>  COLOR 0 0 =
0<BR> =20
BACKGROUNDCOLOR 255 255 255<BR>  OUTLINECOLOR 0 0 0<BR>  UNITS =

MILES<BR>  POSITION LR<BR>  TRANSPARENT TRUE<BR>  =
#POSTLABELCACHE=20
true<BR>END # Scalebar</FONT></DIV></BODY></HTML>

------=_NextPart_000_00E0_01C33C96.0E3D1170--




More information about the MapServer-users mailing list