Metadata-Version: 2.4
Name: cartomize
Version: 1.0
Summary: Geospatial analysis and cartographic layouts in Python
Author: ONDON NKOUA Cédrick Belmich
License-Expression: GPL-3.0-only
Project-URL: Homepage, https://github.com/cedrick14/cartomize-python
Project-URL: Repository, https://github.com/cedrick14/cartomize-python
Project-URL: Issues, https://github.com/cedrick14/cartomize-python/issues
Project-URL: Documentation, https://github.com/cedrick14/cartomize-python/blob/main/docs/README.md
Keywords: cartography,gis,geopandas,raster,map-layout
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: GIS
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE.md
Requires-Dist: geopandas<2,>=1.0
Requires-Dist: pyogrio<1,>=0.13
Requires-Dist: pyarrow<27,>=14
Requires-Dist: matplotlib<4,>=3.8
Requires-Dist: numpy<3,>=1.26
Requires-Dist: pyproj<4,>=3.6
Requires-Dist: rasterio<2,>=1.4
Requires-Dist: scipy<2,>=1.11
Requires-Dist: scikit-learn<2,>=1.5
Provides-Extra: gui
Requires-Dist: PySide6-Essentials<6.10,>=6.9.3; extra == "gui"
Requires-Dist: pypdfium2<6,>=4.30; extra == "gui"
Provides-Extra: notebook
Requires-Dist: PySide6-Essentials<6.10,>=6.9.3; extra == "notebook"
Requires-Dist: pypdfium2<6,>=4.30; extra == "notebook"
Requires-Dist: ipykernel<8,>=6.29; extra == "notebook"
Requires-Dist: jupyter-client<9,>=8.6; extra == "notebook"
Requires-Dist: jupyterlab<5,>=4.3; extra == "notebook"
Requires-Dist: typing_extensions<5,>=4.13; extra == "notebook"
Provides-Extra: distributed
Requires-Dist: dask[distributed]<2027,>=2024.8; extra == "distributed"
Provides-Extra: gpu
Requires-Dist: cupy-cuda12x[ctk]<15,>=14; extra == "gpu"
Provides-Extra: dev
Requires-Dist: pytest<10,>=8; extra == "dev"
Requires-Dist: build<2,>=1; extra == "dev"
Requires-Dist: twine<8,>=6; extra == "dev"
Dynamic: license-file

# Cartomize

Cartomize is a Python library and desktop application for geospatial analysis and map production. It combines raster and vector processing, satellite image preparation and cartographic layouts in an API that can be used from Python scripts, Jupyter notebooks or the desktop interface.

## Capabilities

Raster tools cover spectral indices, raster calculations, classification, terrain analysis and zonal statistics. Satellite image preparation supports coverage assessment, grid alignment, mosaics, clipping and colour composites. Vector tools provide reprojection, geometry validation, spatial selection, overlays, joins, buffers and area summaries.

Cartographic layouts combine raster and vector layers with symbology, labels, legends, scale bars and map frames. Maps can be exported to PDF, PNG and SVG, including atlas and batch outputs. Processing plans and saved projects support repeated analyses.

The desktop application provides a map workspace with movable panels, detachable result views and saved layouts. Its tools use the same processing functions as the Python API. Common data formats include GeoTIFF, GeoPackage, GeoJSON and Shapefile. Cartomize builds on NumPy, GeoPandas, Rasterio, pyproj and Matplotlib.

## Installation

Cartomize requires Python 3.11 or later. Python 3.11 or 3.12 is recommended for the desktop application.

Install the Python library:

```bash
python -m pip install cartomize
```

Install and open the desktop application:

```bash
python -m pip install "cartomize[gui]"
python -m cartomize gui
```

The `notebook` extra includes JupyterLab, a Python kernel and the desktop components:

```bash
python -m pip install "cartomize[notebook]"
python -m jupyter lab
```

Optional execution backends are documented in the [execution guide](https://github.com/cedrick14/cartomize-python/blob/main/docs/EXECUTION.md).

## Example

Create a map from a vector layer and export it as a PDF:

```python
import cartomize as cm

layout = cm.Map(title="Study area", crs="EPSG:32733")
layout.add_layer("study_area.gpkg", name="Boundary")
layout.export("study_area.pdf")
```

## Documentation and support

See the [Python API](https://github.com/cedrick14/cartomize-python/blob/main/docs/PYTHON_API.md), [desktop guide](https://github.com/cedrick14/cartomize-python/blob/main/docs/WORKBENCH.md) and [satellite image preparation guide](https://github.com/cedrick14/cartomize-python/blob/main/docs/IMAGERY_AUTOMATIC.md) for usage and parameters. Source code and bug reports are available in the [GitHub repository](https://github.com/cedrick14/cartomize-python).

## License

Developed by **ONDON NKOUA Cédrick Belmich**.

Code is licensed under **GPL-3.0-only**. Original cartographic templates are licensed under **CC BY 4.0**, attributed to Cartomize / ONDON NKOUA Cédrick Belmich. See [LICENSE](https://github.com/cedrick14/cartomize-python/blob/main/LICENSE) and [NOTICE.md](https://github.com/cedrick14/cartomize-python/blob/main/NOTICE.md).
