SOS eventtime and result

Jørn Vegard Røsnes jorn at SPACETEC.NO
Wed Nov 7 04:50:41 EST 2007


Hi all,

I'm running Mapserver v5.1-dev.
Postgresql is running with debug level 5.

When I send a request containing result and time filtering, it seems that only 
the result filtering is included in the generated SQL WHERE statement (from 
Postgresql log). The eventtime filtering seems to be omitted.
URL (partly):
eventtime=<gml:TimePeriod><gml:beginPosition>2007-11-05T08:00:00Z</gml:beginPosition><gml:endPosition>2007-11-05T08:30:00Z</gml:endPosition></gml:TimePeriod>&
result=<Filter><ogc:PropertyIsEqualTo><ogc:PropertyName>mmsi_nb</ogc:PropertyName><ogc:Literal>258069000</ogc:Literal></ogc:PropertyIsEqualTo></Filter>


If I include only the eventtime in the SOS request, the SQL WHERE statement 
contains the time filtering.
URL (partly):
eventtime=<gml:TimePeriod><gml:beginPosition>2007-11-05T08:00:00Z</gml:beginPosition><gml:endPosition>2007-11-05T08:30:00Z</gml:endPosition></gml:TimePeriod>

Any ideas are appreciated.
I can send more details off-list.

cheers
Jørn Vegard



More information about the mapserver-users mailing list