Hello all,
Recently I need to write a WFS-T wrapper in the client side . Things ran
well until I started writing code to provide temporal filters for the
clients. From the WFS 2.0 GetCapabilites from GeoServer (v 2.10.2), only 2
temporal operands are supported, namely the TimeInstant and TimePeriod.
Firstly I tried with TimeInstant in a <fes:Before> filter to delete some
features and it worked, However when I tried to use TimePeriod, I always got
"Filter requires a time period" Error. Here is an sample request I sent:
<wfs:Transaction service="WFS" version="2.0.0 ...."">
<wfs:Delete typeName="fct:heat_point">
<fes:Filter>
<fes:During>
<fes:ValueReference>timestamps</fes:ValueReference>
<gml:TimePeriod>
<gml:beginPosition>2016-12-06T01:37:12.000</gml:beginPosition>
<gml:endPosition>2017-13-06T01:37:12.000</gml:endPosition>
</gml:TimePeriod>
</fes:During>
</fes:Filter>
</wfs:Delete>
</wfs:Transaction>
What am I missing , also tried with gml:begin/gml:end tag but got the same
error. Could someone please provide me a valid example?
Best Regards
Deen
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Time-period-issue-by-using-WFS-T-with-temporal-filter-tp5314446.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users