[postgis-users] strange query with linestring in one point
Sandro Santilli
strk at keybit.net
Thu Sep 29 02:20:34 PDT 2011
On Thu, Sep 29, 2011 at 11:14:52AM +0200, Szymon Guz wrote:
> 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 second should raise an exception due to malformed WKT being used.
Doesn't it ?
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the postgis-users
mailing list