[mapserver-users] Is it possible to take the last 3 chars from astring as labelitem

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Nov 13 14:56:04 PST 2008


It's not possible within mapserver itself. With PostGIS or Oracle Spatial you can specify functions in your data
statements essentially creating a column on-the-fly. Perhaps that's possible with SDE as well?

Steve

>>> On 11/11/2008 at 7:14 AM, in message <49198537.7030701 at i-real.nl>, I-Real - Rob
ter Haar <r.terhaar at i-real.nl> wrote:
> Hi,
> 
> As in the subject. Is it possible to do a substr on a string like SQL 
> can do.
> 
> I use SDE for source and in the description there is a long string, but 
> i only need the last 3 characters.
> 
> I can't add column in the database so thats no option. I only have a sde 
> host username and password.
> 
> Can anyone help me?
> 
> kind regards,
> 
> Rob ter Haar




More information about the MapServer-users mailing list