Metadata-Version: 2.1
Name: mapstery
Version: 0.0.2
Summary: Digital terrain map manipulation high level functions
Home-page: https://gitlab.com/frontierdevelopmentlab/space-resources/mapstery
Author: Red Boumghar
License: BSD
Keywords: GDAL,python,raster,dataset,multilayer,multichannel,layers,channels,gis,information
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Requires-Python: >=3
Provides-Extra: test
Requires-Dist: gdal
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'

# Mapstery

Digital terrain map manipulation library.

High level scripts to convert, transform, manipulate small and large imagery
using GDAL in python to cover part of the needs of the NASA/ESA Frontier
Development Lab with respect to Space Resources challenges.

## Quick install

```
pip install mapstery
```

## Quick start

```
import mapstery
import numpy as np

M = mapstery.Map(500, 500)
M.add_band(np.ones((35,50))*128.0, "BAND_NAME_01")
M.add_band(np.ones((80,150))*89.0, "BAND_NAME_02")
M.save("/tmp/mastery_test0.gtif")
```

## Another example, combining layers
```
import mapstery
import numpy as np

M = mapstery.Map(500, 500)
M.dataset='layers.json'
M.save("/tmp/testjson.gtif")

```

## Dev infos

You can write your own scripts in `tests/` starting with the *dev_* prefix so that they are ignored by git.


