Changes between Version 61 and Version 98 of ImageryCompare


Ignore:
Timestamp:
(multiple changes)
Author:
(multiple changes)
Comment:
(multiple changes)

Legend:

Unmodified
Added
Removed
Modified
  • ImageryCompare

    v61 v98  
    11[[TranslatedPages]]
    2 = Comparison between ​[[https://github.com/osmlab/editor-imagery-index|GitHub project Editor Layer Index]] (former Editor Imagery Index) and [[wiki:Maps|JOSM]] imagery lists.
     2[[PageOutline(2-4,Table of Contents)]]
     3= Comparison between ​ELI and JOSM imagery lists =
     4== Documentation==
     5This page compares the imagery lists of the [https://github.com/osmlab/editor-imagery-index GitHub project Editor Layer Index] (former Editor Imagery Index) and [wikitr:/Maps JOSM] to find differences or problems with imageries. The following table explains what the different colors in the output below mean. If a red line can't be resolved it can be added to the [ImageryCompareIgnores ignore list]. There is also a more detailed reason for each ignore entry documented.
    36
    4 ||= color =||= description =||= action =||
    5 || [[span(style=color: black, black)]] || [[span(style=color: black, informational texts)]] ||  ||
    6 || [[span(style=color: red, red)]] || [[span(style=color: red, entries in ELI but not in JOSM)]] || [[span(style=color: red, should be checked and fixed or added to ignore list)]] ||
    7 || [[span(style=color: red, red)]] || [[span(style=color: red, problems with JOSM entries)]] || [[span(style=color: red, should be checked and fixed)]] ||
    8 || [[span(style=color: red, red)]] || [[span(style=color: red, differences between ELI and JOSM)]] || [[span(style=color: red, should be checked and fixed or added to ignore list)]] ||
    9 || [[span(style=color: blue, blue)]] || [[span(style=color: blue, entries in JOSM but not in ELI)]] || [[span(style=color: blue, should be checked)]] ||
    10 || [[span(style=color: blue, blue)]] || [[span(style=color: blue, problems with ELI entries)]] || [[span(style=color: blue, should be checked and fixed in ELI or added to ignore list)]] ||
    11 || [[span(style=color: green, green)]] || [[span(style=color: green, entries which have been checked and are on ignore list (only minor style differences, or sync impossible))]] || [[span(style=color: green, no action required)]] ||
    12 || [[span(style=color: DarkGoldenrod, yellow)]] || [[span(style=color: DarkGoldenrod, entries which have been checked and are on ignore list (outdated in ELI))]] || [[span(style=color: DarkGoldenrod, should be fixed in ELI)]] ||
    13 || [[span(style=color: indigo, purple)]] || [[span(style=color: indigo, different ids)]] || [[span(style=color: indigo, not yet decided how to proceed, see [ticket:14655#comment:60])]] ||
    14 || [[span(style=color: orange, orange)]] || [[span(style=color: orange, new checks in test phase)]] || [[span(style=color: orange, should be checked and fixed if applicable)]] ||
    15 || [[span(style=color: red, red)]] || [[span(style=color: red, +++ Obsolete skip entry: at the end of this list flags old entries of the ignore list, which are no longer applicable)]] || [[span(style=color: red, should be removed from the ignore list)]] ||
     7||= **Color** =||= **Description** =||= **Action** =||
     8||  [[span(style=color: black, black)]]  || [[span(style=color: black, informational texts)]] ||  ||
     9||  [[span(style=color: brown, brown)]] || [[span(style=color: brown, entries in ELI but not in JOSM)]] || [[span(style=color: brown, should be checked and fixed or added to ignore list)]] ||
     10||  [[span(style=color: red, red)]]  || [[span(style=color: red, problems with JOSM entries)]] || [[span(style=color: red, should be checked and fixed)]] ||
     11||  [[span(style=color: brown, brown)]] || [[span(style=color: brown, differences between ELI and JOSM)]] || [[span(style=color: brown, should be checked and fixed or added to ignore list)]] ||
     12||  [[span(style=color: blue, blue)]]  || [[span(style=color: blue, entries in JOSM but not in ELI)]] || [[span(style=color: blue, should be checked)]] ||
     13||  [[span(style=color: blue, blue)]]  || [[span(style=color: blue, problems with ELI entries)]] || [[span(style=color: blue, should be checked and fixed in ELI or added to ignore list)]] ||
     14||  [[span(style=color: green, green)]]  || [[span(style=color: green, entries which already have been checked and are on the ignore list (e.g. only minor style differences, or sync impossible))]] || [[span(style=color: green, no action required)]] ||
     15||  [[span(style=color: DarkGoldenrod, golden)]]  || [[span(style=color: DarkGoldenrod, entries which already have been checked and are on the ignore list (outdated in ELI))]] || [[span(style=color: DarkGoldenrod, should be fixed in ELI)]] ||
     16||  [[span(style=color: indigo, purple)]]  || [[span(style=color: indigo, different ids)]] || [[span(style=color: indigo, not yet decided how to proceed, see [ticket:14655#comment:60])]] ||
     17||  [[span(style=color: orange, yellow)]] || [[span(style=color: orange, new checks in test phase)]] || [[span(style=color: orange, should be checked and fixed if applicable)]] ||
     18||  [[span(style=color: brown, brown)]]  || [[span(style=color: brown, +++ Obsolete skip entry: at the end of this list flags old entries of the ignore list, which are no longer applicable)]] || [[span(style=color: brown, should be removed from the ignore list)]] ||
    1619
    17 The ignore list is maintained at ImageryCompareIgnores. There is also a more detailed reason for each ignore entry documented.
    18 
    19 For entries of the kind "... differs ('aaa' != 'bbb')", the first variant is ELI and the second JOSM.
    20 
    21 Note that it is possible that there are yellow or blue entries (ELI problems) which are already fixed there in the sources, but not yet pushed to the combined result file imagery.geojson.
    22 
    23 This [source:josm/trunk/scripts/SyncEditorLayerIndex.groovy script] compares the following properties:
     20This [source:josm/trunk/scripts/SyncEditorLayerIndex.java script] compares the following properties:
    2421* source URL
    2522* type (WMS/TMS/WMTS)
    … …  
    2724* min_zoom and max_zoom
    2825* country code
    29 * shapes
    30 * icon
     26* shapes (coordinates are rounded to 5 decimal digits for the comparison process)
     27* icon (ELI [https://github.com/osmlab/editor-layer-index/commit/9745988dcd177e4d4c32b41e715a7abe6a10c61e "unembedded"] icons, which were stored as data URL before, so these icons are no longer comparable by the script.)
    3128* best
    3229* date
    … …  
    3734* default
    3835* overlay
     36* no-tile-header
     37* category
     38* privacy-policy-url
    3939
    40 This script does not compare all special properties which are available in only one of the two databases.
     40This script first tries to find matching URLs and in the remaining data it tries to find matching IDs. Everything left will be reported.
     41The script does not compare all special properties which are available in only one of the two databases.
    4142
    4243ELI-only properties according to [https://github.com/osmlab/editor-layer-index/blob/gh-pages/schema.json ELI-schema] are:
    43 * i18n
     44* i18n (see #18684)
    4445* permission_osm
    4546
    46 JOSM-only properties according to [wiki:Maps#Documentation JOSM-schema] are:
     47JOSM-only properties according to [wiki:/Maps#Documentation JOSM-schema] are:
     48
     49* logo-url
     50* mirror
     51
     52The script also does not yet compare the following properties as they are not yet actively used in ELI:
     53
    4754* eula
    48 * logo-url
    4955* logo-image
    5056* terms-of-use-text
    51 * mirror
    52 * no-tile-header
    5357* no-tile-checksum
    5458* metadata-header
    5559* valid-georeference
    56 * last-check
    5760* tile-size
    5861* mod-tile-features
     62* custom-http-headers
     63* default-layers
     64* format
     65* transparent
     66* minimum-tile-expire
    5967
    60 Note that terms-of-use-url isn't converted to license_url in the geojson output.
     68For entries of the kind "... differs ('aaa' != 'bbb')", the first variant (aaa) is ELI and the second (bbb) JOSM.
    6169
    62 
    63 The compared files are [https://josm.openstreetmap.de/maps maps] and [https://github.com/osmlab/editor-layer-index/raw/gh-pages/imagery.geojson imagery.geojson].
     70The files actually used for the comparison are [/maps maps] and [https://github.com/osmlab/editor-layer-index/raw/gh-pages/imagery.geojson imagery.geojson].
    6471
    6572For easier syncing between JOSM and ELI there are two features:
    66 * [https://josm.openstreetmap.de/maps?format=geojson&pretty=true This] file displays the JOSM database in ELIs geojson format. Note that this file may contain JOSM-only properties (see above) which are not (yet) supported by the ELI schema. Possibly you need to remove these properties when syncing to ELI.
    67 * The command `ant dist imageryindexdownload` in the JOSM svn repository produces several files including `imagery_eliout.imagery.xml` which is the ELI database in JOSMs xml format. (ELI has an XML output too, but some attributes are handled different than in the JOSM database (e.g. best) or are missing (e.g. date) and the indentation is different.)
     73* [/maps?format=geojson&pretty=true This] file displays the JOSM database in ELIs geojson format. Note that this file may contain JOSM-only properties (see above) which are not (yet) supported by the ELI schema. Possibly you need to remove these properties when syncing to ELI. Also note that terms-of-use-url isn't converted to license_url in the geojson output.
     74* The command `ant dist imageryindexdownload` in the JOSM svn repository produces several files including `imagery_eliout.imagery.xml` which is the ELI database in JOSMs xml format. (ELI has an XML output too, but it is without the indentation JOSM uses in the wiki, which makes syncing hard.)
     75* The file [/mapseli] contains the `imagery_eliout.imagery.xml` contents and can be used for Copy&Paste of new entries.
    6876
    69 **New data is usually up to date within a minute but may be delayed up to half an hour! **
     77New data is usually taken into account within a few seconds after a JOSM wiki edit or the ELI traviscibot completed his work. (You need to reload this page then to update the comparison script.)
    7078
    71 = Results
     79== Results ==
     80Current number of entries for each type: [[ImageryCompare(stats)]]
     81
     82See [#OnlyErrors below] for the summary of all new, unresolved issues.
    7283
    7384[[ImageryCompare]]
    7485
    75 = Only Errors
    76 The following list summarizes all red entries from the large list above:
     86== Only Errors == #OnlyErrors
     87The following list summarizes all red entries (i.e. new, unresolved issues) from the large list above. There should be none.
    7788
    7889[[ImageryCompare(error)]]