[Mapserver-users] problem with mapserver 4 + label + shape

Randy James rjames57 at yahoo.com
Mon Jan 19 17:53:25 EST 2004


Hi

Looks like if you move the labelitem to the layer object it
should work. Check below for example

--- collao_andres <collao_andres at hotmail.com> wrote:
> work with mapserver 4 + redhat 9 and I have problems to
> show the 
> originating labels from a layer that uses a SHAPE file
>  
> when defining labelitem does not show the layer in the
> map. but when 
> quiot the instruction labelitem, the layer appears
> without problems
> 
> some idea???
> 
> #INICIO_curvas
>   LAYER
>     NAME "curvas"
>     STATUS OFF
>     DATA curvas/curvas_primera
>     TYPE LINE
>     UNITS METERS
>     SIZEUNITS PIXELS
>     TOLERANCE 0
      LABELITEM "CURVAS_ID"
>     TOLERANCEUNITS PIXELS
>     METADATA
>       "origen"    "e-siir"
>     END
> 
>     PROJECTION
>       "proj=longlat" 
>     END
>    
> #INICIO_CLASES
>     CLASS
> 	NAME "0"
>       LABEL
>         TYPE TRUETYPE
>         FONT "arial"
>         SIZE 8
>         MINSIZE 4
>         MAXSIZE 8
>         POSITION CC
>         ANGLE AUTO
>         OFFSET 10 10
>         COLOR 208 166 108
>         OUTLINECOLOR 255 255 255
>         ANTIALIAS TRUE
>       MINFEATURESIZE AUTO
> 	      BUFFER 2
>       END
>       STYLE
>         SYMBOL 0
>         COLOR 208 166 108
> 	  OUTLINECOLOR -1 -1 -1
>         SIZE 1
>         MINSIZE 1
>         MAXSIZE 100
>       END
>     END
> #FIN_CLASES
>   END
> #FIN_CAPA
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus



More information about the mapserver-users mailing list