Module backend::model::entity::plant_layer
source ยท Expand description
Contains the database implementation of the plant layer.
Structsยง
- Bounding
Box ๐A bounding box around the maps geometry. - Heat
MapElement ๐Stores the score of a x,y coordinate on the heatmap.
Constantsยง
- NUMBE
R_ ๐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.