Changes between Version 535 and Version 536 of Maps


Ignore:
Timestamp:
2018-05-12T19:28:17+02:00 (8 years ago)
Author:
wiktorn
Comment:

Document new attributes for imagery entries

Legend:

Unmodified
Added
Removed
Modified
  • Maps

    v535 v536  
    7373|| '''projections''' || A list of supported projections (inside {{{<code>}}} tags) ||
    7474|| '''code''' || A projection name, part of its parent {{{<projections>}}}, e.g {{{<code>EPSG:4326</code>}}} ||
     75|| '''custom-http-headers''' || HTTP headers to be sent to server (replacement of {header(''header'', ''value'')}). It has two attributes '''header-name''' and '''header-value'''. Might be specified multiple times. ||
     76|| '''default-layers''' || default layer to open (when using WMS_ENDPOINT type). Has two attributes - '''name''' and '''style''' ||
     77|| '''format''' || format to use when connecting tile server (when using WMS_ENDPOINT type) ||
     78|| '''transparent''' || accepts two values - '''true''' and '''false'''. If '''true''' transparent tiles will be requested from server ||
     79|| '''minimum-tile-expire''' || minimum expiry time for tiles in seconds. The larger the value, the longer entry in cache will be considered valid ||
    7580
    7681Projections can be tested within the JOSM wiki by adding &epsg=... to the view URL. Small numbers refer to the projection specified in the wiki entry and large numbers directly to the EPSG code. So &epsg=3 means the 3rd projection in the wiki entry list and &epsg=4326 means EPSG:4326. With the second variant you can also test projections which are not (yet) part of the wiki entry list.
     
    95100|| '''projections''' || A list of supported projections (inside {{{<code>}}} tags) ||
    96101|| '''code''' || A projection name, part of its parent {{{<projections>}}}, e.g {{{<code>EPSG:4326</code>}}} (see also projection hints in the WMS section above) ||
     102|| '''custom-http-headers''' || HTTP headers to be sent to server (replacement of {header(''header'', ''value'')}). It has two attributes '''header-name''' and '''header-value'''. Might be specified multiple times. ||
     103|| '''default-layers''' || default layer to open (when using WMS_ENDPOINT type). Has three attributes - '''name''', '''style''' and '''tileMatrixSet''' ||
     104|| '''minimum-tile-expire''' || minimum expiry time for tiles in seconds. The larger the value, the longer entry in cache will be considered valid ||
     105
    97106
    98107For WMTS you specify the url to the GetCapabilities document. JOSM will fetch the document and interpret all the data there. If there is more than one layer within one service, JOSM will ask the user, which tile he wants to work with. Multiple styles are not yet supported.
     
    107116 * Additional to the XML database there is also an geojson output which can be found here: [/maps?format=geojson&pretty=true pretty] and [/maps?format=geojson default].
    108117
     118
    109119----
    110120