# If you downloaded the .gpkg file # You can specify the layer (0 = Country, 1 = Province, etc.) country_shape <- st_read("gadm36_COUNTRYCODE.gpkg", layer = "ADM_0") province_shape <- st_read("gadm36_COUNTRYCODE.gpkg", layer = "ADM_1")
To download and work with GADM data version 3.6 , you can access the files directly from the GADM version 3.6 download page
| Level | Description | Example Attribute | |-------|-------------|------------------| | 0 | Country | NAME_0 = "Indonesia" | | 1 | First-level admin (province/state) | NAME_1 = "Java Barat" | | 2 | Second-level (regency/district) | NAME_2 = "Bandung" | | 3 | Third-level (subdistrict/commune) | NAME_3 = "Cimenyan" | | 4 | Fourth-level (village/neighborhood) | NAME_4 (not all countries) |
# If you downloaded the .gpkg file # You can specify the layer (0 = Country, 1 = Province, etc.) country_shape <- st_read("gadm36_COUNTRYCODE.gpkg", layer = "ADM_0") province_shape <- st_read("gadm36_COUNTRYCODE.gpkg", layer = "ADM_1")
To download and work with GADM data version 3.6 , you can access the files directly from the GADM version 3.6 download page
| Level | Description | Example Attribute | |-------|-------------|------------------| | 0 | Country | NAME_0 = "Indonesia" | | 1 | First-level admin (province/state) | NAME_1 = "Java Barat" | | 2 | Second-level (regency/district) | NAME_2 = "Bandung" | | 3 | Third-level (subdistrict/commune) | NAME_3 = "Cimenyan" | | 4 | Fourth-level (village/neighborhood) | NAME_4 (not all countries) |
Mesajınız iletildi
En kısa sürede size dönüş yapılacaktır