kartoza / rezoning-2-project

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

Addressing the Issue of Missing Boundaries in Small Countries/Regions #85

Open dimasciput opened 1 year ago

dimasciput commented 1 year ago

This is the case with Nauru. I believe we will encounter the same issues with other extremely small countries due to the oversimplification.

  1. Download the topojson from https://github.com/worldbank/WB-rezoning-explorer/tree/staging/app/public/zones/country. Nauru iso code is NRU, so you will need to download NRU.topojson
  2. Open it in QGIS, and it will look like this. image
  3. Since this data is useless, we need to download the layer from the internet. I found files for some countries in GeoBoundaries. We need the adm1 layer, try to find the simplified ones.
  4. If you have downloaded the layer, update the properties to include 'id' and 'name'. image I downloaded this file from geoboundaries, and changed from shapeName to name, shapeIso to id.
  5. Convert to topojson
ClaraIV commented 1 year ago

This data should be extracted from the GADM 4.0 dataset which was (supposed to be) used as an updated global boundary layer for this version of the tool. Can you please confirm this is what is being used? I am surprised to hear that the geometry is not valid for some countries. Thanks!!

On Mon, Jun 12, 2023 at 9:53 AM Dimas Ciputra @.***> wrote:

This is the case with Nauru. I believe we will encounter the same issues with other extremely small countries due to the oversimplification.

  1. Download the topojson from https://github.com/worldbank/WB-rezoning-explorer/tree/staging/app/public/zones/country. Nauru iso code is NRU, so you will need to download NRU.topojson
  2. Open it in QGIS, and it will look like this. [image: image] https://user-images.githubusercontent.com/1979569/245054518-8168a16a-631d-4e25-baf6-72fa3b34a815.png
  3. Since this data is useless, we need to download the layer from the internet. I found files for some countries in GeoBoundaries. We need the adm1 layer.
  4. If you have downloaded the layer, update the properties to include 'id' and 'name'. [image: image] https://user-images.githubusercontent.com/1979569/245054904-6fef9ca0-3e1d-4a65-9e71-c89084e17155.png I downloaded this file from geoboundaries, and changed from shapeName to name, shapeIso to id.
  5. Convert to topojson

— Reply to this email directly, view it on GitHub https://github.com/kartoza/rezoning-2-project/issues/85, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHU3HPGJRURVNLXE2N6AUTXK24G3ANCNFSM6AAAAAAZC5GRZ4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

dimasciput commented 1 year ago

Hi @ClaraIV, yes, the data was downloaded from GADM, and the layers have been simplified using the same factor. While this approach works well for larger countries, it renders extremely small countries practically unusable.

So, I believe that for now, we should manually adjust the small countries to save time, rather than tweaking the factor