From 99af9bbfb1be5f5bf89961a233fc52feb64f3307 Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Sat, 14 Nov 2009 21:14:53 +0000 Subject: [PATCH] Move the polar stereographic line a little further north in bestsrid. (#304) git-svn-id: http://svn.osgeo.org/postgis/trunk@4812 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/geography_measurement.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgis/geography_measurement.c b/postgis/geography_measurement.c index 3c54488bf..4376ce31f 100644 --- a/postgis/geography_measurement.c +++ b/postgis/geography_measurement.c @@ -522,13 +522,13 @@ Datum geography_bestsrid(PG_FUNCTION_ARGS) /* Are these data arctic? Polar stereographic north. */ - if( gbox1.ymin > 60.0 && gbox2.ymin > 60.0 ) + if( gbox1.ymin > 65.0 && gbox2.ymin > 65.0 ) { PG_RETURN_INT32(-3995); } /* Are these data antarctic? Polar stereographic south. */ - if( gbox1.ymin < -60.0 && gbox2.ymin < -60.0 ) + if( gbox1.ymin < -65.0 && gbox2.ymin < -65.0 ) { PG_RETURN_INT32(-3995); } -- 2.50.1