CartoPics is a simple script to generate Digital Elevation Model picture.
Raster of a Brest's harbour area
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Let's get started ! Clone the repository using git
git clone https://github.com/Teusner/CartoPics
You are now able to compile the project
cd CartoPics/src
mkdir build
cd build
cmake ..
make
create_raster is now generate in Cartopics/src/build
To generate a Digital Elevation Model, you should have a file of the points you measured, as you can see on the following example
# latitude longitude elevation
48.29762887 -004.41737340 14.334
48.29762971 -004.41735997 14.379
48.29763698 -004.41738809 14.452
...
And then, run CartoPics with the name of your file in parameter and the number of pixel along the x-axis
./cartopics my_file.txt 1000
You can find your output image in the same directory with the name my_file_map.ppm
To run the test, you need first to compile the project. Then you are able to run ctest in the build path.
cd build
ctest
You can too run verbose tests to have more informations about the tests.
ctest --verbose
A documentation of the modules used is available in the documentation folder. You can show the html page which was generated with Doxygen with :
firefox documentation/index.html
- delaunator-cpp - An efficient delaunay triangulation library
- Spectrum - A ColorMap generator PDF Description
- Brateau Quentin - Initial work - Teusner 😎
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details