[postgis-users] Why should these boxes intersect?

DrYSG ygutfreund at draper.com
Wed Jul 11 08:10:40 PDT 2012


Try this in PostGIS 2.0 and tell me why this should return true?

SELECT ST_Intersects(
	st_geomfromtext('SRID=4326;POLYGON((174.375 51.9230769,-168.75
51.9230769,-168.75 41.5384615,174.375 41.5384615,174.375 51.9230769))'),
	st_geomfromtext('SRID=4326;POLYGON((-70.89651028442381
42.462445702609216,-71.23948971557616 42.462445702609216,-71.23948971557616
42.269406003536325,-70.89651028442381 42.269406003536325, -70.89651028442381
42.462445702609216))')
	);

I.E I don't think a box in the Boston area should intersect one in the
northern pacific. Am I wrong?

--
View this message in context: http://postgis.17.n6.nabble.com/Why-should-these-boxes-intersect-tp4998895.html
Sent from the PostGIS - User mailing list archive at Nabble.com.



More information about the postgis-users mailing list