Hi Frederico,

Tra something like this

LAYER
        NAME "sample"
        DATA "path/to/your/shape"
        STATUS ON
        TYPE ANNOTATION
        LABELITEM "text_field_to_display"
        LABELMAXSCALE 8001
        SYMBOLSCALE 2000 # you need it for scaleable labels
        CLASS
                LABEL
                        COLOR 240 150 5
                        SIZE 7
                        POSITION CC
                        FONT my_font    # defined in your FONTSET file
                        TYPE TRUETYPE
                        ANGLE AUTO
                END
        END
END

I hope this helps you

Zoltan

On Tue, 2 May 2006, Frederico Lucca wrote:

> Hello all,
> 
> I have a mapinfo text layer and i need to view it on the map.
> I use ogr2ogr to convert to esri shape format and put in my mapfile but i
> can't see the layer.
> I have a multi-thread environment, then i don't want to use OGR, because of
> mutex.
> 
> LAYER
>  NAME TB
>  TYPE annotation
>  #STYLEITEM "auto"
>  #CONNECTIONTYPE ogr
>  #CONNECTION "/var/www/maps/TB.TAB"
>  DATA "/var/www/maps/shp/TB"
>  STATUS DEFAULT
>  MINSCALE 1
>  MAXSCALE 50000
>  CLASS
>   COLOR 255 0 0
>   OUTLINECOLOR 171 158 137
>  END
> END
> 
> Thanks in advance.
> 
> Fred
> 
> --
> "Everything under the sun is in tune
> But the sun is eclipsed by the moon"
> 

Reply via email to