emcniece / terrain_viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get some data

download GEOTIFF files from here: https://earthexplorer.usgs.gov/

or pull a folder of vancouver island here: https://drive.google.com/file/d/1_2pQtuB1SNa2lZYEqgYDIcwSGux4143R/view?usp=sharing

the files should be in a data folder, i.e. ./data/raw/*.tif then run python ./fillnodata.py to fill the nodata values with the mean of the surrounding pixels

Install dependencies

make install   # to install dependencies
pip install .  # to install python packages

Testing

  • run ./main.py to generate two stl files (golden hinde and vancouver island)
  • view STLs here: https://www.viewstl.com/
  • it should render something like this: example vancouver island-

About


Languages

Language:Python 61.3%Language:JavaScript 16.2%Language:HTML 13.8%Language:CSS 7.4%Language:Makefile 1.4%