[Mapserver-users] FW: Why do so many highway shields show up on this map?

Larry Hurst LHurst at digmap.com
Fri Oct 17 16:51:28 PDT 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C39509.94F45270
Content-Type: text/plain;
	charset="iso-8859-1"

> I am trying to create a map with highway shields (.gif) and highway
> numbers (shape attribute) displayed.
> I cannot seem to get just one or a couple of highway shields to display.
> It appears that every segment of the line
> receives a gif.  I've tried dissolving, chaining, weeding data to no
> avail.
> I am able to get the label to appear how I want using the MINDISTANCE
> parameter, but too many shields are still displaying.
> Any hints that can be provided are much appreciated!
> 
> Thanks,
> Larry Hurst
> GIS Specialist
> Digital Map Products
> 575 Anton Bl., Suite 750
> Costa Mesa, CA 92626
> (714) 432-7637 ext. 2360
> #################################################################
> #          Labeling Settings : TeleAtlas Interstates		
> #################################################################
>   LAYER
>     NAME "IntL"
> 	TILEINDEX teleatlas_global_index
>     	TILEITEM   FILES 
>   	TYPE POINT
>   	DATA "00disweed"
>   	STATUS ON
>   	LABELITEM "ROUTENUM"
>   	CLASSITEM "ROUTENUM"
>   	LABELMAXSCALE 600000
> 	LABELCACHE ON
>     	MAXSCALE 600000
>     	MINSCALE 1
> 	MAXFEATURES 2
>  CLASS
>     	#EXPRESSION ([RTETYP] = 1) 
>     	#COLOR 240 0 0
>     	#SIZE 2
>     	#SYMBOL 2
>     	SYMBOL 'interstate_shield'
>    LABEL
>       COLOR 240 240 240
>       #BACKGROUNDCOLOR 0 0 0
>       FONT arial-narrow
> 	TYPE truetype
>       SIZE 8
> 	POSITION CC
>       PARTIALS FALSE
>       BUFFER 1
>       ANGLE 0	
>       #MINFEATURESIZE 5
> 	MINDISTANCE 200
>     END
>   END
>   END
> 

------_=_NextPart_001_01C39509.94F45270
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>FW: Why do so many highway shields show up on this map?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am trying to create a map with =
highway shields (.gif) and highway numbers (shape attribute) =
displayed.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I cannot seem to get just one or a =
couple of highway shields to display.  It appears that every =
segment of the line</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">receives a gif.  I've tried =
dissolving, chaining, weeding data to no avail.</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">I am able to get the label to appear =
how I want using the MINDISTANCE parameter, but too many shields are =
still displaying.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Any hints that can be provided are =
much appreciated!</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">Larry Hurst</FONT></B>
<BR><B><FONT SIZE=3D2 FACE=3D"Arial">GIS Specialist</FONT></B>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Digital Map Products</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">575 Anton Bl., Suite 750</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Costa Mesa, CA 92626</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">(714) 432-7637 ext. 2360</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">#################################################################</=
FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">#          Labeling =
Settings : TeleAtlas Interstates    =
        </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">#################################################################</=
FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  LAYER</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    NAME =
"IntL"</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">TILEINDEX teleatlas_global_index</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    =
    TILEITEM   FILES </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  =
      TYPE POINT</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  =
      DATA "00disweed"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  =
      STATUS ON</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  =
      LABELITEM "ROUTENUM"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  =
      CLASSITEM "ROUTENUM"</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  =
      LABELMAXSCALE 600000</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">LABELCACHE ON</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    =
    MAXSCALE 600000</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    =
    MINSCALE 1</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">MAXFEATURES 2</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New"> CLASS</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    =
    #EXPRESSION ([RTETYP] =3D 1) </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    =
    #COLOR 240 0 0</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    =
    #SIZE 2</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    =
    #SYMBOL 2</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    =
    SYMBOL 'interstate_shield'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">   LABEL</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
COLOR 240 240 240</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
#BACKGROUNDCOLOR 0 0 0</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
FONT arial-narrow</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">TYPE truetype</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
SIZE 8</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">POSITION CC</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
PARTIALS FALSE</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
BUFFER 1</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
ANGLE 0   </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">      =
#MINFEATURESIZE 5</FONT>
<BR>        <FONT SIZE=3D2 =
FACE=3D"Courier New">MINDISTANCE 200</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">    END</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  END</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">  END</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C39509.94F45270--



More information about the MapServer-users mailing list