annotation styleitem auto and mapinfo files with php_mapscript

Fx Gamoy fx.gamoy at GEOMATIKA.FR
Tue Jan 22 02:06:37 PST 2008


Hi Tamas
thanks a lot

i've tried this :

$mylabeltext=$oShape->getvalue($oLayer,"OGR:LabelText");

but nothing occur .. my string is empty..

Any idea??

Best regards,
fx

Tamas Szekeres <szekerest at gmail.com> a écrit :

> 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