MapComplete/Docs/Layers/street_lamps.md

21 KiB

street_lamps

A layer showing street lights

  • This layer is shown at zoomlevel 16 and higher

Table of contents

  1. Themes using this layer
  2. Presets
  3. Basic tags for this layer
  4. Supported attributes
  5. Featureview elements and TagRenderings

Themes using this layer

Presets

The following options to create new points are included:

Basic tags for this layer

Elements must match the expression highway=street_lamp

Execute on overpass

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
man_made Multiple choice utility_pole
ref string
support Multiple choice catenary ceiling ground pedestal pole wall wall_mount
lamp_mount Multiple choice straight_mast bent_mast
light:method Multiple choice LED incandescent halogen discharge mercury metal-halide fluorescent sodium low_pressure_sodium high_pressure_sodium gas
light:colour color white green orange
light:count pnat 1 2
light:lit Multiple choice dusk-dawn 24/7 motion demand
light:direction direction

Featureview elements and TagRenderings

id question labels freeform key
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
utility_pole Is this lamp mounted on a utility pole?
2 options
Multiple choice only
ref What is the reference number of this street lamp?
This street lamp has the reference number {ref}
street_lamp_question ref (string)
support How is this street lamp mounted?
7 options
street_lamp_question Multiple choice only
lamp_mount How is this lamp mounted to the pole?
2 options
street_lamp_question Multiple choice only
method What kind of lighting does this lamp use?
12 options
street_lamp_question Multiple choice only
colour What colour light does this lamp emit?
This lamp emits {light:colour} light
3 options
street_lamp_question light:colour (color)
count How many fixtures does this light have?
This lamp has {light:count} fixtures
2 options
street_lamp_question light:count (pnat)
lit When is this lamp lit?
4 options
street_lamp_question Multiple choice only
direction Where does this lamp point to?
This lamp points towards {light:direction}
street_lamp_question light:direction (direction)
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
move-button {move_button()} Multiple choice only
delete-button {delete_button()} Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only

images

This block shows the known images which are linked with the image-keys, but also via mapillary and wikidata and shows the button to upload new images This tagrendering has no question and is thus read-only {image_carousel()}{image_upload()}

utility_pole

The question is Is this lamp mounted on a utility pole?

  • This lamp is mounted on a utility pole is shown if with man_made=utility_pole
  • This lamp is not mounted on a utility pole is shown if with man_made=

ref

The question is What is the reference number of this street lamp? This street lamp has the reference number {ref} is shown if ref is set

This tagrendering has labels street_lamp_question

support

The question is How is this street lamp mounted?

  • This lamp is suspended using cables is shown if with support=catenary
  • This lamp is mounted on a ceiling is shown if with support=ceiling
  • This lamp is mounted in the ground is shown if with support=ground
  • This lamp is mounted on a short pole (mostly < 1.5m) is shown if with support=pedestal
  • This lamp is mounted on a pole is shown if with support=pole
  • This lamp is mounted directly to the wall is shown if with support=wall
  • This lamp is mounted to the wall using a metal bar is shown if with support=wall_mount

This tagrendering has labels street_lamp_question

lamp_mount

The question is How is this lamp mounted to the pole?

This tagrendering is only visible in the popup if the following condition is met: support=pole & man_made!=utility_pole This tagrendering has labels street_lamp_question

method

The question is What kind of lighting does this lamp use?

This tagrendering has labels street_lamp_question

colour

The question is What colour light does this lamp emit? This lamp emits {light:colour} light is shown if light:colour is set

This tagrendering has labels street_lamp_question

count

The question is How many fixtures does this light have? This lamp has {light:count} fixtures is shown if light:count is set

This tagrendering is only visible in the popup if the following condition is met: support=pole This tagrendering has labels street_lamp_question

lit

The question is When is this lamp lit?

This tagrendering has labels street_lamp_question

direction

The question is Where does this lamp point to? This lamp points towards {light:direction} is shown if light:direction is set

This tagrendering is only visible in the popup if the following condition is met: light:count=1 This tagrendering has labels street_lamp_question

leftover-questions

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

This tagrendering has labels ignore-docs added_by_default

move-button

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

delete-button

This tagrendering has no question and is thus read-only {delete_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/layers/street_lamps/street_lamps.json