Re: NameError: name 'Window' is not defined


Sean Gillies
 

Thanks for the help, rickD!

In https://github.com/mapbox/rasterio/commit/eebf54b74fa0f718cb8baaa44aa20616e405b4e4 I added the missing Window class import. Read the Docs should be updated in a couple minutes. I think this should help.


On Mon, May 6, 2019 at 1:38 PM <debboutr@...> wrote:

you just need the class in your namespace, try:

`from rasterio.windows import Window`

I would agree it's not easy from the docs to know where to go and find this.

cheers

 

~rickD



--
Sean Gillies

Join main@rasterio.groups.io to automatically receive all group messages.