Module backend::model::entity::plant_layer
source ยท Expand description
Contains the database implementation of the plant layer.
Structsยง
- BoundingBox ๐A bounding box around the maps geometry.
- HeatMapElement ๐Stores the score of a x,y coordinate on the heatmap.
Constantsยง
- NUMBER_OF_SQUARES ๐The number of values the resulting heatmap matrix should have.
Functionsยง
- Calculate granularity so the number of scores calculated stays constant independent of map size.
- Get all spatial relations of a certain plant.
- Generates a heatmap signaling ideal locations for planting the plant.