2024-04-06 15:50:03 +00:00
|
|
|
# Contour Creator 🗺️
|
|
|
|
This program takes a tiff heightmap and produces vector contours.
|
|
|
|
This is our project for the INF205: Resource-efficient programming course
|
|
|
|
## Status
|
|
|
|
- [x] 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"
|
2024-04-10 10:07:04 +00:00
|
|
|
## Dependencies
|
|
|
|
- GDAL
|
|
|
|
- OpenMP
|
2024-04-06 15:50:03 +00:00
|
|
|
## How to build:
|
|
|
|
```
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Debug ..
|
|
|
|
cmake --build . --parallel
|
|
|
|
```
|
2024-04-10 10:07:04 +00:00
|
|
|
Then you can run `./contour-creator PATH/TO/HEIGTHMAP.TIF`
|