21 Commits

Author SHA1 Message Date
Martin Raifer
03a5aa5058 sync dropdown keys with address tags from id-tagging-schema 2025-04-09 21:46:28 +02:00
Deeptanshu Sankhwar
dbcc219c24 Include addr:housename in the address format for Bolivia (#10728) 2025-02-12 15:38:52 +01:00
Chiho Kang
8c1e476dc0 Update KR address format (#10674)
province(도), city(시/군)
district(구), town(읍/면), subdistrict(동/리)
2025-01-16 10:52:16 +01:00
Julien Etienne
02c19e3e93 adding Thailand to address_formats.json 2024-06-24 14:30:31 +07:00
Kyle Hensel
25c8620c03 add New Zealand address format 2024-02-22 22:43:45 +11:00
TagaSanPedroAko
057b061475 missing fields in PH address format (#9685) 2023-11-14 09:21:14 +01:00
Aviral Singh
3a44c3917b Added address format for Mexico (#9928)
* Added address format for Mexico

* omit "district": not currently used significantly

see http://taginfo.geofabrik.de/north-america:mexico/search?q=addr%3A#keys

---------

Co-authored-by: Martin Raifer <martin@raifer.tech>
2023-11-14 08:56:32 +01:00
Aviral Singh
e2b3f522b5 Added address format for South Korea (#9927)
Co-authored-by: Martin Raifer <martin@raifer.tech>
2023-11-14 08:46:28 +01:00
Aviral Singh
2033a0df92 Added address format for Indonesia (#9925)
* Added address format for Indonesia

* split into two lines for space reasons

---------

Co-authored-by: Martin Raifer <martin@raifer.tech>
2023-11-14 08:37:23 +01:00
Andrii Holovin
549b9427c4 Update address_formats.json for addr in Ukraine (#9826)
RE #9603
2023-08-10 17:33:23 +02:00
soshial
23f0dcf9dd Support Latvian address scheme (#9667)
To [check address format](https://www.pasts.lv/en/Category/Postal_Code_Look-up/) see official Latvian Post website.
2023-05-31 20:37:48 +02:00
Yogurt4
be84e09481 Add Hungarian address format (#9673) 2023-05-31 19:49:12 +02:00
Martin Raifer
9595e997e9 Merge branch 'develop' into addr_place 2023-05-26 20:37:54 +02:00
bryceco
ab8407db50 Add address format for Phillipines (#9630) 2023-05-25 19:09:49 +02:00
Martin Raifer
2ed1f0888e use addr+place subfield for Taiwan
this assumes that the address format included both fields as a "hacky" workaround of iD's inability to choose between streets and places from a single field. This is (at the momemt) only based on the observation that before the format was introduced in iD in mid-2016, there were only a very small number of addresses in Taiwan with both tags, and the number increased only after iD started to show fields for both tags, and even today only a very small percentage of addresses have both tags set (approx 2.1k out of 1.6M).
2023-04-28 20:23:56 +02:00
Martin Raifer
316b819cc4 addresses in Czech Republic and Slovakia are more complicated
see https://wiki.openstreetmap.org/wiki/Cs:%C4%8Cesko/Syst%C3%A9m_adres
2023-04-28 19:45:15 +02:00
Martin Raifer
2808edb57f tweak address formats: make street+place default
using the "old" `addr:street`-only field on some countries which don't appear to use place-based addresses (according to current use in the OSM database):
* Australia
* Finland
* Iceland
* Liechtenstein
* Netherlands
* Norway
* Monaco
* Latvia
* Peru
* Bolivia
* China
* Ukraine
* Taiwan (uses both addr:place and add:street in parallel!)
* India
* Canada
* United States
2023-04-28 17:52:44 +02:00
Martin Raifer
026737909f implement special address field for addr:street/addr:place 2023-04-28 16:36:05 +02:00
Biswajit Kaushik
4a9e097b13 Add india address and phone format (#9482) 2023-03-03 18:40:52 +01:00
Dimitar
37ca209b58 Address format in Bulgaria (#9446) 2023-01-19 11:30:09 +01:00
Bryan Housel
567eeac587 Make several data external instead of bundled:
Also dist/data/* contains minified files now

These are now external and will fetch as needed:
-export { dataAddressFormats } from './address-formats.json';
-export { dataDeprecated } from './deprecated.json';
-export { dataDiscarded } from './discarded.json';
-export { dataLanguages } from './languages.json';
-export { dataPhoneFormats } from './phone-formats.json';
-export { dataShortcuts } from './shortcuts.json';
-export { dataTerritoryLanguages } from './territory-languages.json';
2020-01-28 22:21:31 -05:00