-
Notifications
You must be signed in to change notification settings - Fork 43
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
rasterio source module #1115
rasterio source module #1115
Conversation
but I prefer black
the use og gdal-style transform is depcrecated since rasterio 1.0
|
||
*.ipynb | ||
NOTES.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are from my dev environment. Maybe remove?
Recommend merging as is. Though there will need to be follow-up work to:
Otherwise, this is generally complete |
Each source can define this independently, so that if only one geospatial source is installed, it will still have the ability to prioritize geospatial sources appropriately.
@12rambau, thank you for getting this started!! You handled a ton of the legwork and made it possible for us to come in and finalize this. We'll tag a release and this should ship shortly. |
🎉 |
amazing I was completly unable to finalizing it due to work constraints from my side, I'm super glad you made it ! |
Supersedes #927 -- making PR from a dedicated branch in this repo to make my life easier
This branch implements a new tile source module based on rasterio to simplify the usage of geospatial tile sources where installing GDAL might not be easy.
This further refactors some of the existing GDAL and Mapnik tile sources so that they better share a base class of common geospatial code and similarly, the tests for these modules have been refactored to verify that all three source modules produce the same results.
testPixel
andtestTileLinearStyleFromGeotiffs
intest/test_source_mapnik.py
. These are the only two remaining tests with differing results from the GDAL and rasterio sources. The styling for mapnik needs to be fixed (well maybe the styling should be fixed for all sources), then these tests should be removed to let the base class tests run.rgba_geotiff.py
: this is a pesky test file -- I will follow up in a separate PR with details on why. Currently only the GDAL source can handle this file and files like it.django-large-iamge
to verify the GDAL source is still in working order and to verify therasterio
source works as expected (still missingTILED
getRegion()
support)Still to address:
large_image.open()
may not prefer the new rasterio source