[mapserver-users] Get current year in a CLASS EXPRESSION (mapfile)

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Mar 23 09:06:22 PDT 2016


On 2016-03-23 12:49 PM, wiltomap wrote:
> Thanks for your suggestions. I eventually found a simple solution to me:
>
> EXPRESSION ("[datinter]" ~ '^2016')
>
>
>

Hi Thomas,

Great.  For other readers, here is the document explaining regular 
expressions: http://mapserver.org/mapfile/expressions.html

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/







More information about the MapServer-users mailing list