-
Notifications
You must be signed in to change notification settings - Fork 116
[v0.21.0] pyogrio generator #314
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
21d74c8
a chunked pyogrio generator
perrygeo 6d945d8
improve readability, increase chunk size
perrygeo 5c6a6e8
no arrow, benchmark geopackages
perrygeo 445b3af
optimize
perrygeo 7aafff8
additional formats
perrygeo 5491ca4
ignore
perrygeo 9571d3f
ignore
perrygeo 5bff0c8
format, make pyogrio the default
perrygeo 9cd509a
test against feature_generator
perrygeo 2910f8a
removed fiona imports, make pyogrio the default vector engine
perrygeo 44c081c
improve benchmark
perrygeo 797e0e8
clear control flow, imports
perrygeo 341c76b
docs
perrygeo a2957df
engine
perrygeo bccec2c
account for features = -1
perrygeo b01819d
add fid, catch only DataSourceError, test
perrygeo b43a69d
changes
perrygeo cae08cc
expose chunk_size parameter in public interfaces
perrygeo 77b2218
bump
perrygeo 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,10 @@ Quickstart | |
|
|
||
| Install:: | ||
|
|
||
| uv add rasterstats | ||
|
|
||
| Or with pip:: | ||
|
|
||
| pip install rasterstats | ||
|
|
||
|
|
||
|
|
||
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,37 @@ | ||
| Installation | ||
| ============ | ||
|
|
||
| Depends on libgdal, rasterio, fiona, shapely and numpy | ||
| Depends on libgdal, rasterio, fiona, shapely and numpy. | ||
|
|
||
| Using Ubuntu 14.04:: | ||
| Using ``uv`` (recommended):: | ||
|
|
||
| sudo apt-get install python-numpy libgdal1h gdal-bin libgdal-dev | ||
| pip install rasterstats | ||
| uv add rasterstats | ||
|
|
||
| Or homebrew on OS X:: | ||
| Or with pip:: | ||
|
|
||
| brew install gdal | ||
| pip install rasterstats | ||
|
|
||
| For Windows, follow the `rasterio installation <https://github.com/mapbox/rasterio#windows-1>`_ and then run:: | ||
| Platform-specific GDAL setup | ||
| ----------------------------- | ||
|
|
||
| pip install rasterstats | ||
| **Ubuntu**:: | ||
|
|
||
| sudo apt-get install libgdal-dev gdal-bin | ||
|
|
||
| then install rasterstats as above. | ||
|
|
||
| **macOS** (Homebrew):: | ||
|
|
||
| brew install gdal | ||
|
|
||
| then install rasterstats as above. | ||
|
|
||
| **Windows**: follow the `rasterio installation <https://github.com/mapbox/rasterio#windows-1>`_, | ||
| then install rasterstats as above. | ||
|
|
||
| Tests | ||
| ----- | ||
|
|
||
| To run the python unit tests | ||
|
|
||
| uv run pytest |
This file contains hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.