<div class="gmail_quote">On Mon, May 7, 2012 at 7:22 AM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I want to both select by a polyon in WFS (ogc spatial) AND filter<br>
results by quite a complex ECQL filter (difficult to convert to OGC). Is<br>
this possible?<br></blockquote><div><br></div><div>You have to choose one format, cannot have both, the spec is clear</div><div>about that when it comes to the three basic filter types one can express,</div><div>featureid, bbox and filter.</div>
<div><br></div><div>Often both ECQL and OGC Filter can represent the same filter, </div><div>ECQL can do ogc spatial filters and almost any ECQL filter can be</div><div>converted to OGC (one significant</div><div>shortcoming in OGC filter is that you cannot filter by feature id and</div>
<div>combine that with other filters)</div><div><br></div><div>Cheers</div><div>Andrea</div></div><div><br></div>-- <br>Ing. Andrea Aime<br>GeoSolutions S.A.S.<br>Tech lead<br><br>Via Poggio alle Viti 1187<br>55054 Massarosa (LU)<br>
Italy<br><br>phone: +39 0584 962313<br>fax: +39 0584 962313<br>mob: +39 339 8844549<br><br><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a><br><a href="http://geo-solutions.blogspot.com/" target="_blank">http://geo-solutions.blogspot.com/</a><br>
<a href="http://www.youtube.com/user/GeoSolutionsIT" target="_blank">http://www.youtube.com/user/GeoSolutionsIT</a><br><a href="http://www.linkedin.com/in/andreaaime" target="_blank">http://www.linkedin.com/in/andreaaime</a><br>
<a href="http://twitter.com/geowolf" target="_blank">http://twitter.com/geowolf</a><br><br>