Hi,

You should perhaps ensure this label is actually fetched from the data
source, by specifying it in LABELITEM for example.
In case the problem still arise then you can file a ticket to get it fixed.

Best regards,

Tamas



2008/1/22, Fx Gamoy <[EMAIL PROTECTED]>:
> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>:
> >> 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
> >>
> >
>

Reply via email to