Skip to content

Commit

Permalink
Split Philippines #1913
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Jun 23, 2023
1 parent a6a7b2c commit 417cb07
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion osmose_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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")
Expand Down

0 comments on commit 417cb07

Please sign in to comment.