mapcomplete/Docs/Themes/uk_addresses.md

24 KiB

Addresses in Great Britain ( uk_addresses )

This document details some technical information about this MapComplete theme, mostly about the attributes used in the theme. Various links point toward more information about the attributes, e.g. to the OpenStreetMap-wiki, to TagInfo or tools creating statistics The theme introduction reads:

Help us collect addresses and make them freely available. Each address contributed will be added to OpenStreetMap so you will need to create an account and log in before you start. Please do not copy addresses from the internet or other sources subject to copyright. This website works well on mobile so a good option is to contibute the addresses closest to you.

This theme contains the following layers:

Available languages:

  • en

Table of contents

  1. Layers defined in this theme configuration file
  2. raw_inspire_polygons
  1. to_import
  1. uk_address

Layers defined in this theme configuration file

These layers can not be reused in different themes.

raw_inspire_polygons

External dataset: inspire polygon

  • This layer is shown at zoomlevel 18 and higher
  • This layer is not visible by default and must be enabled in the filter by the user.
  • Elements don't have a title set and cannot be toggled nor will they show up in the dashboard. If you import this layer in your theme, override title to make this toggleable.
  • Not rendered on the map by default. If you want to rendering this on the map, override mapRenderings

This layer is loaded from an external source, namely

https://osm-uk-addresses.russss.dev/inspire/{z}/{x}/{y}.json

No themes use this layer

Basic tags for this layer

Elements must match the expression inspireid~.+

Execute on overpass

Supported attributes

to_import

Alamat

  • This layer is shown at zoomlevel 18 and higher

This layer is loaded from an external source, namely

https://osm-uk-addresses.russss.dev/addresses/{z}/{x}/{y}.json

No themes use this layer

Basic tags for this layer

Elements must match all of the following expressions:

  1. id!~^(node/.*)$
  2. urpn_count~.+

Execute on overpass

Supported attributes

Warning:,this quick overview is incomplete,

attribute type values which are supported by this layer
_embedding_object:id Multiple choice true false

uk_addresses_explanation

This tagrendering has no question and is thus read-only We think there should be an address here. Please click below to add it.

uk_addresses_embedding_outline

This tagrendering has no question and is thus read-only Warning: This point lies within a building or area for which we already have an address. You should only add this address if it is different.
The number and street name we have for the existing address is {_embedding_object:addr:housenumber} {_embedding_object:addr:street}

  • Warning: The property boundary containing this point already contains at least one recorded address. You should only add this address if it is different. is shown if with _embedding_object:id=true
  • We checked our data and found no other address within the same property boundary. If you know the details for this address, please add it. is shown if with _embedding_object:id=false

This tagrendering is only visible in the popup if the following condition is met: _embedding_object:id~.+

uk_addresses_import_button

This tagrendering has no question and is thus read-only {import_button(address,urpn_count=$urpn_count;ref:GB:uprn=ref:GB:uprn,Add this address,./assets/themes/uk_addresses/housenumber_add.svg,,,,)}

leftover-questions

This tagrendering has no question and is thus read-only {questions( ,)}

lod

This tagrendering has no question and is thus read-only {linked_data_from_website()}

This tagrendering has labels added_by_default

Filters

id question osmTags
to_handle.0 Only show non-matched objects _imported= & (_embedding_object:id=

uk_address

Addresses

  • This layer is shown at zoomlevel 18 and higher

No themes use this layer

Basic tags for this layer

Elements must match any of the following expressions:

  • addr:city~.+
  • addr:flats~.+
  • addr:housename~.+
  • addr:housenumber~.+
  • addr:parentstreet~.+
  • addr:place~.+
  • addr:postcode~.+
  • addr:street~.+
  • addr:substreet~.+
  • addr:suburb~.+
  • addr:unit~.+
  • fixme:addr~.+
  • urpn_count~.+

Execute on overpass

Supported attributes

Warning:,this quick overview is incomplete,

attribute type values which are supported by this layer
addr:substreet Multiple choice
addr:unit string
addr:housename string
addr:housenumber string
addr:substreet string
addr:substreet string
addr:street string
addr:parentstreet string
fixme:addr string

questions

Show the questions block at this location This tagrendering has no question and is thus read-only {questions()}

preview

This tagrendering has no question and is thus read-only

The envelope below shows the address that we have recorded. You can change this by answering any remaining questions above, or by clicking the pencil icons below. We do not need you to provide a recipient's name or any of the parts shown in [blue].
{addr:unit} {addr:housename}
{addr:housenumber} {addr:street}
{addr:parentstreet}
[Suburb]
[Town]
[Postal code]

  • The envelope below shows the address that we have recorded. You can change this by answering any remaining questions above, or by clicking the pencil icons below. We do not need you to provide a recipient's name or any of the parts shown in [blue].
    {addr:unit} {addr:housename}
    {addr:housenumber} {addr:substreet}
    {addr:street}
    {addr:parentstreet}
    [Suburb]
    [Town]
    [Postal code]
    is shown if with addr:substreet~.+

uk_addresses_unit

The question is What is the sub-unit for this address?

Sub-unit (e.g. 1, Flat 2, Unit C)
{addr:unit}
is shown if addr:unit is set

  • Sub-unit (e.g. 1, Flat 2, Unit C)
    There is no sub-unit within this address
    is shown if with not:addr:unit=yes. This option cannot be chosen as answer
  • There is no sub-unit within this address is shown if with not:addr:unit=yes
  • Sub-unit (e.g. 1, Flat 2, Unit C)
    is shown if with addr:unit=. This option cannot be chosen as answer

This tagrendering is only visible in the popup if the following condition is met: addr:housename~.+ | addr:housenumber~.+ | addr:substreet~.+

uk_addresses_housename

The question is What is the house or building name for this address?

House or building name
{addr:housename}
is shown if addr:housename is set

  • House or building name
    This building has no housename
    is shown if with nohousename=yes & addr:housename=. This option cannot be chosen as answer
  • This building has no housename is shown if with nohousename=yes & addr:housename=
  • House or building name
    is shown if with addr:housename= & nohousenumber!=yes. This option cannot be chosen as answer

uk_addresses_housenumber

The question is What is the house or building number for this address?

Number (e.g. 1, 1A, 2)
{addr:housenumber}
is shown if addr:housenumber is set

  • Number (e.g. 1, 1A, 2)
    This building has no house number
    is shown if with nohousenumber=yes. This option cannot be chosen as answer
  • This building has no house number is shown if with nohousenumber=yes

uk_addresses_placename

The question is What is the place or locality for this address?

Place (e.g. Castle Mews, West Business Park)
{addr:substreet}
is shown if addr:substreet is set

  • Place (e.g. Castle Mews, West Business Park)
    No extra place name is given or needed
    is shown if with not:addr:substreet=yes. This option cannot be chosen as answer
  • No extra place name is given or needed is shown if with not:addr:substreet=yes
  • Place (e.g. Castle Mews, West Business Park)
    is shown if with addr:substreet=. This option cannot be chosen as answer

uk_addresses_placename_with_parent

The question is What is the place or locality for this address?

Place (e.g. Castle Mews, West Business Park)
{addr:substreet}
is shown if addr:substreet is set

  • Place (e.g. Castle Mews, West Business Park)
    No extra place name is given or needed
    is shown if with not:addr:substreet=yes. This option cannot be chosen as answer
  • No extra place name is given or needed is shown if with not:addr:substreet=yes
  • Place (e.g. Castle Mews, West Business Park)
    is shown if with addr:substreet=. This option cannot be chosen as answer

This tagrendering is only visible in the popup if the following condition is met: (addr:street= | (addr:street~.+ & addr:substreet~.+)) & addr:parentstreet~.+

uk_addresses_street

The question is What is the street name for this address?

Street name
{addr:street}
is shown if addr:street is set

  • Street name
    {_closest_street:0:name}
    is shown if with addr:street=. This option cannot be chosen as answer
  • Street name
    {_closest_street:1:name}
    is shown if with addr:street=. This option cannot be chosen as answer
  • Street name
    {_closest_street:2:name}
    is shown if with addr:street=. This option cannot be chosen as answer
  • {_closest_street:0:name} is shown if with addr:street=
  • {_closest_street:1:name} is shown if with addr:street=
  • {_closest_street:2:name} is shown if with addr:street=

uk_addresses_parentstreet

The question is What is the parent street name for this address?

Parent street name
{addr:parentstreet}
is shown if addr:parentstreet is set

  • Parent street name
    No parent street name is needed within this address
    is shown if with not:addr:parentstreet=yes. This option cannot be chosen as answer
  • No parent street name is needed within this address is shown if with not:addr:parentstreet=yes
  • Parent street name
    {_closest_street:0:name}
    is shown if with addr:parentstreet=. This option cannot be chosen as answer
  • Parent street name
    {_closest_street:1:name}
    is shown if with addr:parentstreet=. This option cannot be chosen as answer
  • Parent street name
    {_closest_street:2:name}
    is shown if with addr:parentstreet=. This option cannot be chosen as answer
  • {_closest_street:0:name} is shown if with addr:parentstreet=
  • {_closest_street:1:name} is shown if with addr:parentstreet=
  • {_closest_street:2:name} is shown if with addr:parentstreet=
  • Parent street name
    is shown if with addr:parentstreet=. This option cannot be chosen as answer

This tagrendering is only visible in the popup if the following condition is met: addr:parentstreet~.+ | addr:substreet~.+

fixme

The question is Please explain what the address is so that someone else can look at it This address is complicated. We have recorded the following description: {fixme:addr} is shown if fixme:addr is set

  • Complicated address? Please click the pencil and write some text to describe the situation. You can also add a photo below if that helps is shown if with fixme:addr=. This option cannot be chosen as answer

address-sign-image

This tagrendering has no question and is thus read-only {image_carousel(image:address)}
{image_upload(image:address, Too complex? Add a photo of the address)}

move-button

This tagrendering has no question and is thus read-only {move_button()}

lod

This tagrendering has no question and is thus read-only {linked_data_from_website()}

This tagrendering has labels added_by_default

This document is autogenerated from assets/themes/uk_addresses/uk_addresses.json