-
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
Merged
Merged
rasterio source module #1115
Changes from 90 commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
4336a34
draft rasterio driver
12rambau 07f085e
unify docstring
12rambau d5ee2e1
apply black formatting
12rambau 831c6ce
flake8 checks
12rambau f185517
use camelCase instead of snakeCase
12rambau 5d814b7
edit color functions
12rambau 8f44b28
isort
12rambau c15d4d8
isort and black disagree
12rambau e223cf1
last check before draft PR
12rambau ff0f5c3
add the tests
12rambau d5bf1eb
Merge branch 'master' into rasterio
12rambau 2fab721
add the alphatest
12rambau ea90ca9
add rasterio source to setup
12rambau 21a3e0e
bug fixes
12rambau 4145c4a
import Proj, Transformer and CRS directly
12rambau 885f63e
use affine
12rambau 28bf3fa
indexes is 1 indexed
12rambau d3f47d0
debug against tests step 1
12rambau 7f89243
Merge branch 'master' into rasterio
banesullivan 16af499
Formatting
banesullivan 6160222
Make getInternalMetadata JSON serializable
banesullivan e3b0395
Hackily support srs in getBounds
banesullivan 53295b4
Fix getTile when extent is larger than image
banesullivan 892c514
Fix add_alpha issues
banesullivan 3a8bcc8
Check metadata for None
banesullivan 1e72b5c
Catch rio_cogeo import error
banesullivan 4782121
format_ -> format
banesullivan 2bbb823
Formatting
banesullivan e7d6b9d
tox -e format
banesullivan 3422f68
Merge branch 'master' into rasterio
banesullivan 5dd8f18
Autopep8 and cleanup
banesullivan ca287dc
Autopep8 tests
banesullivan 9fac7df
Make GeoFileTileSource base class
banesullivan 5c4f9e2
Merge branch 'master' into rasterio
banesullivan 9435e77
Formatting
banesullivan 39a87ae
Skip <python3.8 for rasterio tests
banesullivan 21b1fb4
Clean up _rasterioParameters
banesullivan f75b4b3
Cherry pick @manthey's changes
banesullivan 000ccf3
Bump rasterio to Python 3.8+
banesullivan e4b256a
Fix
banesullivan cfcb9f8
Merge branch 'master' into rasterio
banesullivan 0405493
Merge branch 'master' into rasterio
banesullivan 5703743
Merge branch 'master' into rasterio
banesullivan 448b2f4
Fix projection issue
banesullivan 873f76b
Fix odd issues
banesullivan 718a573
Fix no projection tile issues
banesullivan d4b5f5e
Fix no projection getRegion issue
banesullivan 535df6b
Setup.py metadata
banesullivan 6ebaecf
getRegion working
banesullivan 90c5a94
Remove _getRegionVrt
banesullivan aa32fcb
TODO
banesullivan 8870e4f
Merge branch 'master' into rasterio
banesullivan 634de24
Merge branch 'master' into rasterio
banesullivan e452ec3
Reproject with getRegion
banesullivan 14545ab
Merge branch 'master' into rasterio
banesullivan 899281d
Cleanup merge artifacts
banesullivan ca9412d
Merge branch 'master' into rasterio
banesullivan 26349b2
Catchup
banesullivan adeab4d
Fix palettized default styles
banesullivan 3b3c9a2
[wip] combine testing
banesullivan 5a938fa
Refactor geo testing
banesullivan ffac5ac
Fix tests
banesullivan d08da31
Migrate some common methods
banesullivan 36c0c97
Support rasterio dataset handles
banesullivan f78836c
Support rasterio MemoryFile
banesullivan a43f09f
[wip]
banesullivan 4c14c57
Merge branch 'master' into rasterio
banesullivan 39a17e4
Catchup tests with #1155
banesullivan 1fa8ab6
Fix projection issues
banesullivan 7b69542
Make testAlphaProjection GDAL-specific
banesullivan 157980e
Move tiled getRegion tests to GDAL only
banesullivan c662b3f
Ignore Mapnik inconsistencies
banesullivan 3fac445
Formatting
banesullivan c9bc138
Install sources/rasterio
banesullivan 64c665d
Add cog extras
banesullivan 5ff1c6d
Fix constant values
banesullivan e26bbb1
Use [all] as extras name
banesullivan c8b6c92
Fix import
banesullivan 940e171
Fix cacheName
banesullivan b51182f
File file not found code path
banesullivan 8d5b3bc
Prevent netCDF files
banesullivan 5389a6e
Fix VSI path handling
banesullivan b1b1d65
Clean up code duplication
banesullivan 36306e4
Merge branch 'master' into rasterio
banesullivan c1eeb4b
Fix python_version for tests
banesullivan 4d264d6
Ignore NotGeoreferencedWarning
banesullivan 9d21ed1
Fix getRegion (size still broken)
banesullivan 4bd0f70
Fix output size of getRegion
banesullivan 9b018d8
Test tiled getRegion
banesullivan 7f4fa37
Write colormaps with getRegion
banesullivan 870ef5b
Fix some tests
manthey d21d13b
Use Resampling.nearset for all read operations
banesullivan 5d26d08
More Resampling.nearest
banesullivan a1af612
Formatting
banesullivan 070ddc5
Harmonize band range calculations
manthey dfc0738
Move isGeospatial into geospatial sources
manthey 381c586
Reduce mapnik source's priority
manthey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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?