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

Brandon Plasters bplasters2 at ducks.org
Tue Mar 11 15:21:11 EST 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>&nbsp;</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>&nbsp;</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&nbsp;one&nbsp;mile, the labels are not drawn. =
here is=20
my map file for this layer:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>LAYER <BR>&nbsp; NAME "majorrds" <BR>&nbsp; DATA mjr_rds<BR>&nbsp; =
STATUS=20
DEFAULT<BR>&nbsp; TYPE LINE<BR>&nbsp; LABELITEM "Full_name"<BR>&nbsp; =
CLASS=20
<BR>&nbsp;&nbsp;&nbsp; COLOR 150 150 150 <BR>&nbsp;&nbsp;&nbsp;=20
LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
ANTIALIAS<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE=20
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANGLE AUTO<BR>&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
TYPE TRUETYPE<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FONT=20
ARIAL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
POSITION AUTO<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PARTIALS=20
true<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER=20
2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp; END =
# end=20
of label <BR>&nbsp; END # end of class object<BR>END # end of layer =
object</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks in advance.</DIV>
<DIV>-brandon&nbsp;</DIV></BODY></HTML>

--=_57080A2A.E283CEC9--



More information about the mapserver-users mailing list