Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Advanced Rasterio features notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chelm

This comment has been minimized.

Show comment Hide comment
@chelm

chelm Dec 18, 2017

Great write up @sgillies - especially cool is the lazy warping

chelm commented Dec 18, 2017

Great write up @sgillies - especially cool is the lazy warping

@Seagor

This comment has been minimized.

Show comment Hide comment
@Seagor

Seagor Dec 19, 2017

+1

Seagor commented Dec 19, 2017

+1

@MBalazs90

This comment has been minimized.

Show comment Hide comment
@MBalazs90

MBalazs90 Jan 27, 2018

+1

+1

@lbustelo

This comment has been minimized.

Show comment Hide comment
@lbustelo

lbustelo Mar 7, 2018

I'm trying to run rasterio in my notebook setup and keep getting when I import the module. Any pointers? I'm running my notebooks inside a container built based on the official jupyter docker stacks. I basically installing the python-numpy gdal-bin libgdal-dev on top of that image.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-34708b297916> in <module>()
----> 1 import rasterio

/opt/conda/lib/python3.5/site-packages/rasterio/__init__.py in <module>()
     13 import warnings
     14 
---> 15 from rasterio._base import (
     16     eval_window, window_shape, window_index, gdal_version)
     17 from rasterio.dtypes import (

ImportError: /usr/lib/libgdal.so.1: undefined symbol: sqlite3_column_table_name

lbustelo commented Mar 7, 2018

I'm trying to run rasterio in my notebook setup and keep getting when I import the module. Any pointers? I'm running my notebooks inside a container built based on the official jupyter docker stacks. I basically installing the python-numpy gdal-bin libgdal-dev on top of that image.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-34708b297916> in <module>()
----> 1 import rasterio

/opt/conda/lib/python3.5/site-packages/rasterio/__init__.py in <module>()
     13 import warnings
     14 
---> 15 from rasterio._base import (
     16     eval_window, window_shape, window_index, gdal_version)
     17 from rasterio.dtypes import (

ImportError: /usr/lib/libgdal.so.1: undefined symbol: sqlite3_column_table_name
@lbustelo

This comment has been minimized.

Show comment Hide comment
@lbustelo

lbustelo Mar 7, 2018

Never mind the above... I had and old version of GDAL. After that, I pulled the --pre version of rasterio and was able to get going.

lbustelo commented Mar 7, 2018

Never mind the above... I had and old version of GDAL. After that, I pulled the --pre version of rasterio and was able to get going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment