[Mapserver-users] join

Stephen Woodbridge woodbri at swoodbridge.com
Thu May 6 08:21:31 PDT 2004


1) please make sure the list is CC'd on responses so everyone gets the 
answers and if I'm not available others can answer your messages.

2) Get a copy of the MAPFILE reference from the mapserver home page off 
the documentation link and you will see that the TEXT item should be 
part of the CLASS block not the STYLE block

-Steve W.

malonso at meso.com wrote:

> Thanks so much for your quick reply.  I tried it with and without the
> brackets and it didnt seem to work either way.  I get the error:
> 
> loadStyle(): Unknown identifier. Parsing error near (TEXT):(line 137)
> 
> Here is the excerpt from the map file.  What did I do wrong.  I really
> appreciate your help.
> 
> 
>   LAYER
>     NAME "Roads_tig"
>     TYPE line
>     CONNECTIONTYPE OGR
>     CONNECTION "/home/malonso/tiger/TGR36083.RT1"
>     DATA "CompleteChain"
>     STATUS DEFAULT
>     LABELITEM "FENAME"
>    CLASS
>      COLOR 0 0 0
>      STYLE
>        TEXT (FENAME FETYPE)
>      END
>      LABEL
>        COLOR 132 31 31
>         TYPE BITMAP
>         SIZE TINY
>         POSITION CL
>         PARTIALS FALSE
>         MINDISTANCE 4
>         BUFFER 4
>       END # end of label
>     END
>   END
> 
> 
> Matt
> 
> 
>>In your mapfile
>>
>>STYLE
>>   ...
>>   TEXT ([FENAME] [FETYPE])
>>   ...
>>END
>>
>>Use of the TEXT item overrides the values obtained from LABELITEM
>>
>>-Steve W.
>>
>>malonso at meso.com wrote:
>>
> 
> 
> 
> Matt Alonso
> Meso, Inc.
> 185 Jordan Road
> Troy, NY 12180
> phone: 267-446-8657
> work: 518-283-5169
> 
> 
> 
> 




More information about the MapServer-users mailing list