Actually use Antarctic stereographic for antarctic points. (#304)
authorPaul Ramsey <pramsey@cleverelephant.ca>
Sun, 15 Nov 2009 23:13:36 +0000 (23:13 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Sun, 15 Nov 2009 23:13:36 +0000 (23:13 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4822 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/geography_measurement.c

index 4376ce31fd144a617aaf73b7bfbbcb7e7a415674..f4667443d142b46d4f9cd89af52168ed1fb9c003 100644 (file)
@@ -530,7 +530,7 @@ Datum geography_bestsrid(PG_FUNCTION_ARGS)
        /* Are these data antarctic? Polar stereographic south. */
        if( gbox1.ymin < -65.0 && gbox2.ymin < -65.0 )
        {
-               PG_RETURN_INT32(-3995);
+               PG_RETURN_INT32(-3031);
        }
        
        /*