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.
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 weavingspace-0.0.7.67.tar.gz.
File metadata
- Download URL: weavingspace-0.0.7.67.tar.gz
- Upload date:
- Size: 97.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e670f724b5345d98aad380cb9c9201abbcf3b7b57ec0869ac67c29aa132924e9
|
|
| MD5 |
25e26855d5791dd50d1d398cbdeb0e18
|
|
| BLAKE2b-256 |
85733a029add3870c992e3126e8a2c7423761bc965f87e05d1351bfd81982187
|
File details
Details for the file weavingspace-0.0.7.67-py3-none-any.whl.
File metadata
- Download URL: weavingspace-0.0.7.67-py3-none-any.whl
- Upload date:
- Size: 107.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.7.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7bf80119f185168128fbbec7d34be7ed65c9a03d63245f1deb1cbb88c1e0530
|
|
| MD5 |
665d571acfa97bae042fa9fcc0875a6e
|
|
| BLAKE2b-256 |
9b46db07430a0ccf17becde048feae18f9eb55cb8cbd45dbd4c5016b689ab7ac
|