wiki:DevelopersGuide/DefaultPresets

Version 3 (modified by Klumbumbus, 10 years ago) ( diff )

+ some notes about new icons. I hope this is all correct. source is #10246 and #10250 and #8889

This page is work in progress. Starting point was https://josm.openstreetmap.de/ticket/10246#comment:14

Languages:

Defaultpresets Guidelines

Some rough guidelines for the defaultpresets

New Tags and Values

Basically we have to make sure that the preset menu isn't too cluttered, because it would get hard to find the useful every-day stuff if we had too many exotic entries. New tags and values should have:

  • a proper documentation in the OSM-wiki
  • decent usage numbers (absolute and by number of mappers)
  • Controversial cases (like contact:phone=* vs. phone=*) need to be decided case by case
  • If a features is only mapped by a handful of specialists, it is better suited for an external preset. Usually this includes tagging schemes restriced to one specific country, hobby, sport or profession.

Note:

  • When investigating taginfo, also check where unusual values are used.
    • You can use overpass API to load these object in JOSM and check in the history who created them.

New Icons

  • The preferred file format is svg (for lossless scaling). If this is not possible then png.
  • Check if the svg file correctly works with JOSM. There are some svg libraries which do not work with JOSM (the images get deformed). If you have such a file try the following workaround: create a new svg document with Inkscape, copy the svg data to this new file, resize the page to the data and save.
  • The icon should identifiable at a size of 16 pixels. This is the size the icons are displayed in the Map View.
  • Ideally the license is PD or CC0

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.