[Mapserver-users] Mapfile reference question

Jean-Francois.Doyon at CCRS.NRCan.gc.ca Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Thu Jan 8 17:30:01 EST 2004


Heh, I'd never even heard of these!

Please file a bug on the mapserver website, there's a category for MapServer
Documentation ...

Thanks,
J.F.

-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu]On Behalf Of Steve Lime
Sent: Thursday, January 08, 2004 5:16 PM
To: mapserver-users at lists.gis.umn.edu; woodbri at swoodbridge.com
Subject: Re: [Mapserver-users] Mapfile reference question


You are sort of dreaming. There is a length function, and concatinating
strings is a built in feature (just plop the columns one after another
in the TEXT definition. The others would be easy to add if you want to
roll up your sleeves and edit mapparser.y.

Regardless, yes those that exist should be documented.

Steve

>>> <woodbri at swoodbridge.com> 1/8/2004 1:50:01 PM >>>
Hi all,

I seem to remember using some string function in the mapfile but I 
can't find any reference to them. Do you know about them? can you add 
them to the mapfile-reference.

http://mapserver.gis.umn.edu/doc40/mapfile-reference.html 

It was used like:

TEXT (mid(3,-1,[FIELD]))
or maybe
TEXT (mid(3,len([FIELD]),[FIELD])

to generate extract characters 3..len([FIELD])

it seems to me that there were functions like:

mid(start,stop,string)
left(num,string)
right(num,string)
len(string)
concat(string1,string2,...)

Have these gone away, was I dreaming, or replaced by regular 
expressions? If these are still valid, they should get added to the 
Mapfile reference.

-Steve W.
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
_______________________________________________
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