diff --git a/src/BuildTiles/Clipper/testclipper.cxx b/src/BuildTiles/Clipper/testclipper.cxx index 12d6f90e..1d87a9dd 100644 --- a/src/BuildTiles/Clipper/testclipper.cxx +++ b/src/BuildTiles/Clipper/testclipper.cxx @@ -71,7 +71,7 @@ int main( int argc, char **argv ) { c.x = b.get_center_lon(); c.y = b.get_center_lat(); - double span = sg_bucket_span(c.y); + double span = b.get_width(); if ( (c.y >= -89.0) && (c.y < 89.0) ) { min.x = c.x - span / 2.0; diff --git a/src/Lib/Polygon/chop-bin.cxx b/src/Lib/Polygon/chop-bin.cxx index ea6faf28..c7309def 100644 --- a/src/Lib/Polygon/chop-bin.cxx +++ b/src/Lib/Polygon/chop-bin.cxx @@ -52,7 +52,7 @@ static void clip_and_write_poly( string root, long int p_index, bool preserve3d ) { Point3D c, min, max, p; c = Point3D( b.get_center_lon(), b.get_center_lat(), 0 ); - double span = sg_bucket_span( c.y() ); + double span = b.get_width(); TGPolygon base, result; char tile_name[256], poly_index[256]; diff --git a/src/Prep/MergerClipper/testmerger.cxx b/src/Prep/MergerClipper/testmerger.cxx index b8b6a7a9..7e06dbbf 100644 --- a/src/Prep/MergerClipper/testmerger.cxx +++ b/src/Prep/MergerClipper/testmerger.cxx @@ -97,7 +97,7 @@ int main( int argc, char **argv ) { c.x = b.get_center_lon(); c.y = b.get_center_lat(); - double span = sg_bucket_span(c.y); + double span = c.get_width(); if ( (c.y >= -89.0) && (c.y < 89.0) ) { min.x = c.x - span / 2.0;