GeoPandas objects backed with Dask
Project description
Parallel GeoPandas with Dask
Status
EXPERIMENTAL This project is in an early state.
If you would like to see this project in a more stable state, then you might consider pitching in with developer time (contributions are very welcome!) or with financial support from you or your company.
This is a new project that builds off the exploration done in https://github.com/mrocklin/dask-geopandas
Documentation
See the documentation on https://dask-geopandas.readthedocs.io/en/latest/
Installation
This package depends on GeoPandas, Dask and PyGEOS.
One way to install all required dependencies is to use the conda package manager to create a new environment:
conda create -n geo_env conda activate geo_env conda config --env --add channels conda-forge conda config --env --set channel_priority strict conda install dask-geopandas
Example
Given a GeoPandas dataframe
import geopandas
df = geopandas.read_file('...')
We can repartition it into a Dask-GeoPandas dataframe:
import dask_geopandas
ddf = dask_geopandas.from_geopandas(df, npartitions=4)
The familiar spatial attributes and methods of GeoPandas are also available and will be computed in parallel:
ddf.geometry.area.compute()
ddf.within(polygon)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dask-geopandas-0.1.0a6.tar.gz.
File metadata
- Download URL: dask-geopandas-0.1.0a6.tar.gz
- Upload date:
- Size: 52.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cce04bb9d00653a7f2abd2ad7b31cb61e0dbce436ee46fcb201fc11dcaa9307
|
|
| MD5 |
5d4b3d5365ac073bd8eca9d02383fe48
|
|
| BLAKE2b-256 |
8bf19d718ffb9f91ae463a0d5b1bbacef830ca9dd70a508c6ae10328d2784d85
|
File details
Details for the file dask_geopandas-0.1.0a6-py3-none-any.whl.
File metadata
- Download URL: dask_geopandas-0.1.0a6-py3-none-any.whl
- Upload date:
- Size: 45.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bca8f578f5615838330d0877dceb309045df7ae55fe16b584879e4881c71eec2
|
|
| MD5 |
9fde3cdac3ec51ef2147ef4a811928cd
|
|
| BLAKE2b-256 |
8c79cdb57c12cbbedb4bc78da1888a2c0add59df19458b660f9c0ba9a985a213
|