Designations
In this project, we want to visualise data from OSM in a user friendly way. OpenStreetMap data is tagged with key-value pairs, but there are often many different ways to tag the same thing, and the tag data itself is not very pleasing to the eye.
An example would be the tag *clothes=women*, which is not very appealing to read and is not localised. Therefore, we want to show this as "Kvinneklær" instead, which is more user friendly. We call this a *designation*. Since there are often many different ways to tag the same thing in OSM, we need to map multiple different OSM tags to the same designation. Therefore we have multiple definitions that satisfy a single designation. A definition can consist of multiple tags, such as *shop=bicycle* **AND** *repair=yes*, which together indicate that this is a place that repairs bicycles.
This is a list of designations that are used in the map. We don't mean to cover every possible tag in OpenStreetMap since there are [a lot of them](https://wiki.openstreetmap.org/wiki/Tags), but we try to cover some useful basics.
Some of our tags correspond to multiple different tags in OSM, since there are often many different ways to tag things in OSM.
Designations grouped by category. Within each category related designations are further organised by group (e.g. "Selger", "Reparerer") or by their primary OSM key.
Bruktbutikk
Butikktype
- Bruktbutikk (shop=second_hand) or (shop=charity)
- Antikvariat (shop=antiques)
- Bruktklær/vintage (shop=clothes and second_hand=only) or (shop=clothes and second_hand=yes)
Selger
- Kvinneklær (clothes=women)
- Herreklær (clothes=men)
- Barneklær (clothes=children)
- Leketøy (sells=toys)
- Bøker (sells=books)
Utlån
Type utleiested
- Sykkelutleie (amenity=bicycle_rental)
- Utleiested (shop=rental)
- Bokskap (amenity=public_bookcase)
Leier/låner ut
- Sykler (rental=bicycle)
- E-Sykler (rental=ebike)
- Lastesykler (rental=cargo_bike)
- Ski (rental=ski)
- Skøyter (rental=ice_skates)
- Telt (rental=tent)
- Kostymer (rental=costume)
- Klær (rental=clothes)
- Sko (rental=shoes)
Reparasjon
Type reparasjonssted
- Sykkelbutikk med verksted (shop=bicycle and repair=yes)
- Reparasjonssted (shop=repair)
- Skomaker (craft=shoemaker)
- Skredder (craft=tailor)
- Elektronikkreparasjon (shop=electronics_repair) or (craft=electronics_repair) or (computer:repair=yes) or (camera:repair=yes)
- Gullsmed (craft=goldsmith) or (craft=jeweller)
- Gitarmaker (craft=luthier)
- Urmaker (craft=watchmaker)
Reparerer
- Sykler (shop=bicycle and repair=yes) or (service:bicycle:repair=yes)
- Klær (clothes:repair=yes)
- Mobiltelefoner (mobile_phone:repair=yes)
- Sko (shoes:repair=yes)
Adding new designations
To add a new designation, update the designations array in
src/utils/designation/designation-def.ts, then run pnpm fetch-nodes
to refresh the GeoJSON data and pnpm generate to update the generated
docs table.