Skip to content

Commit

Permalink
Fix internal warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
drnextgis committed Oct 10, 2021
1 parent fb080fa commit cf8993c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_georaster_tiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class GeoRaster2TestGetTile(BaseGeoRasterTestCase):

def test_geo_bounding_tile(self):
gr = self.read_only_virtual_geo_raster()
gv = gr.footprint().reproject(CRS({'init': 'epsg:4326'}))
gv = gr.footprint().reproject(WGS84_CRS)
bounding_tile = mercantile.bounding_tile(*gv.get_shape(gv.crs).bounds)
self.assertEqual(bounding_tile, (37108, 25248, 16))

Expand Down
3 changes: 2 additions & 1 deletion tests/util/test_projections.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from shapely.geometry import Point
from affine import Affine

from telluric.constants import WGS84_CRS
from telluric.util import projections


source_crs = {'init': 'epsg:4326'}
source_crs = WGS84_CRS
source_shape = Point(0.0, 0.0)


Expand Down

0 comments on commit cf8993c

Please sign in to comment.