Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fgebhart/mapa-streamlit

Streamlit web app 🎈 for creating 3D-printable models of the earth 🌍 surface based on mapa
https://github.com/fgebhart/mapa-streamlit

3d-printing digital-elevation-model elevation folium geospatial leaflet planetary-computer python satellite-data stl streamlit

Last synced: 4 months ago
JSON representation

Streamlit web app 🎈 for creating 3D-printable models of the earth 🌍 surface based on mapa

Awesome Lists containing this project

README

        

# mapa-streamlit 🌍

[![Open in Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://3dmaps.streamlitapp.com)
[![Python Tests](https://github.com/fgebhart/mapa-streamlit/actions/workflows/test.yml/badge.svg)](https://github.com/fgebhart/mapa-streamlit/actions/workflows/test.yml)

A [streamlit web app](https://3dmaps.streamlitapp.com) which let's you create 3D-printable
STL files using satellite elevation data ([ALOS DEM](https://planetarycomputer.microsoft.com/dataset/alos-dem)) based on
[mapa](https://github.com/fgebhart/mapa).

This repo contains the source code of the streamlit web app, whereas the
[mapa repository](https://github.com/fgebhart/mapa) contains the source code of the algorithm which is responsible for
generating STL files.

![](https://i.imgur.com/WRwXpeE.png)

## Development & Contributions

Contributions are welcome! In case you would like to contribute to the
[mapa python package](https://pypi.org/project/mapa/), have a look at the
[mapa repository](https://github.com/fgebhart/mapa).

For setting up the development environment, clone this repo

```
git clone [email protected]:fgebhart/mapa-streamlit.git && cd mapa-streamlit
```

and run the following commands to install the requirements (in case you don't have poetry install, you can do so with
`pip install poetry`):

```
poetry install
poetry shell
```

To run the tests, run:

```
pytest tests/
```

To run the streamlit app, run:

```
streamlit run app.py
```