[Mapserver-users] Why do so many interatate shields display?

Larry Hurst LHurst at digmap.com
Fri Oct 17 20:38:02 EDT 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_01C39510.165ACA50
Content-Type: text/plain;
	charset="iso-8859-1"

I am trying to create a map with interatate shields (.gif) and interstate
labels (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_01C39510.165ACA50
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>Why do so many interatate shields display?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">I am trying to create a map with =
interatate shields (.gif) and interstate labels (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.&nbsp; It appears that every =
segment of the line</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">receives a gif.&nbsp; 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">#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Labeling =
Settings : TeleAtlas Interstates&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">#################################################################</=
FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; LAYER</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; NAME =
&quot;IntL&quot;</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">TILEINDEX teleatlas_global_index</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; TILEITEM&nbsp;&nbsp; FILES </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE POINT</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA &quot;00disweed&quot;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STATUS ON</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABELITEM &quot;ROUTENUM&quot;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLASSITEM &quot;ROUTENUM&quot;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABELMAXSCALE 600000</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">LABELCACHE ON</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; MAXSCALE 600000</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; MINSCALE 1</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">MAXFEATURES 2</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;CLASS</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; #EXPRESSION ([RTETYP] =3D 1) </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; #COLOR 240 0 0</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; #SIZE 2</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; #SYMBOL 2</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp; SYMBOL 'interstate_shield'</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp; LABEL</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
COLOR 240 240 240</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
#BACKGROUNDCOLOR 0 0 0</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
FONT arial-narrow</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">TYPE truetype</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
SIZE 8</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">POSITION CC</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
PARTIALS FALSE</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
BUFFER 1</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
ANGLE 0&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
#MINFEATURESIZE 5</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">MINDISTANCE 200</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp;&nbsp;&nbsp; END</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; END</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; END</FONT>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C39510.165ACA50--



More information about the mapserver-users mailing list