Changes between Version 55 and Version 98 of ImageryCompare


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

Legend:

Unmodified
Added
Removed
Modified
  • ImageryCompare

    v55 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)]] ||
    7 || [[span(style=color: red, red)]] || [[span(style=color: red, JOSM shape problems)]] || [[span(style=color: red, should be checked)]] ||
    8 || [[span(style=color: red, red)]] || [[span(style=color: red, differences between ELI and JOSM)]] || [[span(style=color: red, should be checked)]] ||
    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, entries as http in ELI and https in JOSM)]] || [[span(style=color: blue, should be fixed in ELI)]] ||
    11 || [[span(style=color: blue, blue)]] || [[span(style=color: blue, ELI shape problems)]] || [[span(style=color: blue, should be checked)]] ||
    12 || [[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)]] ||
    13 || [[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)]] ||
    14 || [[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])]] ||
    15 || [[span(style=color: orange, orange)]] || [[span(style=color: orange, new checks)]] || [[span(style=color: orange, new checks in test phase)]] ||
    16 || [[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)]] ||
    1719
    18 The ignore list is maintained at ImageryCompareIgnores. There is also a more detailed reason for each ignore entry documented.
    19 
    20 For entries of the kind "... differs ('aaa' != 'bbb')", the first variant is ELI and the second JOSM.
    21 
    22 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.
    23 
    24 This [source:josm/trunk/scripts/SyncEditorLayerIndex.groovy script] compares the following properties:
     20This [source:josm/trunk/scripts/SyncEditorLayerIndex.java script] compares the following properties:
    2521* source URL
    2622* type (WMS/TMS/WMTS)
    … …  
    2824* min_zoom and max_zoom
    2925* country code
    30 * shapes
    31 * 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.)
    3228* best
    3329* date
    … …  
    3733* id
    3834* default
     35* 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 * overlay
    44 * i18n
     44* i18n (see #18684)
    4545* permission_osm
    4646
    47 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
    4854* eula
    49 * logo-url
    5055* logo-image
    5156* terms-of-use-text
    52 * mirror
    53 * no-tile-header
    5457* no-tile-checksum
    5558* metadata-header
    5659* valid-georeference
    57 * last-check
    5860* tile-size
    5961* mod-tile-features
     62* custom-http-headers
     63* default-layers
     64* format
     65* transparent
     66* minimum-tile-expire
    6067
    61 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.
    6269
    63 
    64 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].
    6571
    6672For easier syncing between JOSM and ELI there are two features:
    67 * [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.
    68 * 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.
    6976
    70 **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.)
    7178
    72 = Results
     79== Results ==
     80Current number of entries for each type: [[ImageryCompare(stats)]]
     81
     82See [#OnlyErrors below] for the summary of all new, unresolved issues.
    7383
    7484[[ImageryCompare]]
    7585
    76 = Only Errors
    77 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.
    7888
    7989[[ImageryCompare(error)]]