[Mapserver-users] SCALEBAR and POSTLABELCACHE

Shannon Scott sscott at gwi.net
Fri Jun 27 10:22:47 EDT 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?&nbsp; =
Am I using=20
the parameters correctly?&nbsp; 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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>SCALEBAR<BR>&nbsp; STATUS =
EMBED<BR>&nbsp;=20
LABEL<BR>&nbsp;&nbsp;&nbsp; SIZE tiny<BR>&nbsp;&nbsp;&nbsp; COLOR 0 0=20
0<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 255 255 255<BR>&nbsp; END<BR>&nbsp; =
STYLE=20
0<BR>&nbsp; INTERVALS 3<BR>&nbsp; SIZE 100 3<BR>&nbsp; COLOR 0 0 =
0<BR>&nbsp;=20
BACKGROUNDCOLOR 255 255 255<BR>&nbsp; OUTLINECOLOR 0 0 0<BR>&nbsp; UNITS =

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

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




More information about the mapserver-users mailing list