diff --git a/data/presets.yaml b/data/presets.yaml index 12d33a34a..1901b0c0b 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -1251,6 +1251,10 @@ en: map_type: # map_type=* label: Type + mapillary: + # mapillary=* + label: Mapillary Photo ID + terms: '[translate with synonyms or related terms for ''Mapillary Photo ID'', separated by commas]' marker: # marker=* label: Type diff --git a/data/presets/fields.json b/data/presets/fields.json index d59d387ec..46376bd05 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -231,6 +231,7 @@ "manufacturer": {"key": "manufacturer", "type": "combo", "snake_case": false, "caseSensitive": true, "label": "Manufacturer"}, "map_size": {"key": "map_size", "type": "typeCombo", "label": "Coverage"}, "map_type": {"key": "map_type", "type": "typeCombo", "label": "Type"}, + "mapillary": {"key": "mapillary", "type": "identifier", "label": "Mapillary Photo ID", "urlFormat": "https://mapillary.com/app/?focus=photo&pKey={value}", "pattern": "^[a-zA-Z0-9-_]{1,}$", "universal": true}, "marker": {"key": "marker", "type": "typeCombo", "label": "Type"}, "material": {"key": "material", "type": "combo", "label": "Material"}, "max_age": {"key": "max_age", "type": "number", "minValue": 0, "label": "Maximum Age", "terms": ["upper age limit"]}, diff --git a/data/presets/fields/mapillary.json b/data/presets/fields/mapillary.json new file mode 100644 index 000000000..54db6cf4a --- /dev/null +++ b/data/presets/fields/mapillary.json @@ -0,0 +1,8 @@ +{ + "key": "mapillary", + "type": "identifier", + "label": "Mapillary Photo ID", + "urlFormat": "https://mapillary.com/app/?focus=photo&pKey={value}", + "pattern": "^[a-zA-Z0-9-_]{1,}$", + "universal": true +} diff --git a/data/taginfo.json b/data/taginfo.json index a71c6c704..11dbc2817 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -1549,6 +1549,7 @@ {"key": "manufacturer", "description": "🄵 Manufacturer"}, {"key": "map_size", "description": "🄵 Coverage"}, {"key": "map_type", "description": "🄵 Type"}, + {"key": "mapillary", "description": "🄵 Mapillary Photo ID"}, {"key": "material", "description": "🄵 Material"}, {"key": "max_age", "description": "🄵 Maximum Age"}, {"key": "maxheight", "description": "🄵 Max Height"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 6619a063f..217146bd8 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -3563,6 +3563,10 @@ "map_type": { "label": "Type" }, + "mapillary": { + "label": "Mapillary Photo ID", + "terms": "" + }, "marker": { "label": "Type" },