iLand
|
MapGrid encapsulates maps that classify the area in 10m resolution (e.g. More...
Public Member Functions | |
void | lock (const int id, QList< ResourceUnit * > &elements) |
void | unlock (const int id) |
MapGrid encapsulates maps that classify the area in 10m resolution (e.g.
for stand-types, management-plans, ...)
The grid is (currently) loaded from disk in a ESRI style text file format. See also the "location" keys and GisTransformation classes for details on how the grid is mapped to the local coordinate system of the project area. From the source grid a 10m grid using the extent and position of the "HeightGrid" and spatial indices for faster access are generated. The grid is clipped to the extent of the simulation area and -1 is used for no_data_values. Use boundingBox(), resourceUnits(), trees() to retrieve information for specific 'ids'. gridValue() retrieves the 'id' for a given location (in LIF-coordinates). MapGridRULock is a custom class to serialize (write) access to (the trees of a) resource units.
void MapGridRULock::lock | ( | const int | id, |
QList< ResourceUnit * > & | elements | ||
) |
void MapGridRULock::unlock | ( | const int | id | ) |