Geographical tiling and weaving
This is ongoing work developing tiled geospatial data layers for symbolisation of complex multi-attribute choropleths.
A working version is available in python using geopandas and shapely. The python source is in the weavingspace folder. It can be installed from PyPI using
python3 -m pip install weavingspace
The API is documented here, and there are several example notebooks that will give a good idea of how to use the code in the examples folder. In particular, have a look at the Using the library notebook.
There is a (always under development) web app which you can use to get a sense of the capabilities of weavingspace without writing any code here: dosull.github.io/mapweaver/app/.
What does it do?
The kind of things we can make are:
Presentations
An overview of the concepts assembled from early proof-of-concept R code is on this webpage. A similar follow-up talk is available here. Slides from a more recent talk explaining the work, extended to tiled maps (of which woven maps are a special case) is available here.
Other explanatory stuff
Any of the notebooks in the examples folder may be of interest. Some background material and thinking about tiling is in these notes and these reflections on the state of the code.
Experimental QGIS plugin and AI
There is an experimental QGIS plugin under development. That project is heavily AI-assisted and has resulted in four short sections of code (amounting to about 20 lines of code in 9,000) being 'upstreamed' into weavingspace, which is a core component of the plugin. The AI spotted some opportunities for making the code more efficient, and patched these into the plugin version of weavingspace. After review, we decided to include them in weavingspace proper since they are speed ups with no impact on results. The affected sections of code are all in tile_map.Tiling and tile_map.TileGrid and in the interest of full disclosure have been 'gated' with comments, like this:
# ---AI-assisted-code-starts---
this.code.modified.based.on.AI.input
# ---AI-assisted-code-ends---
If you are interested, you can search on those comments to find the affected sections of code.
Metadata
Release files for weavingspace 0.0.7.89
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| weavingspace-0.0.7.89.tar.gz | 97.7 kB | Without provenance | Details for weavingspace-0.0.7.89.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| weavingspace-0.0.7.89-py3-none-any.whl | Python 3 | none | any | Details for weavingspace-0.0.7.89-py3-none-any.whl |
Total release size: 205.1 kB
Release files / weavingspace-0.0.7.89.tar.gz
| Download URL | weavingspace-0.0.7.89.tar.gz |
|---|---|
| Size | 97.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ffe4637c4a92251c91758a564d1df9d250ddb1ec7ce1c4069513be852136950
|
|
BLAKE2b-256 checksum How to use checksums |
f472051f73b4df5b51c5236a0134bbe011a36b74902726362a7805a23937e91a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Release files / weavingspace-0.0.7.89-py3-none-any.whl
| Download URL | weavingspace-0.0.7.89-py3-none-any.whl |
|---|---|
| Size | 107.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1354db97455da7db3571922bf7ae42e05ab028320a5d46c835f75cb6391ebce7
|
|
BLAKE2b-256 checksum How to use checksums |
c785395d9bf6a0ab1f319ffc5c5426b88445d9252b8739b2dd884232b8102f44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.20
|
Security for weavingspace 0.0.7.89
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.