mirror of
https://gitlab.com/Trygve/contour-creator.git
synced 2024-12-21 21:30:18 +00:00
Update readme
This commit is contained in:
parent
e739821264
commit
08dce8eb7e
11
README.md
11
README.md
@ -4,13 +4,17 @@ This is our project for the INF205: Resource-efficient programming course
|
|||||||
## Status
|
## Status
|
||||||
- [x] Read .tif file into memory using gdal
|
- [x] Read .tif file into memory using gdal
|
||||||
- [x] Run the marching squares algorithm and produce a "cellmap"
|
- [x] Run the marching squares algorithm and produce a "cellmap"
|
||||||
- [ ] Use a lookuptable to produce a vector file from the "cellmap"
|
- [x] Use a lookuptable to produce a vector file from the "cellmap"
|
||||||
## Dependencies
|
## Dependencies
|
||||||
- GDAL >= 3.5
|
- GDAL >= 3.5
|
||||||
- OpenMP
|
- OpenMP
|
||||||
- CMake
|
- CMake
|
||||||
|
|
||||||
If you want to clone the repo with the example files you need [git-lfs](https://git-lfs.com/) installed and activated with ´git lfs install´
|
If you want to clone the repo with the example files you need [git-lfs](https://git-lfs.com/) installed and activated with ´git lfs install´
|
||||||
|
You also need to clone with submodules to get the argh library:
|
||||||
|
```
|
||||||
|
git clone --recurse-submodules https://gitlab.com/Trygve/contour-creator
|
||||||
|
```
|
||||||
To install the packages on Fedora run
|
To install the packages on Fedora run
|
||||||
```
|
```
|
||||||
dnf install g++ git-lfs cmake gdal-devel
|
dnf install g++ git-lfs cmake gdal-devel
|
||||||
@ -27,8 +31,7 @@ cmake -DCMAKE_BUILD_TYPE=Debug ..
|
|||||||
cmake --build . --parallel
|
cmake --build . --parallel
|
||||||
```
|
```
|
||||||
Then you can run `./contour-creator PATH/TO/HEIGTHMAP.TIF`
|
Then you can run `./contour-creator PATH/TO/HEIGTHMAP.TIF`
|
||||||
Run an example file: `./contour-creator "../example_files/Follo 2014-dtm.tif"`
|
Run an example file: `./contour-creator "../example_files/ås.tif"`
|
||||||
Currently the program outputs to ´out.shp´ in the current directory.
|
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
[Doxygen output](https://trygve.gitlab.io/contour-creator/)
|
[Doxygen output](https://trygve.gitlab.io/contour-creator/)
|
Loading…
Reference in New Issue
Block a user