[Mapserver-users] road labels won't work when bbox width is less than a mile

Brandon Plasters bplasters2 at ducks.org
Tue Mar 11 12:21:11 PST 2003


--=_57080A2A.E283CEC9
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello everyone,

I'd first like to say thanks to all the geniuses in this list- without =
your help i'd be nowhere!

my problem is this: I have a road layer with working name labels when the =
bbox is greater than approx. 1 mile. when the map is zoomed in to an =
extent that's less one mile, the labels are not drawn. here is my map file =
for this layer:

LAYER=20
  NAME "majorrds"=20
  DATA mjr_rds
  STATUS DEFAULT
  TYPE LINE
  LABELITEM "Full_name"
  CLASS=20
    COLOR 150 150 150=20
    LABEL
      ANTIALIAS
      MINFEATURESIZE 0
      ANGLE AUTO
      TYPE TRUETYPE
      FONT ARIAL
      SIZE 2
      POSITION AUTO
      PARTIALS true
      BUFFER 2
      COLOR 0 0 0
    END # end of label=20
  END # end of class object
END # end of layer object


thanks in advance.
-brandon=20

--=_57080A2A.E283CEC9
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 5.50.4807.2300" name=3DGENERATOR></HEAD>
<BODY style=3D"MARGIN-TOP: 2px; FONT: 8pt Microsoft Sans Serif; MARGIN-LEFT=
: 2px">
<DIV><FONT size=3D1>Hello everyone,</FONT></DIV>
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1>I'd first like to say thanks to all the geniuses in =
this list-=20
without your help i'd be nowhere!</FONT></DIV>
<DIV><FONT size=3D1></FONT> </DIV>
<DIV><FONT size=3D1>my problem is this: I have a road layer with working =
name=20
labels when the bbox is greater than approx. 1 mile. when the map is =
zoomed in=20
to an extent that's less one mile, the labels are not drawn. =
here is=20
my map file for this layer:</FONT></DIV>
<DIV> </DIV>
<DIV>LAYER <BR>  NAME "majorrds" <BR>  DATA mjr_rds<BR>  =
STATUS=20
DEFAULT<BR>  TYPE LINE<BR>  LABELITEM "Full_name"<BR>  =
CLASS=20
<BR>    COLOR 150 150 150 <BR>   =20
LABEL<BR>     =20
ANTIALIAS<BR>      MINFEATURESIZE=20
0<BR>      ANGLE AUTO<BR>    &=
nbsp;=20
TYPE TRUETYPE<BR>      FONT=20
ARIAL<BR>      SIZE 2<BR>    &=
nbsp;=20
POSITION AUTO<BR>      PARTIALS=20
true<BR>      BUFFER=20
2<BR>      COLOR 0 0 0<BR>    END =
# end=20
of label <BR>  END # end of class object<BR>END # end of layer =
object</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>thanks in advance.</DIV>
<DIV>-brandon </DIV></BODY></HTML>

--=_57080A2A.E283CEC9--



More information about the MapServer-users mailing list