[postgis-devel] SRID check on &&

Sandro Santilli strk at keybit.net
Wed Jan 15 08:40:14 PST 2014


I just realized PostGIS-1.5 checks SRID on && but 2.0 does not,
but cannot find an entry in NEWS about that.
Seems to be a big enough change !

Here's the 2.0.0 NEWS section:
http://trac.osgeo.org/postgis/browser/tags/2.0.4/NEWS#L184

The only thing I found about RECHECK is a ticket to remove it
but that happened in 1.4.0: http://trac.osgeo.org/postgis/ticket/18 

What am I missing ?

 pg15=# select 'SRID=43;POINT(0 0)'::geometry && 'SRID=45;POINT(1 1)';
 ERROR:  Operation on two geometries with different SRIDs

 pg20=# select 'SRID=43;POINT(0 0)'::geometry && 'SRID=45;POINT(1 1)';
 f

--strk; 

 ()  ASCII ribbon campaign        - against html e-mail
 /\  http://www.asciiribbon.org   - against proprietary attachments



More information about the postgis-devel mailing list