temporal queries via WFS

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Tue Dec 20 14:00:25 EST 2005


Tom,

 This end up to be setting the expression as It was a litteral 
expression instead of setting it using the back tics that indicates to 
mapserver to do time comparing (`[time_field]` ge `2004-10-12`). There 
is no detection right now to see if the filer parameters are time values 
or not. Not even sure how we should detect it. If we can find a way or 
logic to indicate that the value is a time, setting the filter is pretty 
easy.

Later,
Kralidis,Tom [Burlington] wrote:

>Hi,
>
>I'd like to do a GetFeature request, something like:
>
>http://devgeo.cciw.ca/cgi-bin/mapserv/ecows?service=WFS&version=1.0.0&request=GetFeature&typename=obs&filter=<Filter><PropertyIsGreaterThan><Property>datetime</Property><Literal>2002-10-30T00:00:00Z</Literal></PropertyIsGreaterThan></Filter>
>
>The result should bring back two results (i.e. more recent than 2002), but returned are all the records.  The data is configured for WMS Time support.
>
>Is it possible to do temporal slices in MapServer WFS in this fashion?
>
>..Tom
>  
>


-- 
----------------------------------------------------------------
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