Mapfile enhancement request {YEAR}

Paul Ramsey pramsey at REFRACTIONS.NET
Mon Jan 9 18:32:38 EST 2006


This is where the famous "use cpp and make" solution is handy.   
Manage your mapfiles like they are code.  You can have macro  
expansion neatly fill out things like standard colors, scales, and...  
years.
Paul

On Jan 9, 2006, at 7:44 AM, Stephen Woodbridge wrote:

> Hi,
>
> I have to update a bazillion mapfiles to change the Copyright year  
> and I thought it would be a nice feature to have current year as a  
> variable within the map files so one could do something like:
>
> TEXT "Copyright {YEAR}, ..."
>
> Any thoughts ...
>
> -Steve W.



More information about the mapserver-users mailing list