Added georeferencing

This commit is contained in:
2024-04-25 23:20:38 +02:00
parent e457adf244
commit 0485253893
4 changed files with 27 additions and 11 deletions

View File

@@ -4,13 +4,13 @@
#include "contour_creator.hh"
CellMap::CellMap(int width, int height, uint8_t* cells, OGRSpatialReference reference_system)
CellMap::CellMap(int width, int height, uint8_t* cells, OGRSpatialReference reference_system, double* geotransform)
{
this->width = width;
this->height = height;
this->cells = cells;
this->reference_system = reference_system;
this->geotransform = geotransform;
}
int CellMap::get_cell(int x, int y)
{