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ยง
- NUMBER_
OF_ ๐SQUARES - The number of values the resulting heatmap matrix should have.
Functionsยง
- calculate_
granularity ๐ - Calculate granularity so the number of scores calculated stays constant independent of map size.
- find_
relations - Get all spatial relations of a certain plant.
- heatmap
- Generates a heatmap signaling ideal locations for planting the plant.