Closed dobro929 closed 2 years ago
@lucaslootalot I could add all of those:
It should be the same data on different positions.
Could you then check that the beds all have the offset coordinates and add them to the company 1 garden 1, that would be great! 😄
@dobro929 What kind of marker do we want to use? They don't look so suitable. 😿
@lucaslootalot a green marker already exists in assets/marker
😄 You can use the green one or the crops icon (sidebar), as Billie does.
Both doesnt look good.
@lucaslootalot Do the coordinates of the plants actually line up with the bed? Or did you manually tweak them ? :grinning:
I have moved the image. 🧙🏻♂️
@Anafabula Can you extend the plant_coords
array of the beds with the IDs of the plants?
Edit:
/cc @jarkenau
EditEdit: deprecated
@jarkenau @jarkenau @pbrozi It just turned out that the plant coordinates in the bed are not so useful after all. It would make more sense to have a middle coordinate of the bed, from which a marker can be created.
I have added a few beds to the gardens 👍🏼
@dobro929 works, ty 👍🏻 @jarkenau So you don't have to work on it anymore, thank you too . 😄
@lucaslootalot like this?
{
"id": bed.id,
"plant": plant_type,
"variety": variety,
"plants": request.build_absolute_uri(plants_url),
"soil_humidity": soil_humidity,
"harvest": f"{harvest} week",
"yield": pyield,
"health": phealth,
"plant_coords": plant_coords,
"mid_lat: number,
"mid_lon: number
}
@jarkenau Yes and additionally please add the plant ID to the objects in plant_coords
. 🙇🏻
@jarkenau @pbrozi There are only 1 to 2 beds per garden, which to be honest looks a bit sad in the table and on the map. Is it possible to expand that to maybe 5 beds? The data can be the same, the coordinates would only have to be moved.