[mapserver-dev] RE: MapServer 6.0 Beta 1 - Expression Parser question

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Thu Mar 10 18:21:43 EST 2011


This is expected. It's in the RFC and migration guide. We had to treat these 
like true expressions so various formatting functions could be introduced.

Steve

-----Original Message-----
From: Smith, Michael ERDC-CRREL-NH [mailto:michael.smith at usace.army.mil] 
Sent: Thursday, March 10, 2011 5:18 PM
To: mapserver-dev at lists.osgeo.org; Lime, Steve D (DNR)
Subject: MapServer 6.0 Beta 1 - Expression Parser question

Steve,

To get the expression parser to label my layers as pre 6.0, I¹ve had to
change my TEXT statement from

TEXT ( [LOCATION] [OBSERVED] [UNITS]$[OBSTIME] )

to

TEXT ( "[LOCATION]"+" "+"[OBSERVED]"+"[UNITS]" +"$"+"[OBSTIME]" )

And put quotes around the string fields. Is this expected behavior or is
this a bug with the new expression parser?

Mike


-- 
Michael Smith
Remote Sensing/GIS Center
US Army Corps of Engineers





More information about the mapserver-dev mailing list