3 | | These presets allow convenient use of the [osmwiki:Addresses_in_the_United_Kingdom UK-specific addressing tags described in the OSM wiki]. The UK has a somewhat odd arrangement of Premises, Thoroughfare, and Locality (and Postcode) where thoroughfare is sometimes 2-level, and Locality is sometimes 3-level. In response, the UK OSM community has come up with two mutually exclusive, competing schemas, both of which are implemented here with a slight favour for the trickier but more global "addr:place" schema. |
4 | | |
5 | | These presets also contain a number of dialogs to help mappers avoid deprecated combinations, and several tags which have been pointed out by the community as tags to avoid (for example, because the UK doesn't have a particular administrative division). |
6 | | |
7 | | The attached icons are my own work, and are hereby released into the public domain. As the icons are 16x16 low-detail representations of well-known and commonly available items used on paper envelopes, no infringement upon the trade marks or copyrights of The Royal Mail Group Limited or its subsidiaries is intended or could reasonably be inferred from their use in map editing software or otherwise. No sponsorship or endorsement is implied, or would be accepted. |
8 | | |
9 | | === Usage === |
10 | | |
11 | | The main `UK Address` preset covers suggested accepted tags for tagging. It favours the scheme where "dependent thoroughfares" that aren't OSM addr:streets are represented by addr:place instead. The schema that uses addr:substreet instead of addr:place is supported but is only suggested for editing objects with an existing addr:substreet tag. |
12 | | |
13 | | There are a couple of additional preset dialogs for migrating tags and combinations that are deprecated or not widely accepted in the UK to better accepted alternatives. |
14 | | |
15 | | === The preset itself === |
| 3 | These presets allow convenient use of the [osmwiki:Addresses_in_the_United_Kingdom UK-specific addressing tags described in the OSM wiki]. The UK has a somewhat odd arrangement of Premises, Thoroughfare, and Locality (and Postcode) where the Thoroughfare is sometimes 2-level, and the Locality is sometimes 3-level. In response, the UK OSM community has come up with two mutually exclusive, competing schemas, both of which are implemented here with a slight favour for the trickier but globally accepted schema using "addr:place". |
| 4 | |
| 5 | These presets also contain a number of dialogs to help mappers avoid deprecated combinations, and several tags which have been pointed out by the community as tags to avoid (for example, because the UK doesn't have a particular level in the administrative hierarchy). |
| 6 | |
| 7 | * [https://community.openstreetmap.org/t/josm-presets-united-kingdom-addresses/115127 Discuss this preset in the OSM Community Forums] |
| 8 | |
| 9 | === Installation === |
| 10 | |
| 11 | In JOSM: install it from the //Presets → Preset Preferences...// menu. It shows up as "UK Addresses (by achadwick)" in the left-hand list. Click the arrow to transfer it to your list of installed presets, on the right. |
| 12 | |
| 13 | These presets make heavy use of `chunk`, `reference`, and `match_expression`. They may not work outside JOSM. |
| 14 | |
| 15 | === How to use these presets === |
| 16 | |
| 17 | ==== Presets for acceprted UK address tagging schemas ==== |
| 18 | |
| 19 | Note that there is disagreement within the community over how to represent addresses with both Thoroughfares and Dependent Thoroughfares (in Royal Mail terminology). Until consensus is reached, this preset bundle presents //both// of the typical schemas used, on a mutually exclusive basis, but considers them equally valid. Your best bet is to add one of the "green stamp" approved presets to your toolbar, and stick with it. |
| 20 | |
| 21 | * [[Image(stamp1-16.svg, title=Upright stamp in green)]] **UK Address: approved worldwide schema** |
| 22 | * Use this for tagging addresses in the United Kingdom, in envelope order. |
| 23 | * The wiki page mentions this schema, but suggests the one below. Not everyone agrees with this editing decision. |
| 24 | * These presets marginally favour this approach, |
| 25 | * This preset uses only globally-approved OSM tags. |
| 26 | * [[Image(stamp1-16.svg, title=Upright stamp in green)]] **UK Address: accepted regional schema** |
| 27 | * Use this for tagging addresses in the United Kingdom, in envelope order. |
| 28 | * The wiki page favours this schema, but not everyone agrees since it has to use a UK-specific tag for dependent thoroughfares. |
| 29 | * For now it is treated as equally valid. |
| 30 | |
| 31 | ==== Helper presets for fixing deprecated/unaccepted tags==== |
| 32 | |
| 33 | The bundle contains a small number of additional preset dialogs for migrating tags and combinations that are deprecated or not widely accepted in the UK to better accepted alternatives. |
| 34 | |
| 35 | * [[Image(stamp2-16.svg, title=Upside-down stamp in amber)]] **UK Address: Tags to Avoid** |
| 36 | * Visible if you have used certain `addr:*` tags which the community has suggested are best avoided. |
| 37 | * [[Image(stamp3-16.svg, title=Upside-down stamp in red)]] **UK Address: Deprecated place+street combination** |
| 38 | * Either schema. |
| 39 | * You cannot use `addr:place` together with `addr:street` because their meanings overlap |
| 40 | * [[Image(stamp3-16.svg, title=Upside-down stamp in red)]] **UK Address: Deprecated place+substreet combination** |
| 41 | * Region-specific schema only. |
| 42 | * You cannot use `addr:place` together with addr:substreet because their meanings overlap. |
| 43 | |
| 44 | The markers for these will only appear in the sidebar if you use the deprecated combination. Click the marker, and the preset's dialog will offer suggestions for fixing the error. |
| 45 | |
| 46 | === XML definition === |
| 47 | |
| 48 | This is what's served to JOSM. Be careful when editing it. |