Context
To submit an update about a Fuel Station, we evaluate that there are enough entries submitted from standard users. The amount of entries needed is configured through an admin panel.
Problem
Some reports indicate that in some locations, the information would not update due to the lack of submissions. This happens mostly because there are some locations that don't have enough people using the website to report, so we have to evaluate this information manually or reduce the number of entries needed and creating another problem in other locations.
Objective
Create a set of polygons with "My Google Maps" that separates geographically locations that should have a different amount of entries evaluated and describe them with the number of entries needed.
Add an integer column "num_entries" in the fuel station's table to identify how many entries each station needs
Create a script that verifies all the fuel stations without "num_entries", checks which polygon feats the geographical position and fills the "num_entries" column with the given number of that polygon.
Feat the submission method of the map to validate the number of entries with "num_entries" of each station
Context To submit an update about a Fuel Station, we evaluate that there are enough entries submitted from standard users. The amount of entries needed is configured through an admin panel.
Problem Some reports indicate that in some locations, the information would not update due to the lack of submissions. This happens mostly because there are some locations that don't have enough people using the website to report, so we have to evaluate this information manually or reduce the number of entries needed and creating another problem in other locations.
Objective
Create a set of polygons with "My Google Maps" that separates geographically locations that should have a different amount of entries evaluated and describe them with the number of entries needed.
Add an integer column "num_entries" in the fuel station's table to identify how many entries each station needs
Create a script that verifies all the fuel stations without "num_entries", checks which polygon feats the geographical position and fills the "num_entries" column with the given number of that polygon.
Feat the submission method of the map to validate the number of entries with "num_entries" of each station