[Mapserver-users] (no subject)

Eric Bridger eric at gomoos.org
Mon Jun 30 05:18:04 EDT 2003


I'm not familiar with .TAB datasets, but perhaps you need a LABELITEM in
your LAYER so mapserver knows what field to use as label text.


On Mon, 2003-06-30 at 12:16, llizzff wrote:
> The MapServer refuse to draw the actual annotation text.
> 
> When I set the styleitem auto,the mapserver will draw the actual 
> 
> annotation text,but it is not expect. when the styleitem auto was 
> 
> annotated, the mapserver can only render some dots.
> 
> The follow snatch of mapfile is used.
> 
> LAYER
>     NAME hkdb
>     TYPE point
>     STATUS on
>     Connectiontype OGR
>     CONNECTION "c:\apache\htdocs\model\model\mapdatax\placenm_text_t7.TAB"
>     #STYLEITEM "AUTO"
>     CLASS
>         OUTLINECOLOR 128 128 128
>         COLOR 128 128 128
> 	    LABEL
> 	        ANTIALIAS true
>                 COLOR  255 0 0
>                 FONT fritqat-italic
>                 TYPE truetype
>                 SIZE 8
>                 POSITION auto			
>                 PARTIALS true
>                 OUTLINECOLOR 255 255 255			
> 	    END 
>    END
> END
> 
> Configuration:
> 
>   Win2K, apache1.3.27
>   PHP 4.23
>   php_mapscript_40.dll(this is in the mapserver-4.0-dev-win32-php4.3.2.zip)
> 
> Best Regards
> 
> 
> 
> 
> 
> --http://www.eyou.com
> --Îȶ¨¿É¿¿µÄÃâ·Ñµç×ÓÐÅÏä  ÓïÒôÓʼþ  Òƶ¯ÊéÇ©  ÈÕÀú·þÎñ  ÍøÂç´æ´¢...ÒÚÓÊδ¾¡
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 






More information about the mapserver-users mailing list