Changes between Version 595 and Version 596 of Maps


Ignore:
Timestamp:
2026-11-30T12:36:47+01:00 (3 days ago)
Author:
skyper
Comment:

removed useless "bold" from cell headers; add syntax for local file for imagery.layers.sites

Legend:

Unmodified
Added
Removed
Modified
  • Maps

    v595 v596  
    99
    1010General properties of {{{<entry>}}}: ({{{<name>}}}, {{{<id>}}}, {{{<category>}}}, {{{<type>}}} and {{{<url>}}} are mandatory.)
    11 ||= '''Property''' =||= '''Description''' =||
     11||= Property =||= Description =||
    1212|| '''name''' || The name of the imagery source. Use English here only. These names can then be translated into all supported languages via [https://translations.launchpad.net/josm/trunk/+pots/josm Launchpad]. (Optional attribute: {{{lang}}} containing the language code to give a translated name here in the xml file. However this should be avoided. This also overrides the translation from Launchpad.) ||
    1313|| '''id''' || Unique identifier of a map to allow automatic updates of map data in JOSM. Don't use white spaces and special characters here (except `-` and `_`). Never change an existing id as this would break the idea behind the id. ||
    … …  
    4141|| '''minimum-tile-expire''' || minimum expiry time for tiles in seconds. The larger the value, the longer entry in cache will be considered valid **Since r13733**. ||
    4242|| '''privacy-policy-url''' || A link to the privacy policy of the operator. **Since r16127** This property is not used within JOSM but other services may use it. ||
    43 ||= '''Attribute''' =||= '''Description''' =||
     43||= Attribute =||= Description =||
    4444|| '''eli-best''' || Set to "true", when marked as best in ​[https://github.com/osmlab/editor-imagery-index GitHub project Editor Layer Index]. A hint is then displayed in JOSM in the mouse over tool tip in the imagery preferences, the Imagery menu and in the toolbar. ||
    4545|| '''overlay''' || This entry is an overlay (i.e. mainly transparent) ||
    … …  
    5353
    5454Properties specific to Tile Map Service:
    55 ||= '''Property''' =||= '''Description''' =||
     55||= Property =||= Description =||
    5656|| '''tile-size''' || Size of individual tiles delivered by this service, defaults to 256. ||
    5757|| '''min-zoom''' || The minimum zoom level ||
    … …  
    7676
    7777Properties specific to Web Map Service:
    78 ||= '''Property''' =||= '''Description''' =||
     78||= Property =||= Description =||
    7979|| '''tile-size''' || Size of individual tiles requested, defaults to the "tile size" preference from [[Help/Preferences/Imagery#Settings]] (512). ||
    8080|| '''min-zoom''' || The minimum zoom level ||
    … …  
    105105
    106106Properties specific to Web Map Tile Service:
    107 ||= '''Property''' =||= '''Description''' =||
     107||= Property =||= Description =||
    108108|| '''projections''' || A list of supported projections (inside {{{<code>}}} tags) ||
    109109|| '''code''' || A projection name, part of its parent {{{<projections>}}}, e.g {{{<code>EPSG:4326</code>}}} (see also projection hints in the WMS section above) ||
    … …  
    119119
    120120Properties specific to Mapbox Vector Tile Services:
    121 ||= '''Property''' =||= '''Description''' =||
     121||= Property =||= Description =||
    122122|| '''min-zoom''' || The minimum zoom level ||
    123123|| '''max-zoom''' || The maximum zoom level. For higher scales, the images of the maximum level are enlarged. Default value is 20. ||
    … …  
    132132
    133133 * Please use the preferred order of properties for better readability: {{{name}}}, {{{id}}}, {{{oldid}}} (if present), {{{category}}}, then everything else, and at the end {{{icon}}}, {{{bounds}}}. (The last two are usually the longest.)
    134  * JOSM uses [/maps this] URL to fetch the imagery sources. The URL can be customized in the advanced preferences (key {{{imagery.layers.sites}}}). Using multiple sources at the same time is possible.
     134 * JOSM uses [/maps this] URL to fetch the imagery sources. The URL can be customized in the advanced preferences (key {{{imagery.layers.sites}}}). Using multiple sources at the same time is possible. Use {{{file:///FULL_PATH_TO_FILE}}} for a local file.
    135135 * Normally JOSM ignores any elements that it does not recognize. However, it will skip the entire imagery entry, when one of the unsupported tags has the attribute {{{mandatory='true'}}}. This is only relevant, when essential new features are added, but old versions of JOSM are still in use.
    136136 * The OSM editors iD, Potlatch 2 and Vespucci use the imagery list provided by the GitHub project [https://github.com/osmlab/editor-layer-index Editor Layer Index]. Differences between this list and the JOSM list are detected by ImageryCompare and synced manually. This page includes some sanity checks too. After you made changes or additions to imagery sources check this page for red marked errors/conflicts which must be resolved!