Skip to content

Comments

Fix crs input for reproject#15

Open
sgillies wants to merge 1 commit intomasterfrom
sgillies-patch-1
Open

Fix crs input for reproject#15
sgillies wants to merge 1 commit intomasterfrom
sgillies-patch-1

Conversation

@sgillies
Copy link
Contributor

@sgillies sgillies commented Feb 26, 2018

Fixes a reported issue.

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.

3 participants