Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crs input for reproject #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix crs input for reproject #15

wants to merge 1 commit into from

Conversation

sgillies
Copy link
Contributor

@sgillies sgillies commented Feb 26, 2018

Fixes a reported issue.

@@ -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',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the best way to do it for web mercator. If the previous worked, it would have only been by accident, as Rasterio was only expecting +init=epsg:3857 (no quotes inside the string).

@sgillies
Copy link
Contributor Author

It looks like there hasn't been a Travis build in a year until this one and tests are failing due to changes in dependencies.

@dnomadb dnomadb self-assigned this Feb 26, 2018
@dnomadb
Copy link
Contributor

dnomadb commented Feb 26, 2018

This built fine ~ 3 months ago: https://travis-ci.org/mapbox/rio-rgbify/builds/316721443?utm_source=github_status&utm_medium=notification -- I'll look into the test changes

@frodrigo
Copy link
Contributor

frodrigo commented Jul 2, 2021

Please, merge that. The project is no more usable as is.

@frodrigo
Copy link
Contributor

I guess this issue is now fixed and this PR could be closed.

https://github.com/mapbox/rio-rgbify/blob/master/rio_rgbify/mbtiler.py#L141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants