Quadtree tiling from CSV/Apache Arrow for use with deepscatter in the browser.
Project description
Quadfeather
Quickly create deep quadtree structures from CSV or feather files to allow serving over HTTP or quicker access to random portions of spatial data.
Each node in the quadtree is a single feather file containing some number of rows (default 2**16) and arrow metadata indicating the existence of children.
From the command line (basic):
WORK IN PROGRESS BELOW.
python -m pip install git+https://github.com/bmschmidt/quadfeather
quadfeather-test-data 255000 # populates a csv at tmp.csv with 255000 items
quadfeather --files tmp.csv --destination tiles
From a python iterable of Arrow record batches (advanced)
Todo
- Allow splitting off of some columns.
- Explain JS integration.
- Octtree for 3-d data.
Optional todo
- Other partition strategies? Quadtree is easy to understand.,
- Linked-open data standards.
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 quadfeather-2.1.1rc1.tar.gz.
File metadata
- Download URL: quadfeather-2.1.1rc1.tar.gz
- Upload date:
- Size: 38.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa5624cc8b9c967da08ea051ab119e374fc0b6478d20ebe8261f69695cc4dc2e
|
|
| MD5 |
e2a5bbee50f8d444020f84d1a2866c93
|
|
| BLAKE2b-256 |
9a86b61a1ada888347577f50bff9036f084288120e33ce923047ca8c617ddd8c
|
File details
Details for the file quadfeather-2.1.1rc1-py3-none-any.whl.
File metadata
- Download URL: quadfeather-2.1.1rc1-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c94aa831c4c880bfa02104165a6060fc055b9b700ea9a7b0c23b64ef267f48de
|
|
| MD5 |
05dca6b1b747f215939cfa8d9fdcc660
|
|
| BLAKE2b-256 |
ae3fc2750a56b0d9a34ebc41efdcf4869a2f32f88637e663ae90c8409e3ac8ca
|