Thanks for the confirmation. Created <a href="http://trac.osgeo.org/postgis/ticket/845" target="_blank">#845</a><br><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 9:41 PM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, Feb 24, 2011 at 09:35:44AM +0100, Sandro Santilli wrote:<br>
> On Thu, Feb 24, 2011 at 12:58:24PM +1300, Craig de Stigter wrote:<br>
> > Hi list<br>
> ><br>
> > This query returns false, but the box and point intersect:<br>
> ><br>
> > select st_intersects('POINT(169.69960846592 -46.5061209281002)'::geometry,<br>
> > > 'POLYGON((169.699607857174 -46.5061218662,169.699607857174<br>
> > > -46.5061195965597,169.699608806526 -46.5061195965597,169.699608806526<br>
> > > -46.5061218662,169.699607857174 -46.5061218662))'::geometry);<br>
> > > st_intersects<br>
><br>
> Does sound like a bug:<br>
><br>
> st_relate | st_intersects | st_disjoint<br>
> -----------+---------------+-------------<br>
> 0FFFFF212 | f | f<br>
><br>
> ST_Relate is correct, ST_Disjoint is correct, ST_Intersects is _wrong_<br>
><br>
> I B E<br>
> -----<br>
> I 0 F F<br>
> B F F F<br>
> E 2 1 2<br>
><br>
> Could you please file a bug for this ?<br>
> <a href="http://trac.osgeo.org/postgis" target="_blank">http://trac.osgeo.org/postgis</a><br>
<br>
</div>For the record: the GEOS side is fine, so must be some shortcut in postgis.<br>
<div><div></div><div><br>
--strk;<br>
<br>
() Free GIS & Flash consultant/developer<br>
/\ <a href="http://strk.keybit.net/services.html" target="_blank">http://strk.keybit.net/services.html</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Koordinates Ltd<br>PO Box 1604, Shortland St, Auckland, New Zealand<br>Phone <a href="tel:%2B64-9-966%200433" target="_blank">+64-9-966 0433</a> Fax <a href="tel:%2B64-9-969%200045" target="_blank">+64-9-969 0045</a><br>
Web <a href="http://www.koordinates.com" target="_blank">http://www.koordinates.com</a><br>