annotation styleitem auto and mapinfo files with php_mapscript

Tamas Szekeres szekerest at GMAIL.COM
Tue Jan 22 01:51:04 PST 2008


Hi,

You can possibly use shape.getValue("OGR:LabelText") to access the
text of the OGR label style.

Best regards,

Tamas



2008/1/22, FX GAMOY <fx.gamoy at geomatika.fr>:
> Hello world
>
> i use somes layers of type ANNOTATION with STYLEITEM "AUTO" in order to render
> mapinfo text style file with mapserver..
>
> The display is nice...
>
> When using php_mapscript, I would like to get for each object of this layer,
> the text string contained in the mapinfo text object..
>
>
> for each shape on the layer i can obtain only a MAPKEY attribute and i am not
> able to get the text value.
>
> is it a way to get it?
>
> thanks,
> best regards,
> fx
>



More information about the MapServer-users mailing list