Chore: regenerate docs

This commit is contained in:
Pieter Vander Vennet 2025-01-29 20:32:36 +01:00
parent 6acba0161a
commit f057b0f358
24 changed files with 784 additions and 936 deletions

View file

@ -758,4 +758,4 @@
This document is autogenerated from [assets/layers/*.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/*.json)
This document is autogenerated from [assets/layers/*.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/*.json)

View file

@ -611,4 +611,4 @@ The question is `What is the name of this place?`
This document is autogenerated from [assets/layers/questions/questions.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/questions/questions.json)
This document is autogenerated from [assets/layers/questions/questions.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/questions/questions.json)

View file

@ -5,36 +5,6 @@ Metatags are extra tags available, in order to display more data or to give bett
They are calculated automatically on every feature when the data arrives in the webbrowser. This document gives an overview of the available metatags.
**Hint:** when using metatags, add the [query parameter](URL_Parameters.md) `debug=true` to the URL. This will include a box in the popup for features which shows all the properties of the object
## Table of contents
1. [Metatags calculated by MapComplete](#metatags-calculated-by-mapcomplete)
- [_lat, _lon](#_lat,-_lon)
- [_layer](#_layer)
- [_surface](#_surface)
- [_surface:ha](#_surfaceha)
- [_length, _length:km](#_length,-_lengthkm)
- [Theme-defined keys](#theme-defined-keys)
- [_country](#_country)
- [_isOpen](#_isopen)
- [_direction:numerical, _direction:leftright](#_directionnumerical,-_direction:leftright)
- [_direction:centerpoint](#_directioncenterpoint)
- [_now:date, _now:datetime](#_nowdate,-_now:datetime)
- [_last_edit:contributor, _last_edit:contributor:uid, _last_edit:changeset, _last_edit:timestamp, _version_number, _backend](#_last_editcontributor,-_last_edit:contributor:uid,-_last_edit:changeset,-_last_edit:timestamp,-_version_number,-_backend)
- [sidewalk:left, sidewalk:right, generic_key:left:property, generic_key:right:property](#sidewalkleft,-sidewalk:right,-generic_key:left:property,-generic_key:right:property)
- [_geometry:type](#_geometrytype)
- [_level](#_level)
- [_referencing_ways](#_referencing_ways)
- [_last_edit:passed_time](#_last_editpassed_time)
- [_currency](#_currency)
2. [ Calculating tags with Javascript ](#-calculating-tags-with-javascript-)
- [distanceTo](#distanceto)
- [overlapWith](#overlapwith)
- [enclosingFeatures](#enclosingfeatures)
- [intersectionsWith](#intersectionswith)
- [closest](#closest)
- [closestn](#closestn)
- [get](#get)
## Metatags calculated by MapComplete
The following values are always calculated, by default, by MapComplete and are available automatically on all elements in every theme
@ -234,4 +204,4 @@ Gets the property of the feature, parses it (as JSON) and returns it. Might retu
This document is autogenerated from [src/Logic/SimpleMetaTagger.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/Logic/SimpleMetaTagger.ts), [src/Logic/ExtraFunctions.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/Logic/ExtraFunctions.ts)
This document is autogenerated from [src/Logic/SimpleMetaTagger.ts](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/src/Logic/SimpleMetaTagger.ts), [src/Logic/ExtraFunctions.ts](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/src/Logic/ExtraFunctions.ts)

View file

@ -39,4 +39,4 @@ This might give a reason per modified node or way | DeleteAction |
This document is autogenerated from [src/Logic/Osm/Changes.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/Logic/Osm/Changes.ts), [src/Logic/Osm/ChangesetHandler.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/Logic/Osm/ChangesetHandler.ts)
This document is autogenerated from [src/Logic/Osm/Changes.ts](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/src/Logic/Osm/Changes.ts), [src/Logic/Osm/ChangesetHandler.ts](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/src/Logic/Osm/ChangesetHandler.ts)

View file

@ -892,4 +892,4 @@ This table gives a summary of ids, names and other metainformation. [See the onl
This document is autogenerated from [./public/assets/data/editor-layer-index.json](https://github.com/pietervdvn/MapComplete/blob/develop/./public/assets/data/editor-layer-index.json)
This document is autogenerated from [./public/assets/data/editor-layer-index.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/./public/assets/data/editor-layer-index.json)

View file

@ -19,4 +19,4 @@ MapComplete supports the following keys:
This document is autogenerated from [src/UI/Base/Hotkeys.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/UI/Base/Hotkeys.ts)
This document is autogenerated from [src/UI/Base/Hotkeys.ts](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/src/UI/Base/Hotkeys.ts)

View file

@ -86,4 +86,4 @@ This tagrendering has labels
This document is autogenerated from [assets/themes/atm/atm.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/atm/atm.json)
This document is autogenerated from [assets/themes/atm/atm.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/themes/atm/atm.json)

View file

@ -136,4 +136,4 @@ This tagrendering has labels
This document is autogenerated from [assets/layers/childcare/childcare.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/childcare/childcare.json)
This document is autogenerated from [assets/layers/childcare/childcare.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/childcare/childcare.json)

View file

@ -70,4 +70,4 @@ This tagrendering has labels
`added_by_default`
This document is autogenerated from [assets/layers/dog_toilet/dog_toilet.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/dog_toilet/dog_toilet.json)
This document is autogenerated from [assets/layers/dog_toilet/dog_toilet.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/dog_toilet/dog_toilet.json)

View file

@ -11,22 +11,19 @@ This layer is loaded from an external source, namely
`https://maproulette.org/api/v2/tasks/box/{x_min}/{y_min}/{x_max}/{y_max}`
No themes use this layer
## Table of contents
1. [Themes using this layer](#themes-using-this-layer)
2. [Basic tags for this layer](#basic-tags-for-this-layer)
3. [Supported attributes](#supported-attributes)
1. [Basic tags for this layer](#basic-tags-for-this-layer)
2. [Supported attributes](#supported-attributes)
- [status](#status)
- [mark_fixed](#mark_fixed)
- [mark_duplicate](#mark_duplicate)
- [mark_too_hard](#mark_too_hard)
- [leftover-questions](#leftover-questions)
- [lod](#lod)
4. [Filters](#filters)
## Themes using this layer
- [maproulette](https://mapcomplete.org/maproulette)
3. [Filters](#filters)
## Basic tags for this layer

View file

@ -17,7 +17,6 @@ This layer is loaded from an external source, namely
1. [Themes using this layer](#themes-using-this-layer)
2. [Basic tags for this layer](#basic-tags-for-this-layer)
3. [Supported attributes](#supported-attributes)
- [details](#details)
- [status](#status)
- [leftover-questions](#leftover-questions)
- [lod](#lod)
@ -44,11 +43,6 @@ Elements must match the expression **mr_taskId~.+**
-----|-----|----- |
| <a target="_blank" href='https://taginfo.openstreetmap.org/keys/mr_taskStatus#values'><img src='https://mapcomplete.org/assets/svg/search.svg' height='18px'></a> <a target="_blank" href='https://taghistory.raifer.tech/?#***/mr_taskStatus/'><img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'></a> [mr_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus) | Multiple choice | [Created](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DCreated) [Fixed](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFixed) [False positive](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFalse positive) [Skipped](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DSkipped) [Deleted](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDeleted) [Already fixed](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DAlready fixed) [Too hard](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DToo hard) [Disabled](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDisabled) |
### details
_This tagrendering has no question and is thus read-only_
*{maproulette_task()}*
### status
_This tagrendering has no question and is thus read-only_

View file

@ -934,4 +934,4 @@ This tagrendering has labels
This document is autogenerated from [assets/themes/healthcare/healthcare.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/healthcare/healthcare.json)
This document is autogenerated from [assets/themes/healthcare/healthcare.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/themes/healthcare/healthcare.json)

View file

@ -925,4 +925,4 @@ This tagrendering has labels
This document is autogenerated from [assets/themes/circular_economy/circular_economy.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/circular_economy/circular_economy.json)
This document is autogenerated from [assets/themes/circular_economy/circular_economy.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/themes/circular_economy/circular_economy.json)

View file

@ -94,4 +94,4 @@ This tagrendering has labels
`added_by_default`
This document is autogenerated from [assets/themes/pets/pets.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/pets/pets.json)
This document is autogenerated from [assets/themes/pets/pets.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/themes/pets/pets.json)

View file

@ -207,4 +207,4 @@ Validates monetary amounts
Validates a regex
This document is autogenerated from [src/UI/InputElement/Validators.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/UI/InputElement/Validators.ts)
This document is autogenerated from [src/UI/InputElement/Validators.ts](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/src/UI/InputElement/Validators.ts)

File diff suppressed because it is too large Load diff

View file

@ -958,4 +958,4 @@ This tagrendering has labels
This document is autogenerated from [assets/themes/circular_economy/circular_economy.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/circular_economy/circular_economy.json)
This document is autogenerated from [assets/themes/circular_economy/circular_economy.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/themes/circular_economy/circular_economy.json)

View file

@ -973,4 +973,4 @@ This tagrendering has labels
This document is autogenerated from [assets/themes/healthcare/healthcare.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/themes/healthcare/healthcare.json)
This document is autogenerated from [assets/themes/healthcare/healthcare.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/themes/healthcare/healthcare.json)

View file

@ -1,33 +0,0 @@
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
## MapRoulette Tasks ( [maproulette](https://mapcomplete.org/maproulette) )
_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:
> Theme showing MapRoulette tasks, allowing you to search, filter and fix them.
This theme contains the following layers:
- [maproulette](../Layers/maproulette.md)
Available languages:
- en
- de
- fr
- da
- ca
- pa_PK
- nl
- es
- cs
- zh_Hant
- pl
- hu
- ko
# Layers defined in this theme configuration file
These layers can not be reused in different themes.
This document is autogenerated from [assets/themes/maproulette/maproulette.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/themes/maproulette/maproulette.json)

View file

@ -338,7 +338,7 @@ No default value set
Used to complete the login
This documentation is defined in the source code at [WithUserRelatedState.ts](/src/Models/ThemeViewState/WithUserRelatedState.ts#L39)
This documentation is defined in the source code at [WithUserRelatedState.ts](/src/Models/ThemeViewState/WithUserRelatedState.ts#L43)
No default value set
@ -410,7 +410,7 @@ The default value is _0_
The mode the application starts in, e.g. 'map', 'dashboard' or 'statistics'
This documentation is defined in the source code at [generateDocs.ts](ervdvn/git2/MapComplete/scripts/generateDocs.ts#L437)
This documentation is defined in the source code at [generateDocs.ts](ervdvn/git2/MapComplete/scripts/generateDocs.ts#L442)
The default value is _map_
@ -418,9 +418,9 @@ The default value is _map_
Whether the layer with id <layer-id> is shown
This documentation is defined in the source code at [QueryParameterDocumentation.ts](/src/UI/QueryParameterDocumentation.ts#L58)
This documentation is defined in the source code at [QueryParameterDocumentation.ts](/src/UI/QueryParameterDocumentation.ts#L53)
The default value is _true_
This document is autogenerated from [src/Logic/Web/QueryParameters.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/Logic/Web/QueryParameters.ts), [src/UI/QueryParameterDocumentation.ts](https://github.com/pietervdvn/MapComplete/blob/develop/src/UI/QueryParameterDocumentation.ts)
This document is autogenerated from [src/Logic/Web/QueryParameters.ts](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/src/Logic/Web/QueryParameters.ts), [src/UI/QueryParameterDocumentation.ts](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/src/UI/QueryParameterDocumentation.ts)

View file

@ -177,4 +177,4 @@ Alternative denominations:
#### years
This document is autogenerated from [assets/layers/unit/unit.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/unit/unit.json)
This document is autogenerated from [assets/layers/unit/unit.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/unit/unit.json)

View file

@ -0,0 +1,7 @@
import { SpecialVisualization } from "../SpecialVisualization"
export class WebAndDataSpecialVisualisations {
public static initList(): (SpecialVisualization & { group }) [] {
return []
}
}