[mapserver-dev] Re: How to convert a timestamp date to an integer
jm64
jmtrg at hotmail.fr
Thu Jun 16 06:01:06 EDT 2011
I eventually bypassed the problem transmiting date parameters with OpenLayers
to the mapfile ;
it's then easier to assign a color to a point according to its date :
in the mapfile I have several class definitions when CLASSDATEi is a date
limit
which is used to check in which inverval time a point date ([date]) belongs
to ;
class
name "classdate1"
EXPRESSION ("[date]">"%CLASSDATE1%")
style
symbol "Point"
size 6
color 255 0 0
end
end
class
name "classdate2"
EXPRESSION ("[date]">"%CLASSDATE2%")
style
symbol "Point"
size 6
color 255 255 0
end
end
....
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-convert-a-timestamp-date-to-an-integer-tp6473914p6482411.html
Sent from the Mapserver - Dev mailing list archive at Nabble.com.
More information about the mapserver-dev
mailing list