<div style="padding-left: 20px; padding-right: 10px;">
<a href="https://giga.global/">
<img src="https://s41713.pcdn.co/wp-content/uploads/2018/11/2020.05_GIGA-visual-identity-guidelines_v1-25.png" alt="Giga logo" title="Giga" align="right" height="60" style="padding-top: 10px;"/>
</a>
# GigaSpatial
## About Giga
[Giga](https://giga.global/) 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.
## About GigaSpatial
**GigaSpatial** is a Python package developed as part of the Giga Applied Science Team to handle geospatial data efficiently. It provides tools for downloading, processing, and analyzing geospatial data, enabling users to work with datasets such as OpenStreetMap (OSM), Global Human Settlement Layer (GHSL), Microsoft Global Buildings, Google Open Buildings, and more. The package is designed to support Giga's mission by providing robust geospatial capabilities for mapping and analyzing school connectivity.
## Installation
See the [installation docs](https://unicef.github.io/giga-spatial/getting-started/installation/) for all details. GigaSpatial requires Python 3.10 or above and depends on the following key packages:
- geopandas
- pandas
- shapely
- rasterio
We recommend using a virtual environment for installation. See the [installation docs](https://unicef.github.io/giga-spatial/getting-started/installation/) for more details.
## Key Features
- **Data Downloading**: Download geospatial data from various sources including GHSL, Microsoft Global Buildings, Google Open Buildings, OpenCellID, and HDX datasets.
- **Data Processing**: Process and transform geospatial data, such as GeoTIFF files and vector data, with support for compression and efficient handling.
- **View Generators**:
- Enrich spatial context with POI (Point of Interest) data
- Support for raster point sampling and zonal statistics
- Area-weighted aggregation for polygon-based statistics
- **Grid System**: Create and manipulate grid-based geospatial data for analysis and modeling.
- **Data Storage**: Flexible storage options with both local and cloud (ADLS) support.
- **Configuration Management**:
- Centralized configuration via environment variables or `.env` file
- Easy setup of API keys and paths
## Supported Datasets
The `gigaspatial` package supports data from the following providers:
<div align="center">
<img src="https://raw.githubusercontent.com/unicef/giga-spatial/main/docs/assets/datasets.png" alt="Dataset Providers" style="width: 75%; height: auto;"/>
</div>
---
## View Generators
The **view generators** in GigaSpatial are designed to enrich the spatial context of school locations and map data into grid or POI locations. This enables users to analyze and visualize geospatial data in meaningful ways.
### Key Capabilities
1. **Spatial Context Enrichment**:
- Automatic attribution of geospatial variables to school locations
- Contextual layers for environmental, infrastructural, and socioeconomic factors
- Multi-resolution data availability for different analytical needs
- Support for both point and polygon-based enrichment
2. **Mapping to Grid or POI Locations**:
- Map geospatial data to grid cells for scalable analysis
- Map data to POI locations for detailed, location-specific insights
- Support for chained enrichment using multiple datasets
- Built-in support for administrative boundary annotations
---
## Why Use GigaSpatial?
- **Efficient Geospatial Handling**: Streamline the process of downloading, processing, and analyzing geospatial data
- **Scalable Analysis**: Map data to grid cells or POI locations for both scalable and detailed insights
- **Open Source**: Contribute to and benefit from a collaborative, transparent, and innovative geospatial toolset
- **Modern Architecture**: Built with maintainability and extensibility in mind, featuring:
- Base handler orchestration for unified lifecycle management
- Dedicated reader classes for major datasets
- Modular source resolution for flexible data access
- Comprehensive error handling and logging
## 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.
## How to Contribute
We welcome contributions to our repositories! Whether it's fixing a bug, adding a feature, or improving documentation, your input helps us move closer to our goal of universal school connectivity.
### Steps to Contribute
1. Fork the repository you'd like to contribute to.
2. Create a new branch for your changes.
3. Submit a pull request with a clear explanation of your contribution.
To go through the contribtution guidelines in detail you can visit the following link.
[Click here for the detailed Contribution guidelines](https://github.com/unicef/giga-spatial/blob/main/CONTRIBUTING.md)
---
## Code of Conduct
At Giga, we're committed to maintaining an environment that's respectful, inclusive, and harassment-free for everyone involved in our project and community. We welcome contributors and participants from diverse backgrounds and pledge to uphold the standards.
[Click here for the detailed Code of Conduct.](https://github.com/unicef/giga-spatial/blob/main/CODE_OF_CONDUCT.md)
---
## Stay Connected
To learn more about Giga and our mission, visit our official website: [Giga.Global](https://giga.global)
## Join Us
Join us in creating an open-source future for education! 🌍
Raw data
{
"_id": null,
"home_page": "https://github.com/unicef/giga-spatial",
"name": "giga-spatial",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "gigaspatial, spatial, geospatial, gis, remote sensing, data processing, download, openstreetmap, osm, ghsl, grid, point of interest, POI, raster, vector, school connectivity, unicef, giga, mapping, analysis, python",
"author": "Utku Can Ozturk",
"author_email": "utkucanozturk@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/db/80/2e10aa768469e1774784d9e46ffe7522d77b1e1e55883638e1435a2911c4/giga_spatial-0.6.6.tar.gz",
"platform": null,
"description": "<div style=\"padding-left: 20px; padding-right: 10px;\">\n<a href=\"https://giga.global/\">\n <img src=\"https://s41713.pcdn.co/wp-content/uploads/2018/11/2020.05_GIGA-visual-identity-guidelines_v1-25.png\" alt=\"Giga logo\" title=\"Giga\" align=\"right\" height=\"60\" style=\"padding-top: 10px;\"/>\n</a>\n\n# GigaSpatial\n\n## About Giga\n\n[Giga](https://giga.global/) is a UNICEF-ITU initiative to connect every school to the Internet and every young person to information, opportunity and choice. \nGiga maps schools' Internet access in real time, creates models for innovative financing, and supports governments contracting for connectivity. \n\n## About GigaSpatial\n\n**GigaSpatial** is a Python package developed as part of the Giga Applied Science Team to handle geospatial data efficiently. It provides tools for downloading, processing, and analyzing geospatial data, enabling users to work with datasets such as OpenStreetMap (OSM), Global Human Settlement Layer (GHSL), Microsoft Global Buildings, Google Open Buildings, and more. The package is designed to support Giga's mission by providing robust geospatial capabilities for mapping and analyzing school connectivity.\n\n## Installation\n\nSee the [installation docs](https://unicef.github.io/giga-spatial/getting-started/installation/) for all details. GigaSpatial requires Python 3.10 or above and depends on the following key packages:\n\n- geopandas\n- pandas\n- shapely\n- rasterio\n\nWe recommend using a virtual environment for installation. See the [installation docs](https://unicef.github.io/giga-spatial/getting-started/installation/) for more details.\n\n## Key Features\n- **Data Downloading**: Download geospatial data from various sources including GHSL, Microsoft Global Buildings, Google Open Buildings, OpenCellID, and HDX datasets.\n- **Data Processing**: Process and transform geospatial data, such as GeoTIFF files and vector data, with support for compression and efficient handling.\n- **View Generators**: \n - Enrich spatial context with POI (Point of Interest) data\n - Support for raster point sampling and zonal statistics\n - Area-weighted aggregation for polygon-based statistics\n- **Grid System**: Create and manipulate grid-based geospatial data for analysis and modeling.\n- **Data Storage**: Flexible storage options with both local and cloud (ADLS) support.\n- **Configuration Management**: \n - Centralized configuration via environment variables or `.env` file\n - Easy setup of API keys and paths\n\n## Supported Datasets\n\nThe `gigaspatial` package supports data from the following providers:\n\n<div align=\"center\">\n <img src=\"https://raw.githubusercontent.com/unicef/giga-spatial/main/docs/assets/datasets.png\" alt=\"Dataset Providers\" style=\"width: 75%; height: auto;\"/>\n</div>\n\n---\n\n## View Generators\n\nThe **view generators** in GigaSpatial are designed to enrich the spatial context of school locations and map data into grid or POI locations. This enables users to analyze and visualize geospatial data in meaningful ways.\n\n### Key Capabilities\n1. **Spatial Context Enrichment**:\n - Automatic attribution of geospatial variables to school locations\n - Contextual layers for environmental, infrastructural, and socioeconomic factors\n - Multi-resolution data availability for different analytical needs\n - Support for both point and polygon-based enrichment\n\n2. **Mapping to Grid or POI Locations**:\n - Map geospatial data to grid cells for scalable analysis\n - Map data to POI locations for detailed, location-specific insights\n - Support for chained enrichment using multiple datasets\n - Built-in support for administrative boundary annotations\n\n---\n\n## Why Use GigaSpatial?\n- **Efficient Geospatial Handling**: Streamline the process of downloading, processing, and analyzing geospatial data\n- **Scalable Analysis**: Map data to grid cells or POI locations for both scalable and detailed insights\n- **Open Source**: Contribute to and benefit from a collaborative, transparent, and innovative geospatial toolset\n- **Modern Architecture**: Built with maintainability and extensibility in mind, featuring:\n - Base handler orchestration for unified lifecycle management\n - Dedicated reader classes for major datasets\n - Modular source resolution for flexible data access\n - Comprehensive error handling and logging\n\n## Why Open Source? \n\nAt Giga, we believe in the power of open-source technologies to accelerate progress and innovation. By keeping our tools and systems open, we: \n- Encourage collaboration and contributions from a global community. \n- Ensure transparency and trust in our methodologies. \n- Empower others to adopt, adapt, and extend our tools to meet their needs. \n\n## How to Contribute \n\nWe welcome contributions to our repositories! Whether it's fixing a bug, adding a feature, or improving documentation, your input helps us move closer to our goal of universal school connectivity. \n\n### Steps to Contribute \n1. Fork the repository you'd like to contribute to. \n2. Create a new branch for your changes. \n3. Submit a pull request with a clear explanation of your contribution. \n\nTo go through the contribtution guidelines in detail you can visit the following link. \n\n[Click here for the detailed Contribution guidelines](https://github.com/unicef/giga-spatial/blob/main/CONTRIBUTING.md)\n\n---\n\n## Code of Conduct \n\nAt Giga, we're committed to maintaining an environment that's respectful, inclusive, and harassment-free for everyone involved in our project and community. We welcome contributors and participants from diverse backgrounds and pledge to uphold the standards.\n\n[Click here for the detailed Code of Conduct.](https://github.com/unicef/giga-spatial/blob/main/CODE_OF_CONDUCT.md)\n\n---\n\n## Stay Connected \n\nTo learn more about Giga and our mission, visit our official website: [Giga.Global](https://giga.global)\n\n## Join Us\n\nJoin us in creating an open-source future for education! \ud83c\udf0d \n",
"bugtrack_url": null,
"license": "AGPL-3.0-or-later",
"summary": "A package for spatial data download & processing",
"version": "0.6.6",
"project_urls": {
"Homepage": "https://github.com/unicef/giga-spatial"
},
"split_keywords": [
"gigaspatial",
" spatial",
" geospatial",
" gis",
" remote sensing",
" data processing",
" download",
" openstreetmap",
" osm",
" ghsl",
" grid",
" point of interest",
" poi",
" raster",
" vector",
" school connectivity",
" unicef",
" giga",
" mapping",
" analysis",
" python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f97a532bcc02e5aa8824acbd50aa9a0bff17b16e3a9cbc6f24d8861c7782f46c",
"md5": "3174c7ace7555fd29e945a788dde43e4",
"sha256": "6fa87bc24d38020453981c6391a67c2bf00a6ae9f7b1e859de46f9cf760b11a5"
},
"downloads": -1,
"filename": "giga_spatial-0.6.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3174c7ace7555fd29e945a788dde43e4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 150132,
"upload_time": "2025-07-15T15:36:02",
"upload_time_iso_8601": "2025-07-15T15:36:02.183243Z",
"url": "https://files.pythonhosted.org/packages/f9/7a/532bcc02e5aa8824acbd50aa9a0bff17b16e3a9cbc6f24d8861c7782f46c/giga_spatial-0.6.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "db802e10aa768469e1774784d9e46ffe7522d77b1e1e55883638e1435a2911c4",
"md5": "ffcfbaeb0e2b364db9ba7282565f0587",
"sha256": "7fc8dfb911b0d82f1fb141455782ec8e936e52280b252a73523d9d45bc98be43"
},
"downloads": -1,
"filename": "giga_spatial-0.6.6.tar.gz",
"has_sig": false,
"md5_digest": "ffcfbaeb0e2b364db9ba7282565f0587",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 369942,
"upload_time": "2025-07-15T15:36:03",
"upload_time_iso_8601": "2025-07-15T15:36:03.823073Z",
"url": "https://files.pythonhosted.org/packages/db/80/2e10aa768469e1774784d9e46ffe7522d77b1e1e55883638e1435a2911c4/giga_spatial-0.6.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-07-15 15:36:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "unicef",
"github_project": "giga-spatial",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "azure-storage-blob",
"specs": [
[
">=",
"12.22.0"
]
]
},
{
"name": "delta_sharing",
"specs": [
[
"==",
"1.2.0"
]
]
},
{
"name": "duckdb",
"specs": [
[
"==",
"1.2.0"
]
]
},
{
"name": "geopandas",
"specs": [
[
">=",
"1.0.1"
]
]
},
{
"name": "mercantile",
"specs": [
[
"==",
"1.2.1"
]
]
},
{
"name": "numpy",
"specs": [
[
">=",
"2.2.2"
]
]
},
{
"name": "pandas",
"specs": [
[
">=",
"2.2.3"
]
]
},
{
"name": "pycountry",
"specs": [
[
"==",
"24.6.1"
]
]
},
{
"name": "pydantic",
"specs": [
[
">=",
"2.10.6"
]
]
},
{
"name": "rasterio",
"specs": [
[
"==",
"1.3.10"
]
]
},
{
"name": "Requests",
"specs": [
[
"==",
"2.32.3"
]
]
},
{
"name": "scipy",
"specs": [
[
"==",
"1.15.1"
]
]
},
{
"name": "Shapely",
"specs": [
[
">=",
"2.0.7"
]
]
},
{
"name": "tqdm",
"specs": [
[
"==",
"4.65.0"
]
]
},
{
"name": "OWSLib",
"specs": [
[
"==",
"0.32.1"
]
]
},
{
"name": "pydantic-settings",
"specs": [
[
">=",
"2.7.1"
]
]
},
{
"name": "hdx-python-api",
"specs": [
[
">=",
"6.3.8"
]
]
},
{
"name": "bs4",
"specs": [
[
"==",
"0.0.2"
]
]
},
{
"name": "sqlalchemy-trino",
"specs": [
[
"==",
"0.5.0"
]
]
},
{
"name": "dask",
"specs": [
[
">=",
"2024.12.1"
]
]
}
],
"lcname": "giga-spatial"
}