Skip to content

Commit

Permalink
Philippines - use only one region (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
ede-wolf-gls authored Dec 17, 2024
1 parent 2bf36d1 commit 7e4d023
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/countries/worldwide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,7 @@ PH:
{{{attention}}}
{{{house}}}
{{{house_number}}} {{{road}}}, {{#first}}{{{suburb}}} || {{{city_district}}} || {{{neighbourhood}}}{{/first}}, {{#first}} {{{city}}} || {{{town}}} || {{{village}}} || {{{hamlet}}} || {{{suburb}}} || {{{state_district}}} {{/first}}
{{{postcode}}} {{#first}} {{{municipality}}} {{{region}}} {{{state}}} {{/first}}
{{{postcode}}} {{#first}} {{{municipality}}} || {{{region}}} || {{{state}}} || {{/first}}
{{{country}}}
# Pakistan
Expand Down
19 changes: 18 additions & 1 deletion testcases/countries/ph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,21 @@ expected: |
121 Epifanio Delos Santos Ave., Wack-wack Greenhills, Mandaluyong
1550 Metro Manila
Philippines
---
# https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=11556052391&class=amenity
description: address - ignore additional region
components:
road: Gerona - Pura Road
village: Poblacion 1
postcode: 2312
municipality: Pura
province: Tarlac
region: Central Luzon
country: Philippines
country_code: PH
attention: PYS Pharmacy
expected: |
PYS Pharmacy
Gerona - Pura Road, Poblacion 1
2312 Pura
Philippines

0 comments on commit 7e4d023

Please sign in to comment.