mirror of
https://gitlab.com/Trygve/contour-creator.git
synced 2024-11-21 23:00:18 +00:00
documentation | ||
example_files | ||
src | ||
.gitattributes | ||
.gitignore | ||
.gitlab-ci.yml | ||
build&run.sh | ||
CMakeLists.txt | ||
Doxyfile | ||
LICENSE | ||
README.md |
Contour Creator 🗺️
This program takes a tiff heightmap and produces vector contours. This is our project for the INF205: Resource-efficient programming course
Status
- Read .tif file into memory using gdal
- Run the marching squares algorithm and produce a "casemap"
- Use a lookuptable to produce a vector file from the "casemap"
Dependencies
- GDAL
- OpenMP
How to build:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . --parallel
Then you can run ./contour-creator PATH/TO/HEIGTHMAP.TIF