Changes between Version 5 and Version 6 of Styles


Ignore:
Timestamp:
2009-07-09T19:15:55+02:00 (16 years ago)
Author:
stoecker
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Styles

    v5 v6  
    1111[[Styles(en|styles|short description|author|description|version|More details)]]
    1212
    13 See outdated site [http://wiki.openstreetmap.org/wiki/JOSM/MapPaint] for more information.
     13The default JOSM display mode uses XML based style files to render for the map with colouring, line thickness, icons after tags. You can also customize your map as you like.
     14
     15== Rendering ==
     16
     17Mappaint renders the map data so it looks much more like a map (colors, icons, annotations, ...) - compared to the JOSM wireframe mode.
     18
     19=== Nodes ===
     20
     21Most nodes that corresponds to tags in the [http://wiki.openstreetmap.org/wiki/Map_Features Map Features] page will show an appropriate icon, e.g. a "P" on blue ground for amenity=parking.
     22
     23There are some special icons for missing/incomplete things:
     24
     25[[Image:Mappaint no icon.png|left|no icon available]] missing icon
     26We don't have the right icon for every node tag in map features yet, e.g. icons for most natural=xy tags are still missing. If you encounter such a "missing icon", feel free to create a nice 16*16 pixel icon that matches the tag and send it to the talk list.
     27
     28[[Image:Mappaint_deprecated.png|left|deprecated]] warning icon
     29The corresponding tag was once used but is no longer recommended to be used - or - it is not suitable for a node, e.g. highway=motorway just doesn't make sense on a node. Probably not all deprecated tags will show this icon.
     30
     31=== Ways ===
     32
     33Most ways that correspond to tags in the map features page will get special color, thickness and line style (e.g. dashed lines for railways).
     34
     35=== Areas ===
     36
     37Areas are ways that form a sort of ring. Most areas that corresponds to tags in the map features page will be filled with a special color (the filling will be transparent to some degree).
     38
     39=== Direction arrows ===
     40Direction arrows in this mode are only drawn for selected items, this gives you a a significant speedup while moving the map.
     41
     42== Preferences ==
     43In the preferences editor you handle new style files as well as paths to the icons. Note that styles can be either additional or individual. If a style itself has a new internal name, then
     44switching the "standard" default to this name creates a new display. Styles with equal names are additional. If you want to change the name of a style, you need to add the new name
     45in front of the path using a "=" as separation. The same can be used for icon paths.
     46
     47You also can use the following hidden preferences:
     48=== mappaint.fillalpha ===
     49 * alpha "opacity level", that is used to fill areas. An integer value between 0 (transparent) and 255 (solid) with the default of 50.
     50
     51=== mappaint.fillareas ===
     52 * true (default) - areas will be filled with their corresponding colour
     53 * false - areas will be surrounded by dashed lines
     54
     55=== mappaint.useRealWidth ===
     56 * true (default) - ways will change width corresponding to the real width in meters set in the elemstyle.xml file
     57 * false - ways will have the same width on every zoom level (no longer the default since mappaint 6030)
     58
     59=== Create your own style ===
     60You don't like the standard style? Change it to your own liking:
     61
     62 * Either use one of the above styles or the [http://josm.openstreetmap.de/svn/trunk/styles/standard/elemstyles.xml standard] one as base for own styles
     63 * Now you can edit the file (a small help is at the top comment of the standard file)
     64 * When you made new icons, add a path to these in mappaint.icon.sources
     65 * ... restart JOSM and your new style will be used!!
     66
     67=== Style Collection ===
     68If you have an interesting style that might be useful for others, please just add it here. Please fill out the description fields (so the list above is more informative).
     69
     70* The OSM2Go [http://repository.maemo.org/extras/pool/chinook/free/source/o/osm2go/ source archives] contain as of version 0.6-4 a potlatch like JOSM style and of version 0.6-5 an additional Mapnik like JOSM style on the data directory. These were written for OSM2Go and have not been tested with JOSM.