You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one I think is pretty minor, but doing the below is giving a VisibleDeprecationWarning from numpy I think:
import rasterio
with rasterio.open('tests/data/RGB.byte.tif') as src:
window = ((-10, 100), (-10, 100))
data = src.read(1, window=window, boundless=True)
Output:
test.py:4: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
data = src.read(1, window=window, boundless=True)
This one I think is pretty minor, but doing the below is giving a
VisibleDeprecationWarning
from numpy I think:Output:
It looks like it's happening when setting row and column offsets without rounding and casting to ints (ie. https://github.com/mapbox/rasterio/blob/master/rasterio/_io.pyx#L861-871). I didn't know when in the 'future' this was going to error rather than warn ... I'm using numpy 1.11.0.
The text was updated successfully, but these errors were encountered: