{{{ #!comment This contains the list of external style addresses. It will be parsed about each 10 minutes and is used to update the styles list. http://www.freietonne.de/ft_icons/josm/makeRules.php http://josm.openstreetmap.de/browser/trunk/styles/standard/elemstyles_gb.xml?format=txt http://www.dstoecker.eu/josm/maxspeed.xml }}} [[TranslatedPages]] The 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. New style URLs can be entered when editing this page (see top of page source) and are automatically available in JOSM mappaint preferences. [[Styles(en|styles|short description|author|description|version|More details)]] Note: In the settings the internal style can also be reached using "resource://styles/standard/elemstyles.xml". == Rendering == Mappaint renders the map data so it looks much more like a map (colors, icons, annotations, ...) - compared to the JOSM wireframe mode. === Nodes === Most 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. There are some special icons for missing/incomplete things: [[Image(Mappaint_no_icon.png)]] missing icon We 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. [[Image(Mappaint_deprecated.png)]] warning icon The 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. === Ways === Most ways that correspond to tags in the map features page will get special color, thickness and line style (e.g. dashed lines for railways). === Areas === Areas 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). === Direction arrows === Direction arrows in this mode are only drawn for selected items, this gives you a a significant speedup while moving the map. === Create your own style === You don't like the standard style? Change it to your own liking: * 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 * Now you can edit the file (the [http://josm.openstreetmap.de/svn/trunk/styles/standard/elemstyles.xml standard style] contains a format description) * When you made new icons, either add a path to these in mappaint.icon.sources or use absolute URL to a webspace containing the icons * Enter your style in the JOSM mappaint preferences. * ... restart JOSM and your new style will be used! * When the style should be available for other users as well, then add it to the list in the source text of this page. === Style Collection === If you have an interesting style that might be useful for others, but are not compatible with the automatic access mechanism, just add a note here. Preferred is using the automatic usage as described above (list in the source at top of this wiki page). * 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. * There is a style corresponding to the German hiking map for [http://topo.geofabrik.de/osmc_style.zip download] ([http://wiki.openstreetmap.org/wiki/DE:OSMC_Reitkarte#JOSM_Stil Installation hints]). == Preferences == In 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 switching 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 in front of the path using a "=" as separation. The same can be used for icon paths. You also can use the following hidden preferences: * mappaint.fillalpha * alpha "opacity level", that is used to fill areas. An integer value between 0 (transparent) and 255 (solid) with the default of 50. * mappaint.fillareas (show areas) * 10000000 (default) - areas will be filled with their corresponding colour * 0 - areas will be surrounded by lines only * any other number - areas will be shown in any zoom level below the given number in meters) * mappaint.showicons * select whether icons are shown - same values as mappaint.fillareas * mappaint.shownames * select whether names are shown - same values as mappaint.fillareas * mappaint.strokes * select whether strokes or full lines are used - same values as mappaint.fillareas * mappaint.useRealWidth * true - ways will change width corresponding to the real width in meters set in the elemstyle.xml file * false (default) - ways will have the same width on every zoom level * mappaint.zoomLevelDisplay * true - elements visibility depends on zoom level * false (default) - all elements are displayed * mappaint.fontsize * 8 - size of mappaint texts