<div class="gmail_quote">On Mon, May 7, 2012 at 11:38 PM, Phil Scadden <span dir="ltr">&lt;<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks. I am pretty sure that this ECQL is very tough to do in OGC<br>
(functions, NOT LIKE) so I will convert spatial to ECQL. I havent found<br>
a way to specify SRS with ECQL spatial so I have to ensure geometry is<br>
in native coordinates.<br></blockquote><div><br></div><div>You have a point, there is indeed no way. The easiest way would be to </div><div>create a filter function to do the job I guess. If we mimic Postgis:</div><div><br>
</div><div>geomFromText(String wkt, String srs)</div><div><br></div><div>or </div><div><br></div><div>geomFromText(String wkt, int srid)</div><div><br></div><div>(for geoserver/geotools the former might make more sense)</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>