Changes between Initial Version and Version 1 of Nl:Styles


Ignore:
Timestamp:
2012-05-15T19:23:04+02:00 (14 years ago)
Author:
DiGro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nl:Styles

    v1 v1  
     1{{{
     2#!comment
     3This contains the list of external style addresses.
     4It will be parsed about each 10 minutes and is used to update the styles list.
     5
     6http://maps.tilusnet.com/josmdata/elemstyles_nolabels.xml
     7http://www.freietonne.de/ft_icons/josm/FreieTonne_rules_presets_zip.php
     8http://github.com/avar/osmis-josm-style/raw/master/elemstyles_is.xml
     9http://dev.openseamap.org/josm/seamark_styles.xml
     10http://dev.openseamap.org/josm/sport_styles.mapcss
     11http://osmalba.org/josm_styles/naptan_bus_stops.zip
     12http://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
     13https://raw.github.com/molysgaard/OAM-JOSM/master/oam-style.mapcss
     14https://github.com/simon04/coloured-addresses.mapcss/raw/master/dist/coloured-addresses.mapcss
     15}}}
     16{{{
     17#!comment
     18Note for translators:
     19 - The above list and this note can be stripped from translation.
     20 - The reference below to change the source of this page should be modified, so it tells the reader to modify the English page.
     21}}}
     22[[TranslatedPages]]
     23
     24= JOSM Kaartstijlen =
     25[[Image(source:trunk/images/dialogs/mapstyle.png)]]
     26
     27De weergave van de kaart van JOSM kan worden aangepast met verschillende stijlen.
     28
     29== Stijlen kiezen ==
     30
     31JOSM biedt een selectie aan stijlen, die kunnen worden in- of uitgeschakeld in het dialoogvenster [[wiki:/NL:Help/Dialog/MapPaint|kaartstijlen]]. Er zijn basisstijlen (bijv. [http://josm.openstreetmap.de/svn/trunk/styles/standard/elemstyles.xml JOSM standard] of [http://josm.openstreetmap.de/svn/trunk/styles/standard/potlatch2.mapcss Potlatch 2]) die elke een breed scala aan mogelijkheden bevatten. Zij kunnen worden gecombineerd met stijlen uit invoegtoepassingen die meer speciale onderwerpen behandelen:
     32
     33[[Styles(nl|Stijl|Korte omschrijving|Auteur|Omschrijving|Versie|Meer details)]]
     34
     35Open de voorkeuren voor de kaartstijl door te klikken op de knop [[Image(source:trunk/images/dialogs/mappaintpreference.png)]][[wiki:/Nl:Help/Dialog/MapPaint#MapStyleSettings|Instellingen]] in het dialoogvneter Kaartstijlen om meer stijlen aan uw lijst toe te voegen.
     36
     37''(Als alternatief kunt u direct navigeren naar de [wiki:/Nl:Help/Preferences/Map#MapPaintStyles Voorkeuren kaarttekenstijlen]: Bewerken -> Voorkeuren -> [[Image(source:trunk/images/preferences/map.png,15)]] Kaartinstellingen (3e knop vanaf boven) -> Kaarttekenstijlen (2e tab))''
     38
     39''Voornbeeld'':
     40 Laten we aannemen dat u bent geïnteresseerd in zeekaarten, dan zult u waarschijnlijk gebruik willen maken van de stijl "SeaMap FreieTonne": Accentueer dit item eenvoudigweg in de lijst "Beschikbare stijlen" door erop te klikken en druk dan op de knop [[Image(source:trunk/images/preferences/activate-right.png)]] in het midden. Nu zou het een van uw "Actieve stijlen" moeten zijn. Wel, laten we doorgaan met gevorderd gebruik van stijlen! U maakte uw eigen stijl (zie hieronder op deze pagina)? Klik eenvoudigweg op het teken [[Image(source:trunk/images/dialogs/add.png)]] aan de rechterkant en voer ofwel het pad- en bestandsnaam of URL voor uw bestand met de stijl in.
     41
     42== Maak uw eigen stijl ==
     43
     44You don't like the standard style? Change it to your own liking:
     45
     46 * In the [[Help/Dialog/MapPaint|map style dialog]], right click one of the styles and select [[Image(source:/trunk/images/copy.png)]]"save as...". A copy will be added to the list of styles. You can open the file in a text editor and reload after doing some changes.
     47 * Or create a style from scratch and add it in the JOSM mappaint preferences.
     48
     49JOSM supports two formats to define a style:
     50
     51 JOSM XML::
     52  The traditional style format in JOSM. The [http://josm.openstreetmap.de/svn/trunk/styles/standard/elemstyles.xml standard style] contains some documentation.
     53 MapCSS::
     54  Style language similar to [http://en.wikipedia.org/wiki/Cascading_Style_Sheets CSS] originally developed for Potlatch 2, but aims to be a standard for map styles. (since r3902)
     55  * General information can be found in the [http://wiki.openstreetmap.org/wiki/Category:MapCSS osm wiki].
     56  * A [[Help/Styles/MapCSSTutorial|Short tutorial]] should get you started.
     57  * The [[Help/Styles/MapCSSImplementation|JOSM implementation reference]] lists the supported features in more detail.
     58
     59Style files with different formats are compatible, they can be loaded at the same time.
     60
     61== Make your style available to other users ==
     62
     63 * Either edit this wiki page and add URLs for new style files to the list at the top.
     64 * Or create a wiki page similar to [[Styles/Maxspeed]] (XML) or [[Styles/Modified]] (MapCSS).
     65
     66In both cases, the new style will be automatically listed in the table above after a few minutes. Then it will also be available in the JOSM mappaint preferences (after clicking the reload button).
     67
     68=== Icon handling ===
     69There are different forms to handle icons:
     70
     71 * Icons distributed with JOSM can be entered directly with the path (relative to JOSM's internal image directory).
     72 * Use a path relative to your local style file.
     73 * New icons can be directly referenced using a http-link. These are downloaded and cached internally.
     74 * Since JOSM version 2289 Zip-Files are supported.
     75  * The zip file must contain at least one file with extension xml.
     76  * Icon names and path are relative to the topmost zip directory.
     77  * If there are multiple XML files, a file with "style" in the name is preferred (to allow packaging styles and presets in one archive).
     78 * When the JOSM wiki is used for designing of new styles you have some additional options:
     79  * Each file attached to the wiki page is automatically included in the Zip downloaded by JOSM.
     80  * If you don't want a file in the Zip file, add the text '''(NOZIP)''' in the description of the attachment.
     81  * If you add a Zip file and want its contents included, you may add '''(EXTRACT)''' in the description of the attachment.
     82  * The server automatically switches from download of single file to Zip download when files are attached.
     83
     84== Styles managed in JOSM wiki ==
     85
     86[[TitleIndex(Styles/)]]
     87
     88== Rendering ==
     89
     90Mappaint renders the map data so it looks much more like a map (colors, icons, annotations, ...) - compared to the JOSM wireframe mode.
     91
     92=== Nodes ===
     93
     94Most 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.
     95
     96There are some special icons for missing/incomplete things:
     97
     98[[Image(Mappaint_no_icon.png)]] missing icon
     99We 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. To submit your work, open a [/newticket new ticket] and add your image or zip archive as attachment.
     100
     101[[Image(Mappaint_deprecated.png)]] warning icon
     102The 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.
     103
     104=== Ways ===
     105
     106Most ways that correspond to tags in the map features page will get special color, thickness and line style (e.g. dashed lines for railways).
     107
     108=== Areas ===
     109
     110Areas 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).
     111
     112== Advanced Preferences ==
     113
     114You can use the following hidden preferences:
     115 * mappaint.fillalpha
     116  * alpha "opacity level", that is used to fill areas. An integer value between 0 (transparent) and 255 (solid) with the default of 50.
     117 * mappaint.fillareas (show areas)
     118  * 10000000 (default) - areas will be filled with their corresponding colour and name will be rendered
     119  * 0 - areas will be surrounded by lines only and name will not be rendered
     120  * any other number - areas will be filled with their corresponding colour and name will be rendered at any zoom level below the given number in meters
     121 * mappaint.showicons
     122  * select whether icons are shown - same values as mappaint.fillareas
     123 * mappaint.shownames
     124  * select whether names are shown - same values as mappaint.fillareas
     125 * mappaint.strokes
     126  * select whether strokes or full lines are used - same values as mappaint.fillareas
     127 * mappaint.useRealWidth
     128  * true - ways will change width corresponding to the real width in meters set in the elemstyle.xml file
     129  * false (default) - ways will have the same width on every zoom level
     130 * mappaint.zoomLevelDisplay
     131  * true - elements visibility depends on zoom level
     132  * false (default) - all elements are displayed
     133 * mappaint.fontsize
     134  * 8 - size of mappaint texts