GigaSpatial acquires published geospatial datasets into a data store you control, loads them for a source, and processes them. A generator maps a dataset onto points of interest or zones, and the result is a view: those places with attributes from the datasets attached. It started in UNICEF's Giga initiative.
What it covers
- Handlers acquire datasets published as files, such as population, built-up area, and buildings.
- Fetchers query datasets served by an API, such as OpenStreetMap and Giga school data.
- Generators map datasets onto points of interest or zones and return a view.
- Processing provides raster and vector tools for the stored files.
Files live in a data store: local disk, Azure Data Lake Storage, or Snowflake. Handlers only depend on the abstract DataStore, so other stores can be added by implementing it.
The full list of datasets is on the Datasets page.
Installation
GigaSpatial requires Python 3.10 or above.
pip install giga-spatial
To install every optional integration (Earth Engine, BigQuery, Azure, Snowflake, and others):
pip install "giga-spatial[all]"
The individual extras are listed on the Installation page.
Example
Map WorldPop population onto H3 cells for Rwanda. The first run downloads the population raster into the data store, and later runs read the stored file.
from gigaspatial import H3ViewGenerator
zones = H3ViewGenerator(source="RWA", resolution=6)
view = zones.map_wp_pop(country="RWA")
print(view.head())
view is the H3 cells with population attached. The same pattern works with S2ViewGenerator and MercatorViewGenerator.
Documentation
Why open source?
At Giga, we believe in the power of open-source technologies to accelerate progress and innovation. By keeping our tools and systems open, we:
- Encourage collaboration and contributions from a global community.
- Ensure transparency and trust in our methodologies.
- Empower others to adopt, adapt, and extend our tools to meet their needs.
Contributing
Contributions are welcome, from bug reports to new datasets. See the contribution guidelines to get started.
Everyone taking part is expected to follow the Code of Conduct.
Get in touch
- Report bugs and ask questions in GitHub Issues.
- Follow Giga on X and LinkedIn.
- Learn more about Giga at giga.global.
About Giga
Giga is a UNICEF-ITU initiative to connect every school to the Internet and every young person to information, opportunity and choice. Giga maps schools' Internet access in real time, creates models for innovative financing, and supports governments contracting for connectivity.
GigaSpatial is developed by Giga's applied science team at UNICEF.
Licensed under AGPL-3.0-or-later.
Metadata
Release files for giga-spatial 0.10.1
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 |
|---|---|---|---|---|
| giga_spatial-0.10.1.tar.gz | 1.5 MB | Without provenance | Details for giga_spatial-0.10.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| giga_spatial-0.10.1-py3-none-any.whl | Python 3 | none | any | Details for giga_spatial-0.10.1-py3-none-any.whl |
Total release size: 1.9 MB
Release files / giga_spatial-0.10.1.tar.gz
| Download URL | giga_spatial-0.10.1.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3a48f9d55a484218390674b25360785e54b9295904e8552bc74576183dc61e6
|
|
BLAKE2b-256 checksum How to use checksums |
43dca1d3e0aadceeeb170ce027f180d7a8d5c17a10dd82ac03f60b18d06b5006
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / giga_spatial-0.10.1-py3-none-any.whl
| Download URL | giga_spatial-0.10.1-py3-none-any.whl |
|---|---|
| Size | 372.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16e958a6e52645fa7e35a630cef385e1082913ab2c029209f86a9632fc7a960f
|
|
BLAKE2b-256 checksum How to use checksums |
85873a847511fd8a9ff6c66e59820c5ecceab65a1283cb229d5650ac415c5e21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Security for giga-spatial 0.10.1
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.