]> granicus.if.org Git - postgis/commitdiff
Restrict the coverage of the geography polar interesction slightly.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 30 Apr 2012 17:27:09 +0000 (17:27 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 30 Apr 2012 17:27:09 +0000 (17:27 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9705 b70326c6-7e19-0410-871a-916f4a2858ee

regress/tickets.sql
regress/tickets_expected

index c2e23050f2e6e0511b7ae406c823774078b1973e..fa07a57e0feec048d6327ea2b17c9b6d9822a59b 100644 (file)
@@ -586,7 +586,7 @@ select '#1038', ST_AsSVG('POLYGON EMPTY'::geometry);
 select '#1042',round((st_ymax(st_minimumboundingcircle('LINESTRING(-1 -1, 1 1)')) * st_xmax(st_minimumboundingcircle('LINESTRING(-1 -1, 1 1)')))::numeric,0);
 
 -- #1170 --
-SELECT '#1170', ST_Intersection( ST_GeogFromText( 'POINT(0 90)'), ST_GeogFromText( 'POINT(0 90)' ) );
+SELECT '#1170', ST_Y(ST_Intersection( ST_GeogFromText( 'POINT(0 90)'), ST_GeogFromText( 'POINT(0 90)' ))::geometry);
 
 -- #1264 --
 SELECT '#1264', ST_DWithin('POLYGON((-10 -10, -10 10, 10 10, 10 -10, -10 -10))'::geography, 'POINT(0 0)'::geography, 0);
index a70f86f0344d2b7891969b44a1a149c495af9aa4..50ee58d604c573b0bd80fec444a972f2a7b56359 100644 (file)
@@ -193,7 +193,7 @@ ERROR:  MultiSurface cannot contain MultiPoint element at character 8
 ERROR:  AddToPROJ4SRSCache: could not parse proj4 string '' 
 #1038|
 #1042|2
-#1170|0101000020E610000001000000000044C00000000000805640
+#1170|90
 #1264|t
 #1398a|POINT(-119.093153 45.632669)
 #1398b|POINT(-160.137654 77.091608)