[postgis-users] strange query with linestring in one point

Szymon Guz mabewlun at gmail.com
Thu Sep 29 02:14:52 PDT 2011


Hi,
I've got a quite strange situation:

this works OK, returns something:

SELECT ... FROM ... WHERE
st_intersects(
  geometry,
  st_geomfromtext('POINT(3 50)', 4326)
);

but this returns nothing:

SELECT ... FROM ... WHERE
st_intersects(
  geometry,
  st_geomfromtext('POINT(3 50, 3 50 )', 4326)
);

The strange thing is that when I move to point e.g. (3 51) everything works,
and the second query returns the same result as the first one.

What should I look for?

regards
Szymon

-- 
*http://simononsoftware.com/* <http://simononsoftware.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110929/8ad63ddb/attachment.html>


More information about the postgis-users mailing list