From 27738f2c47dfca5a0391133f2ace158f4d25e840 Mon Sep 17 00:00:00 2001 From: Sean Gillies Date: Mon, 26 Feb 2018 13:21:22 -0700 Subject: [PATCH] Fix crs input for reproject --- rio_rgbify/mbtiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rio_rgbify/mbtiler.py b/rio_rgbify/mbtiler.py index f696d1a..40da790 100644 --- a/rio_rgbify/mbtiler.py +++ b/rio_rgbify/mbtiler.py @@ -129,7 +129,7 @@ def _tile_worker(tile): reproject( rasterio.band(src, 1), out, dst_transform=toaffine, - dst_crs="init='epsg:3857'", + dst_crs='epsg:3857', resampling=RESAMPLING.bilinear) out = data_to_rgb(out, global_args['base_val'], global_args['interval'])