[mapserver-users] FW: Time filter question

Yewondwossen Assefa yassefa at dmsolutions.ca
Mon Aug 24 06:40:39 PDT 2009


Hi There,

  Did you had a chance to review this doc, you might be able to acheive 
what you want using wms time support:
  http://mapserver.org/ogc/wms_time.html

regards,

Dean wrote:
>  
> 
> Hi,
> 
>  
> 
> I have a shape file that has an attribute ‘ValidTime’ as a string.  This 
> string has the format mm/dd/yyyy hh:mm:ss
> 
> I would like to be able to query this attribute and match against the 
> current time to retrieve only features with a ValidTime in the past 5 
> mintues.
> 
> Is this possible using an expression query?  If so, how?  I'm using a 
> simple map file and the WMS service to return tiles for overlay on 
> Google Maps.
> 
>  
> 
> Thanks!
> 
> Dean
> 
>  
> 
>  
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------




More information about the MapServer-users mailing list