kartoza / rezoning-2-project

Rezoning project organizational repository
Creative Commons Zero v1.0 Universal
0 stars 4 forks source link

Suitable areas are not aggregated properly, if suitable areas are returned, zones need to be returned #70

Open LunaAsefaw opened 1 year ago

LunaAsefaw commented 1 year ago

When I test onshore wind at 25km grid for Andorra, several suitable areas are returned on the map but no zones are available.

dimasciput commented 1 year ago

This issue arises because the area size is smaller than the chosen grid option. We have two potential solutions:

@ClaraIV @LunaAsefaw

LunaAsefaw commented 1 year ago

Yes this is linked to #72 The only reason I kept it open is because I want to finish testing all the countries but so far, it's all working well. Option 2 of your solutions works. In this case, since you've chosen grid size based on area automatically, you've reduced the chances of having this issue but since we are displaying three options: boundary, 5 km grid and 25 km grid to small countries but some of these countries are too small for the 25 km grid then how do you feel about the following solutions:

  1. If area < 625 km, then that doesn't even appear as an option (so only boundary and 5 km pop up) but this will be an issue if the user now chooses offshore, that is most likely greater than 625 km because in most cases with these small islands and countries, they're surrounded by water so their area for offshore is great and the 25km grid here now comes in handy.
  2. Display an error message specifying that it's a grid size issue and not that there's no suitable areas identifies or something along those lines. @dimasciput