From 417cb0778cf2ff71099b9d8470b15f9f4a723c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Fri, 23 Jun 2023 16:21:16 +0000 Subject: [PATCH] Split Philippines #1913 --- osmose_config.py | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/osmose_config.py b/osmose_config.py index 19341f3f4..5dfeaa244 100644 --- a/osmose_config.py +++ b/osmose_config.py @@ -1287,7 +1287,6 @@ class gen(default_country): default_country("asia", "oman", 305138, {"country": "OM", "language": "ar","proj": 32640}, download_repo=OSMFR) default_country("asia", "pakistan", 307573, {"country": "PK", "language": ["en", "ur"], "driving_side": "left", "proj": 32642}) default_country("asia", "palestine", 1703814, {"country": "PS", "language": "ar", "proj": 32636}, download_repo=OSMFR) -default_country("asia", "philippines", 2850940, {"country": "PH", "language": "en", "proj": 32651, 'phone_code': '63', 'phone_len': [7, 8], 'phone_international': '00'}, download_repo=GEOFABRIK) default_country("asia", "qatar", 305095, {"country": "QA", "language": "ar","proj": 32639}, download_repo=OSMFR) default_country("asia", "saudi_arabia", 307584, {"country": "SA", "language": "ar","proj": 32637}, download_repo=OSMFR) default_country("asia", "singapore", 536780, {"country": "SG", "language": "en", "driving_side": "left", "proj": 32648}, download_repo=OSMFR) @@ -1308,6 +1307,28 @@ class gen(default_country): ######################################################################### +ph_state = gen_country('asia', 'philippines', download_repo=OSMFR, language='en', proj=32651, phone_code='63', phone_len=[7, 8], phone_international=00) + +ph_state("metro_manila", 147488, "PH-00") +ph_state("calabarzon", 1552120, "PH-40") +ph_state("ilocos_region", 1552186, "PH-01") +ph_state("cordillera_administrative_region", 1552190, "PH-15") +ph_state("cagayan_valley", 1552192, "PH-02") +ph_state("central_luzon", 1552195, "PH-03") +ph_state("mimaropa", 1552261, "PH-41") +ph_state("bicol_region", 3561455, "PH-05") +ph_state("western_visayas", 3589982, "PH-06") +ph_state("central_visayas", 3625910, "PH-07") +ph_state("eastern_visayas", 3759193, "PH-08") +ph_state("zamboanga_peninsula", 3777290, "PH-09") +ph_state("bangsamoro", 3821409, "PH-14") +ph_state("soccsksargen", 3851570, "PH-12") +ph_state("caraga", 3870502, "PH-13") +ph_state("northern_mindanao", 3873457, "PH-10") +ph_state("davao_region", 3936842, "PH-11") + +######################################################################### + id_province = gen_country('asia', 'indonesia', download_repo=OSMFR, language='id', driving_side='left', proj=23837) id_province("aceh", 2390836, "ID-AC")