Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Digital terrain map manipulation high level functions

Project description

# 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

For developers, you might like to install the last version from git. So if you've
cloned _Mapstery_ in a folder called `mapstery_repo` then you could do the following:
`pip install mapstery_repo/`

NB: Make sure the gdal python package version correspond to the system gdal library.
If you have GDAL python installation problems you may have to match versions between
gdal system libraries and gdal python package, one way or another.

## 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")"/tmp/mastery_test0.gtif")

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

M = mapstery.Map(500, 500)


## Json file example: layers.json
# LRO1.png - file path

## Dev infos

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mapstery-0.0.7-py2.py3-none-any.whl (8.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page