National-Forestry-Authority / brms

1 stars 1 forks source link

Surveys: Allow different colour coded statuses per segment #18

Open ygoex opened 1 year ago

ygoex commented 1 year ago

Show the status of boundary descriptions of the ground (surveyed, surveyed and marked, marked but not recently checked): select list with status (i.e. layer type).

On the CFR edit form we need to show a map with the polygons of the CFR, when clicking on one segment we get a pop up with status and the coordinates pre-populated. Then we can change and modify the colour of the polygon.

The statuses (geolayer types) are:

The complete status is surveyed and marked (in green colour), the rest would be considered incomplete (old survey would be red, and surveyed and marked in orange).

On saving the pop up information the colour would be changed.

Grouping: When the polygon is completed (all the lines are surveyed and marked) the lines are grouped, and when clicking on them and changing the status it would change also all the lines statuses.

We will implement this with a Survey paragraph type. Each survey has a geolayer field for which a layer type can be selected. The layer type options will be the 4 statuses listed above.

The surveys layers will be shown on the main CFR map, together with the other geolayers, grouped under a Surveys section in the map layer switcher.

ygoex commented 1 year ago

This is one level deeper on one particular layer: new boundaries.

ygoex commented 1 year ago

When we pick a status in the survey field we will assign a predefined style.

peacog commented 12 months ago

Hi @LeScruf - survey layers are now shown on the dashboard map and the forest reserve map. Check out https://brms.stg.envs.utils.nfa.go.ug/central-forest-reserve/abera and https://brms.stg.envs.utils.nfa.go.ug/forest-reserves

LeScruf commented 11 months ago

Have seen thanks. I will sit down with Edward to solicit his inputs.