diff --git a/documentation/ER_diagram.gaphor b/documentation/ER_diagram.gaphor index 8367b3f..bbe93d4 100644 --- a/documentation/ER_diagram.gaphor +++ b/documentation/ER_diagram.gaphor @@ -61,13 +61,13 @@ -(1.0, 0.0, 0.0, 1.0, 213.8203125, 137.04296875) +(1.0, 0.0, 0.0, 1.0, 213.62031249999998, 137.04296875) (0.0, 0.0) -100.0 +177.0 100.0 @@ -109,7 +109,7 @@ -heights ++ heights: [[float, ...], ...] @@ -134,13 +134,13 @@ -(1.0, 0.0, 0.0, 1.0, 374.1523132324219, 137.04296875) +(1.0, 0.0, 0.0, 1.0, 410.10133284026506, 137.04296875) (0.0, 0.0) -100.0 +155.0 108.0 @@ -162,6 +162,9 @@ x + +int + @@ -170,13 +173,16 @@ y + +int + -cases ++ cases: [[int, ...], ...] \ No newline at end of file diff --git a/documentation/ER_diagram.svg b/documentation/ER_diagram.svg index 5d5779a..b878dc8 100644 --- a/documentation/ER_diagram.svg +++ b/documentation/ER_diagram.svg @@ -1,5 +1,5 @@ - + @@ -80,85 +80,153 @@ - + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - + + + + + + + + + - + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - + + + + + + + - + - - - + + + + + + + + - - - + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/documentation/plan.md b/documentation/plan.md new file mode 100644 index 0000000..5a03363 --- /dev/null +++ b/documentation/plan.md @@ -0,0 +1,14 @@ +## Group: Trygve and Esther +# What problem will you be working on in your programming project? +We will be implementing a marching squares algorithm to produce a contour map from a heightmap image file. + +# Responsibilities: +Esther will create the algorithm itself with multitreading. This will essentially be a function that takes a grid of pixels as input and returns a similar grid of cells. +Trygve will take care of reading in the tiff file into our own datastructure and creating a vector image from the output of the algorithm. + +# How do you plan to make it easily verifiable that your objectives are reached? +We can compare against the `gdal_contour` cli program which is a implementation widely used in other software. We can compare speed, memory usage and the result itself. +Each step in our program also produces a output which we can be worked on and evaluated independently. + +# ER diagram: +![](ER_diagram.svg) \ No newline at end of file diff --git a/documentation/plan.pdf b/documentation/plan.pdf new file mode 100644 index 0000000..d5ea89a Binary files /dev/null and b/documentation/plan.pdf differ