Rothamsted-Ecoinformatics / farm_rothamsted

Custom farmOS features for Rothamsted Research.
GNU General Public License v2.0
6 stars 1 forks source link

Maps: include maps of assets on quick forms #700

Open aislinnpearson opened 4 months ago

aislinnpearson commented 4 months ago

To make it easier to find plant assets on the quick forms, one idea as to include a map at the top of each quick form.

Ideally, the map would show the boundaries of the crop assets, experiment boundaries, and drains... but by clicking on it, you'd need to load the location as well as the asset. There would ideally also be a way to select multiple at once.

The tricky part of this is that the assets don't have a geometry associated with them. One option is to include the boundary for the field - perhaps by amending the plant asset quick form to copy boundaries from one to the other (with the additional option to upload a new boundary if the asset is a different shape to the field). However, my concern there is that the asset might not be the same shape as the field, and yet it seems like it is if you use this option, and that might affect calculations such as fertilizer rates, etc.

Instead, I wonder if this might integrate nicely with John Deere. My only concern there is what happens to the fields before they are drilled - for example, the cultivation area.

A simpler option would be to click on the field perhaps, and any assets associated with it are listed...

One for further thought. This would at least integrate nicely with the experiment module (assuming the boundaries have geometry uploaded).