Commit Graph

11 Commits

Author SHA1 Message Date
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