Skip to content

Commit

Permalink
Update main branch (#1)
Browse files Browse the repository at this point in the history
* Deploying to main from @ openstreetmap/id-tagging-schema@d7dc30d 🚀

* mention wiki and similar as "related projects" in readme

closes openstreetmap#629

* add related projects

see openstreetmap#629

* add "Bridge" alias for man_made=bridge, closes openstreetmap#632

also reverts lowered match score from openstreetmap/iD@67f7995

* Add Tree Stump Preset and update ATM icon (openstreetmap#630)

* Deploying to main from @ openstreetmap/id-tagging-schema@f8b134f 🚀

* improve naming consistency

* add preset for `footway=traffic_island` tag, closes openstreetmap#633

* npm run build

* add access field to: Park, Nat. Res., Sports Center/Club (closes openstreetmap#631)

* add documented options for the crossing:markings tag

from https://wiki.openstreetmap.org/w/index.php?title=Key:crossing:markings&oldid=2420133

* add translatable strings for crossing:markings values

* Revert "add cuisine tag as optional field to supermarket preset, closes openstreetmap#623"

This reverts commit 597d82d.

* v5.0.0

* + changelog entry

* bump dev version number

* restore match score for entrances

* add fields for diameter & height of wind turbines, closes openstreetmap#241

and also match features without `generator:method=wind_turbine` set, and suggest to add it

* add missing caseSensitive property to many combo fields

* drop field for (essentially) unused tag `water_volume`

maybe this was intended for the tag `water_tank:volume`, but that one is also used pretty rarely on hydrants

* Deploying to main from @ openstreetmap/id-tagging-schema@b1cb252 🚀

* add changelog for v5.0.1

* add some terms to the `man_made=bridge` preset (closes openstreetmap#634)

* Add Team Handball Court preset (openstreetmap#636)

* Deploying to main from @ openstreetmap/id-tagging-schema@f64a4bb 🚀

* Add Diving Platform preset (openstreetmap#637)

* Deploying to main from @ openstreetmap/id-tagging-schema@fdb1683 🚀

* add term "bike parking" to the Bicycle Parking preset

* Add Pipeline Substation preset (openstreetmap#640)

* Add Pipeline Substation preset
* Move pipeline=* presets to their own directory
* Added unsearchable preset for pipeline=*
* Add substation_pipeline field

* Deploying to main from @ openstreetmap/id-tagging-schema@9cbea3f 🚀

* fix broken `npm run translations` command

* upgrade schema-builder to v5.2

this updates transifex API access to v3, see also openstreetmap/iD#9375

* add `npm run dist translations` command

and don't purge translations on `npm run dist`

* npm run dist translations

* update `roof:colour` field to new `colour` field type, closes openstreetmap#647

* add `cables` field to `power=[minor_]line` presets, closes openstreetmap#645

* allow Viewpoints to be mapped as areas, closes openstreetmap#650

* Add gantry presets (openstreetmap#649)

* Add preset for `man_made=gantry`

* Add presets for `power=portal` and `crane:type=*`

Also added terms to Gantry preset and changed label from "Road Sign Structure" to "Gantry"

* Apply suggestions from code review

Co-authored-by: Martin Raifer <martin@raifer.tech>

* Add strucutre_power field

Also moved design to moreFields

* Add structure_power field to power=tower preset

Co-authored-by: Martin Raifer <martin@raifer.tech>

* Deploying to main from @ openstreetmap/id-tagging-schema@5e3f07f 🚀

* Bump prettier from 2.7.1 to 2.8.0 (openstreetmap#651)

Bumps [prettier](https://github.com/prettier/prettier) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.7.1...2.8.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update maxstay options (openstreetmap#652)

Wiki: The unit should not be abbreviated

* currency values are case sensitive, fixes openstreetmap#654

https://wiki.openstreetmap.org/w/index.php?title=Key:currency&oldid=2436777

* require schema-builder v5.2.2 (with fix for openstreetmap#655)

* expand * in terms, sort and add terms

see openstreetmap#648 (comment)

* Deploying to main from @ openstreetmap/id-tagging-schema@fffa81e 🚀

* fixed typo causing issue #9388

* Deploying to main from @ openstreetmap/id-tagging-schema@a1de17a 🚀

* v5.1.0

* add strings for documented values of `water_source` for Hydrants

and drop the default value "main" (just because it's the most common value does not mean we can assume it is valid for every hydrant)

* add missing values to crane type crane field (openstreetmap#662)

* Deploying to main from @ openstreetmap/id-tagging-schema@6cc4f87 🚀

* fix match score for "generic" office presets (closes openstreetmap#661)

fixes, e.g., the office preset disappearing for custom values

* add preset for office=graphic_design (openstreetmap#664)

* Deploying to main from @ openstreetmap/id-tagging-schema@2d67936 🚀

* add seamark tags to marine fuel & sewerage presets (openstreetmap#663)

* add direction field to some presets (openstreetmap#665)

also add some terms

* Deploying to main from @ openstreetmap/id-tagging-schema@de9f210 🚀

* add preset for Variable Message Sign (openstreetmap#666)

* Deploying to main from @ openstreetmap/id-tagging-schema@278e3e9 🚀

* restrict usage of Traffic Calming presets on lines/areas:

* only traffic_calming=island is allowed to be mapped as an area
* for traffic calming on lines: only allow it in combination with certain road presets.

See https://wiki.openstreetmap.org/w/index.php?title=Key:traffic_calming&oldid=2438763#How_to_map

* allow direction=forward/backward only on vertices

see https://wiki.openstreetmap.org/w/index.php?title=Key:direction&oldid=2395441#Forward_and_backward

* Deploying to main from @ openstreetmap/id-tagging-schema@ece16f8 🚀

* Add oneway field to cycleway crossing presets (closes openstreetmap#668, closes openstreetmap#667)

* added shoes field and additional terms in shoe store preset (openstreetmap#669)

* add missing markdown link

* add missing key to `structure_power` field, fixes openstreetmap#676

* Deploying to main from @ openstreetmap/id-tagging-schema@29a0fc5 🚀

* add changelog entry for v5.1.1 backport/patch release

* bump dev version

* bump schema-builder to v5.3

* reduce duplicate translatable strings, closes openstreetmap#686

* Remove "line" geometry from lift gate (openstreetmap#679)

Lift gates should only be nodes ([wiki](see https://wiki.openstreetmap.org/w/index.php?title=Tag:barrier%3Dlift_gate&oldid=2406647)). This line probably is the cause of a validation issue, where ID suggests converting an orphaned lift_gate node into a way instead of suggesting it to be added as a node to a way.

* Only show direction_vertex_dual field on vertices (openstreetmap#684)

* Replace field "site_type" with "archaeological_site", closes openstreetmap#677

also closes openstreetmap#680, closes openstreetmap#681, closes openstreetmap#682

* Deploying to main from @ openstreetmap/id-tagging-schema@f2eef8e 🚀

* cycleway field: use `no` value instead of `none`, fix spelling of labels

* Add "GNIS Feature ID" field to waterway relation preset, closes openstreetmap#687

* Make name field for EV chargers optional, closes openstreetmap#688

and instead, promote the usage of the `brand` field

also add `network` field (used on 15% of chargers) and remove `branch` field (which is currently not used in practice)

* Add "waste disposal" as term to amenity=waste_disposal, closes openstreetmap#690

* Add terms to tanning salon, closes openstreetmap#691

* Deploying to main from @ openstreetmap/id-tagging-schema@64f8079 🚀

* Deploying to main from @ openstreetmap/id-tagging-schema@e3d8794 🚀

* Add translatable strings to craft type field (openstreetmap#692)

Make common craft=* values (approx. > 1000 occurrences) translatable.

* Deploying to main from @ openstreetmap/id-tagging-schema@13f1d02 🚀

* Add `layer=1` to addTags for Solar Panel Canopy (openstreetmap#689)

* Fix typo: value for "Insulator" is `craft=insulation` (openstreetmap#695)

* Deploying to main from @ openstreetmap/id-tagging-schema@d52ac4b 🚀

* Add Mobile Home Park preset (openstreetmap#696)

* Deploying to main from @ openstreetmap/id-tagging-schema@57e0444 🚀

* Add `drive_through` as (optional) field to Cafe preset (openstreetmap#697)

* Add `operator:type` field to park related presets (openstreetmap#698)

* Add terms to Splashpad preset (openstreetmap#705)

* In Houston they're called Water Spraygorunds
* Also called Spraygrounds

* Deploying to main from @ openstreetmap/id-tagging-schema@ab42b76 🚀

* add `material` as field to the (Utility) Marker preset, closes openstreetmap#704

see openstreetmap#704:
> A significant distinguisher for many UK gas utility markers is colour (red vs yellow for national versus local) and material (concrete vs plastic).  I have had to add these fields to markers on probably more than on thousand occasions over the last few months while trying to edit the UK in iD, so I thought it was about time I pushed this change so that I have to type less ....

* Add translatable strings to traffic_calming type field (openstreetmap#699)

the value `choked_island` was omitted for now, see https://github.com/openstreetmap/id-tagging-schema/pull/699/files#r1055517229

* Deploying to main from @ openstreetmap/id-tagging-schema@90358b0 🚀

* Add translatable strings to artwork_type field (openstreetmap#700)

* Deploying to main from @ openstreetmap/id-tagging-schema@e6a5274 🚀

* Add translatable strings to board_type field (openstreetmap#701)

* Deploying to main from @ openstreetmap/id-tagging-schema@199ac91 🚀

* add `notice` as a value of the `board_type` field

* upgrade board_type=map to information=map

see https://wiki.openstreetmap.org/w/index.php?title=Key:board_type&oldid=2431578

* Add translatable strings to bollard type field (openstreetmap#702)

* Deploying to main from @ openstreetmap/id-tagging-schema@79e5752 🚀

* allow charging stations to be mapped as vertices, fixes openstreetmap#703

* fix typo

* Deploying to main from @ openstreetmap/id-tagging-schema@0028715 🚀

* add covered as optional field to storage tank

fixes openstreetmap#344 (comment)

* [revert] remove covered field from generic storage tank preset

This field is supposed to only be present on Water tanks, for which a dedicated preset exist (which I had overlooked at first).

This partially reverts commit 769c4df.

* resource label is "presets" not "preset" (openstreetmap#708)

* Add translatable strings to basin type field (openstreetmap#710)

* Deploying to main from @ openstreetmap/id-tagging-schema@a5c988c 🚀

* Add translatable strings to social_facility type field (openstreetmap#712)

for common values with usage > 1,000

* Deploying to main from @ openstreetmap/id-tagging-schema@a972bf2 🚀

* Add translatable strings to utility type field (openstreetmap#713)

* Deploying to main from @ openstreetmap/id-tagging-schema@9934b3e 🚀

* Create preset for residential garden (openstreetmap#714)

There's a preset for community garden, but none for residential garden, which was very confusing for me. Adding one with some synonyms I found at Wikipedia.

Co-authored-by: Martin Raifer <martin@raifer.tech>:

only allow on areas: as this is extremely uncommon: currently only 100 out of 100k features with this tag are nodes: https://taginfo.openstreetmap.org/tags/garden%3Atype=residential

* Deploying to main from @ openstreetmap/id-tagging-schema@ea2cf21 🚀

* add common independent physicians (openstreetmap#718)

* revert accidental change of preset name in previous commit

* Add trolleybus to Routes category (openstreetmap#724)

* don't add "surface=grass" to Driving Ranges, fixes openstreetmap#727

instead: offer `surface` field

* update taginfo project description, closes openstreetmap#726

* fix typo in (base) tag key

https://wiki.openstreetmap.org/wiki/Tag%3Ahistoric%3Darchaeological_site

* v5.2.0 release

* bump dev version

* add most popular alternative medicine practitioners (openstreetmap#731)

* Deploying to main from @ openstreetmap/id-tagging-schema@36deeaa 🚀

* add `crossing:markings=yes` by default to Marked Crossings

* suggest to add `crossing:markings=yes` to objects with `crossung=marked`

* consolidate naming of marked crossings

* reduce duplication of names
* consistent use of "Crossing" vs. "Crosswalk" across similar presets
* consistent use of terms
* sort terms alphabetically

* suggest `crossing:markings=no` for Unmarked Crossings

* Revert "restrict usage of Traffic Calming presets on lines/areas:"

This reverts commit 033e5f4.

closes openstreetmap#733

* Deploying to main from @ openstreetmap/id-tagging-schema@3ff61df 🚀

* add release notes for v5.1.1 hotfix release

* Add translatable strings to substance field (openstreetmap#737)

Add translatable strings for values with usage > 1000. Left out are duplicate terms like wastewater, water waste, heat, steam.

Co-authored-by: Martin Raifer <martin@raifer.tech>

* Deploying to main from @ openstreetmap/id-tagging-schema@639c708 🚀

* Add translatable strings to material field (openstreetmap#735)

* Deploying to main from @ openstreetmap/id-tagging-schema@b8ecd5e 🚀

* Add translatable strings to memorial field (openstreetmap#734)

* Deploying to main from @ openstreetmap/id-tagging-schema@63dbb6a 🚀

* Add translatable strings to barrier type field (openstreetmap#709)

* Deploying to main from @ openstreetmap/id-tagging-schema@2714e45 🚀

* Add translatable strings to archaeological_site type field (openstreetmap#707)

* Deploying to main from @ openstreetmap/id-tagging-schema@584720a 🚀

* fix typo (glas -> glass)

* Deploying to main from @ openstreetmap/id-tagging-schema@4c1d405 🚀

* add "cannabis dispensary" as search term to "shop=cannabis", see openstreetmap#739

* add missing markdown link

* Add translatable strings to bath:type field (openstreetmap#742)

* Deploying to main from @ openstreetmap/id-tagging-schema@ad23396 🚀

* fields/parking: centerline parking and orientation

…for case :left, :right, :both. The directionalCombo will show left/right in separate fields when both is present and merge/split the side as needed.

Allow tagging `parking:$side` and `parking:$side:orientation` on centerlines (highways).

* Update source_strings.yaml

* update field to final v6 schema

* upgrade to schema-builder v6

* update field to final v6 schema

* Deploying to main from @ openstreetmap/id-tagging-schema@b3beba8 🚀

* Deploying to main from @ openstreetmap/id-tagging-schema@9391e2f 🚀

* parking field: Add values on_kerb, half_on_kerb, shoulder (openstreetmap#672)

Following the successful proposal https://wiki.openstreetmap.org/wiki/Proposed_features/street_parking_revision#Summary:_What_is_proposed,_changed_and_deprecated? those keys are suggested for separately mapped parking areas. Since this field has `autoSuggestions` and `customValues` off they are listed all, even if not very common.

* Deploying to main from @ openstreetmap/id-tagging-schema@b7127e5 🚀

* Create picnic_table.json

Can be used for several tourism related features. Also see openstreetmap#736

* Create tents.json

* Update tents.json

* Update tents.json

* Create caravans.json

Key is used with tourism related features. Also see openstreetmap#26

* Create static_caravans.json

Key is used with tourism related features. Also see openstreetmap#26

* Create nudism.json

Key used with tourism or leisure related features. Also see openstreetmap#26

* Make natural wood points unsearchable (openstreetmap#755)

* Add field for `lift_gate:type` (openstreetmap#711)

* Deploying to main from @ openstreetmap/id-tagging-schema@720d973 🚀

* Deploying to main from @ openstreetmap/id-tagging-schema@06e2375 🚀

* Add translatable strings to sport field (openstreetmap#747)

Add translatable strings to sport field for values with usage > 5000

* leaving out `multi`, as the [intended use](https://wiki.openstreetmap.org/wiki/Tag%3Asport%3Dmulti) is rather complex and not really fitting to the simple field type used here. Leaving it untranslated is IMHO better, as the rendering as a raw tag conveys the concept that this is something more specific going on.

Co-authored-by: Martin Raifer <martin@raifer.tech>

* Deploying to main from @ openstreetmap/id-tagging-schema@c1c0a64 🚀

* Add translatable strings to attraction field (openstreetmap#756)

* Add translatable strings to attraction field for values with usage > 500
* add entries for existing presets
* add value for alpine_coaster

Co-authored-by: Martin Raifer <martin@raifer.tech>

* Deploying to main from @ openstreetmap/id-tagging-schema@c4af856 🚀

* rename to "Ferris Wheel"

* use Röntgen icons for crane types

* specify icons for crossing markings

* Add translatable strings to waste field (openstreetmap#758)

* Deploying to main from @ openstreetmap/id-tagging-schema@b49ad3b 🚀

* Add translatable strings to office field (openstreetmap#761)

for values with usage > 1000 and existing sub-presets

* Add translatable strings to resource field (openstreetmap#760)

* allow to specify therapist offices more precisely

* Deploying to main from @ openstreetmap/id-tagging-schema@530bcd2 🚀

* Deploying to main from @ openstreetmap/id-tagging-schema@4796398 🚀

* Deploying to main from @ openstreetmap/id-tagging-schema@fe6bd58 🚀

* add term

* change field type for date fields

* v6.0.0 release candidate 1

Signed-off-by: Martin Raifer <martin@raifer.tech>

* Add translatable strings to clothes field (openstreetmap#763)

For values with usage > 150

* Deploying to main from @ openstreetmap/id-tagging-schema@292133f 🚀

* add a few more values for the `clothes` field

* Add translatable strings to building field (openstreetmap#764)

For values already supported by iD as preset

* Deploying to main from @ openstreetmap/id-tagging-schema@9490ffe 🚀

* add more values for building field

* also show "military bunker" fields for building=bunker objects

* Add ref field to Sports Pitch preset (openstreetmap#766)

* Create engineer.json (openstreetmap#767)

Closes openstreetmap#639

* Deploying to main from @ openstreetmap/id-tagging-schema@ff7bc92 🚀

* "ore" is not misspelled

* sort

* use Röntgen icon for more presets and field-values

presets:
* Diving Platform
* City Limit Sign
* Turning Loop

fields values:
* `design` field of Power Poles and Power Towers/Portals
* `leaf_type`
* `traffic_calming`
* `volcano:type` and `volcano:status`
* `tower:construction`

* mark `design` field as "manual"

as it is not used by presets directly, but only other fields. solves corresponding validation warnings

* Add preset for shop=nuts (openstreetmap#774)

* Deploying to main from @ openstreetmap/id-tagging-schema@3e30f1d 🚀

* Add more fields to highway=rest_area (openstreetmap#773)

* Deploying to main from @ openstreetmap/id-tagging-schema@418b90c 🚀

* fix typo

* Deploying to main from @ openstreetmap/id-tagging-schema@a677d7f 🚀

* Fix typo (openstreetmap#788)

Re: openstreetmap@a677d7f#commitcomment-100379518

* Deploying to main from @ openstreetmap/id-tagging-schema@38da1af 🚀

* Move `access_simple` to main fields for AEDs (openstreetmap#786)

* Allow landuse=industrial to be mapped as a point (openstreetmap#776)

* fix presets with dupliate ids

* merge duplicate barrier=ditch presets
* give unique ids to alternate "point geometry" presets for natural=wood and landuse=industrial

* allow Cemeteries to be mapped as points

* Create staircase.json (openstreetmap#775)

* Deploying to main from @ openstreetmap/id-tagging-schema@405e875 🚀

* use Röntgen icons for (water) slides

* Add terms (polo/rodeo) for sport=equestrian preset (openstreetmap#780)

Also renamed preset to 'Horseback Riding / Rodeo Arena'

* Deploying to main from @ openstreetmap/id-tagging-schema@33baf3a 🚀

* add regional & universal field for ref:linz:place_id (openstreetmap#781)

* these terms are now misspelled

* add railway route to categories (openstreetmap#782)

* add preset for turntable (openstreetmap#783)

* Deploying to main from @ openstreetmap/id-tagging-schema@c9b4fb2 🚀

* allow advertising presets as a line & add `message` field (openstreetmap#785)

* Deploying to main from @ openstreetmap/id-tagging-schema@0b60a7f 🚀

* add preset for "other" advertising devices

* Add Senior Assisted Living Facility preset (openstreetmap#787)

* Deploying to main from @ openstreetmap/id-tagging-schema@119f288 🚀

* Update deprecated.json (openstreetmap#777)

* hide "street_cabinet" field; add presets for special cabinets

after openstreetmap#777, unfortunately, there were two fields to define the sub-type of street cabinets: utility for the "common" ones (e.g. telecom, power, etc.) and the "legacy" street_cabinet field for the rest. This PR adds dedicated presets for the legacy cases where the "street_cabinet" tag is still to be used to solve this UI issue.

* Deploying to main from @ openstreetmap/id-tagging-schema@ec2a8dd 🚀

* add presets for Psychiatrist and Child Psychiatrist

closes openstreetmap#778

* add an additional search term

* Deploying to main from @ openstreetmap/id-tagging-schema@63483a7 🚀

* Deploying to main from @ openstreetmap/id-tagging-schema@1f916b0 🚀

* fix typo (openstreetmap#791)

* Deploying to main from @ openstreetmap/id-tagging-schema@45494b8 🚀

* make clear that `shop=pet_grooming` is for pet groomer (openstreetmap#790)

* Deploying to main from @ openstreetmap/id-tagging-schema@05d699c 🚀

* create preset for Depots (`industrial=depot`) (openstreetmap#784)

* Deploying to main from @ openstreetmap/id-tagging-schema@6b1b44b 🚀

* Add preset for amenity=stripclub (openstreetmap#648)

* Deploying to main from @ openstreetmap/id-tagging-schema@c77bc90 🚀

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Martin Raifer <martin@raifer.tech>
Co-authored-by: tyrasd <martin@raifer.tech>
Co-authored-by: archpdx <archpdx@pm.me>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kamil Monicz <kamil@monicz.pl>
Co-authored-by: alanb43 <ab43work@gmail.com>
Co-authored-by: Kyℓe Hensel <k-yle@users.noreply.github.com>
Co-authored-by: Kyle Hensel <k.y.l.e@outlook.co.nz>
Co-authored-by: kjonosm <51236777+kjonosm@users.noreply.github.com>
Co-authored-by: Jeremy Abapo <55824592+jdabapo@users.noreply.github.com>
Co-authored-by: Michael <30999326+Discostu36@users.noreply.github.com>
Co-authored-by: Evan Carroll <me@evancarroll.com>
Co-authored-by: kesterlester <cgl20@cam.ac.uk>
Co-authored-by: Mateusz Konieczny <matkoniecz@gmail.com>
Co-authored-by: Mikael Dúi Bolinder <github@bolinder.uk>
Co-authored-by: Tobias Zwick <newton@westnordost.de>
Co-authored-by: Tobias <tobias@fixmycity.de>
Co-authored-by: Flo Edelmann <git@flo-edelmann.de>
Co-authored-by: Lonerat <118647831+Lonerat@users.noreply.github.com>
  • Loading branch information
19 people authored Feb 17, 2023
1 parent e39511d commit 28174e9
Show file tree
Hide file tree
Showing 1,198 changed files with 76,815 additions and 22,322 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[{data/deprecated.json,data/discarded.json,package.json,.package-lock.json}]
indent_size = 2
103 changes: 103 additions & 0 deletions .github/ISSUE_TEMPLATE/0-enhancement.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Add support of a missing OSM tag
description: This requests an OSM tag to be added to the tagging schema in the form of a new preset, field or value.
# title: ''
labels: enhancement
# assignees: ''
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this request to add a new tag to the tagging schema.
- type: input
attributes:
label: OSM Tag(s)
description: Please list the tag or tags which you would like to see included.
placeholder: tourism=camp_site
validations:
required: true
- type: dropdown
attributes:
label: How would you like this tag to see supported?
description: 'A tag can be supported in different ways: A preset, a field or a option in a dropdown field.'
options:
- As a Preset
- As a Field
- As an Option of a Field
- Other (please indicate below)
validations:
required: true
- type: input
attributes:
label: Label
description: The title/name/label of the preset, field or field option (preferably in American English).
placeholder: Campground
validations:
required: true
- type: input
attributes:
label: Aliases
description: 'Only for Presets: Synonyms of the name of the preset.'
placeholder: Campsite
validations:
required: false
- type: input
attributes:
label: Terms
description: 'Only for Presets and Fields: Synonyms of the name of the preset.'
placeholder: Camping, Tenting, Camp Site, Caravans, …
validations:
required: false
- type: input
attributes:
label: Link to OSM Wiki page
description: Link to the documentation of this tag on the OSM wiki.
placeholder: https://wiki.openstreetmap.org/wiki/Tag:tourism=camp_site
validations:
required: true
- type: dropdown
attributes:
label: Status of the Tag
description: The status of the tag(s) according to the OSM wiki.
options:
- Approved
- De Facto
- In Use
- Unspecified / Unknown
- Voting
- Abandoned
- Deprecated
- Discardable
- Draft
- Imported
- Obsolete
- Proposed
- Rejected
- Other (please indicate below)
validations:
required: true
- type: input
attributes:
label: Usage of the tag
description: How many OSM object exist currently which use the tag?
placeholder: '126,000'
validations:
required: true
- type: input
attributes:
label: Replaces other Tag?
description: Does this tag replace a different one which is already supported by the tagging schema?
validations:
required: false
- type: input
attributes:
label: Regional Tag?
description: Should this tag only be available in a specific region or country?
placeholder: global
validations:
required: false
- type: textarea
attributes:
label: Further Information
description: Please add further details about this tag which should be considered. For example, include a link to taginfo, taghistory or to an overpass query, add a list tools which support this tag, etc.
validations:
required: false
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/1-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/2-deprecating.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Add a New Deprecation Rule
description: This requests an OSM tag to be added to list of deprecated tags.
# title: ''
labels: deprecating
# assignees: ''
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this request to enhance the tagging schema.
- type: input
attributes:
label: Deprecated OSM Tag(s)
description: Please list the tag(s) which are to be included in the list of deprecation rules.
placeholder: highway=ford
validations:
required: true
- type: input
attributes:
label: Replacement OSM Tag(s)
description: Please list by which tag(s) the deprecated tag(s) should be replaced with.
placeholder: ford=yes
validations:
required: true
- type: input
attributes:
label: Link to OSM Wiki page
description: Link to the OSM wiki where the deprecation of the tag(s) is documented.
placeholder: https://wiki.openstreetmap.org/wiki/Deprecated_features
validations:
required: true
- type: textarea
attributes:
label: Further Information
description: Please add further details about this tag. For example, include a link to taginfo, taghistory or to an overpass query.
validations:
required: false
17 changes: 0 additions & 17 deletions .github/workflows/codespell.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy

permissions:
contents: write

on:
push:
branches:
- main

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'Deploy') && github.repository == 'openstreetmap/id-tagging-schema'"
steps:
- name: Checkout
uses: actions/checkout@v3 # If you're using actions/checkout@v3 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install Node.js dependencies
run: npm install

- name: Build
run: npm run build

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.0
with:
BRANCH: main # The branch the action should deploy to.
FOLDER: . # The folder the action should deploy.
CLEAN: false # Automatically remove deleted files from the deploy branch
40 changes: 40 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: code style checks
on: [push, pull_request]
jobs:
lint:
name: Check file endings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
notJSONs=`find data/ -type f -not -iname "*.json"`
for f in $notJSONs
do
echo "::error file=$f::File $f is not a .json file."
done
if [ ! -z "$notJSONs" ]; then exit 1; fi
prettier:
name: Check for code formatting mistakes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- run: npm install
- run: 'for f in `find data/ -type f -not -iname "*.json"`; do echo "::error File $f is not a .json file."; done'
- run: npm run lint

codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
skip: ./.git,./dist/translations
ignore_words_list: "auxilary,casette,cemetary,chancel,extentions,faiway,generat,goverment,guerilla,kindergarden,ore,pavillion,sculpter,storys,linz,te"
only_warn: 1

6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: ['18']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.DS_Store
.esm-cache
.vscode/
.idea/
/node_modules/
/.tx/tmp/
Expand Down
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package.json
package-lock.json
dist/
*.yaml
data/discarded.json
data/deprecated.json
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parser": "json-stringify",
"proseWrap": "never",
"bracketSpacing": true,
"endOfLine": "lf"
}
40 changes: 40 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"json.schemas": [
{
"fileMatch": [
"data/fields/**/*.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/field.json"
},
{
"fileMatch": [
"data/presets/**/*.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/preset.json"
},
{
"fileMatch": [
"data/preset_categories/**/*.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/preset_category.json"
},
{
"fileMatch": [
"data/deprecated.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/deprecated.json"
},
{
"fileMatch": [
"data/discarded.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/discarded.json"
},
{
"fileMatch": [
"data/preset_defaults.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/preset_defaults.json"
}
]
}
Loading

0 comments on commit 28174e9

Please sign in to comment.