temporal queries via WFS

Yewondwossen Assefa assefa at DMSOLUTIONS.CA
Tue Dec 20 14:29:39 EST 2005


Tom,

 I think that should work. I checked a bit the code and It should not be 
too bad to integrate. You should post it as an enhancement for sure.

Later,

Kralidis,Tom [Burlington] wrote:

>Assefa,
>
>Thanks for the info.  What about doing it like this:
>
>- WFS filter is sent
>- mapwfs.c checks mapfile to see if LAYER/METADATA/"ows_timefield" matches Property element
> - if yes, do a time-enabled expression
> - if no, do a literal expression as per usual
>
>Comments?
>
>..Tom
>
>
>
>-----Original Message-----
>From:	UMN MapServer Users List on behalf of Yewondwossen Assefa
>Sent:	Tue 20-Dec-05 14:00
>To:	MAPSERVER-USERS at LISTS.UMN.EDU
>Cc:	
>Subject:	Re: [UMN_MAPSERVER-USERS] temporal queries via WFS
>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