Changeset 15658 in josm


Ignore:
Timestamp:
2020-01-07T23:19:57+01:00 (3 months ago)
Author:
simon04
Message:

fix #18172 - Add new imagery categories "elevation" and "qa"

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/maps.xsd

    r14890 r15658  
    682682                            <xs:element name="terms-of-use-url" minOccurs="0" maxOccurs="1" type="xs:string" />
    683683                            <!-- The image category, don't use enumeration, so future extension is possible -->
    684                             <!-- Currently defined values are: "photo", "map", "historicmap", "osmbasedmap", "historicphoto" and "other" -->
     684                            <!-- Currently defined values are: "photo", "elevation", "map", "historicmap", "osmbasedmap", "historicphoto", "qa" and "other" -->
    685685                            <xs:element name="category" minOccurs="1" maxOccurs="1" type="xs:string" />
    686686                            <!-- The ISO 3166 country code -->
  • trunk/scripts/SyncEditorLayerIndex.java

    r15478 r15658  
    11751175                }
    11761176            }
    1177             List<String> knownCategories = Arrays.asList("photo", "map", "historicmap", "osmbasedmap", "historicphoto", "other");
     1177            List<String> knownCategories = Arrays.asList(
     1178                    "photo", "elevation", "map", "historicmap", "osmbasedmap", "historicphoto", "qa", "other");
    11781179            String cat = getCategory(j);
    11791180            if (isBlank(cat)) {
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java

    r15241 r15658  
    112112        /** A aerial or satellite photo. **/
    113113        PHOTO(/* ICON(data/imagery/) */ "photo", tr("Aerial or satellite photo")),
     114        /** A map of digital terrain model or digital surface model. **/
     115        ELEVATION(/* ICON(data/imagery/) */ "elevation", tr("Elevation map")),
    114116        /** A map. **/
    115117        MAP(/* ICON(data/imagery/) */ "map", tr("Map")),
     
    120122        /** A historic or otherwise outdated aerial or satellite photo. **/
    121123        HISTORICPHOTO(/* ICON(data/imagery/) */ "historicphoto", tr("Historic or otherwise outdated aerial or satellite photo")),
     124        /** A map for quality assurance **/
     125        QUALITY_ASSURANCE(/* ICON(data/imagery/) */ "qa", tr("Map for quality assurance")),
    122126        /** Any other type of imagery **/
    123127        OTHER(/* ICON(data/imagery/) */ "other", tr("Imagery not matching any other category"));
Note: See TracChangeset for help on using the changeset viewer.