Skip to main content

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:

a tiled map a weave map

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

weavingspace-0.0.7.67.tar.gz (97.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weavingspace-0.0.7.67-py3-none-any.whl (107.3 kB view details)

Uploaded Python 3

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

Hashes for weavingspace-0.0.7.67.tar.gz
Algorithm Hash digest
SHA256 e670f724b5345d98aad380cb9c9201abbcf3b7b57ec0869ac67c29aa132924e9
MD5 25e26855d5791dd50d1d398cbdeb0e18
BLAKE2b-256 85733a029add3870c992e3126e8a2c7423761bc965f87e05d1351bfd81982187

See more details on using hashes here.

File details

Details for the file weavingspace-0.0.7.67-py3-none-any.whl.

File metadata

File hashes

Hashes for weavingspace-0.0.7.67-py3-none-any.whl
Algorithm Hash digest
SHA256 a7bf80119f185168128fbbec7d34be7ed65c9a03d63245f1deb1cbb88c1e0530
MD5 665d571acfa97bae042fa9fcc0875a6e
BLAKE2b-256 9b46db07430a0ccf17becde048feae18f9eb55cb8cbd45dbd4c5016b689ab7ac

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.7.89

2 files

This release

0.0.7.67 This release

2 files

0.0.7.61

2 files

0.0.7.59

2 files

0.0.7.19

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page