Changeset 18633 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2023-01-11T20:06:22+01:00 (23 months ago)
Author:
taylor.smock
Message:

Fix #22561: change site_type to archaeological_site

See osmwiki:Proposed_features/Key:archaeological_site for the proposal
documentation. Of note, the proposal was approved on 2022-12-04, and
there have been no changes to osmwiki:Key:archaeological_site where
the definition of archaeological_site has changed.

Location:
trunk/resources/data/validator
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/combinations.mapcss

    r18626 r18633  
    107107node[lamp_type                 ][highway!=street_lamp],
    108108node[map_type                  ][information!=map],
    109 *[site_type                    ][historic!=archaeological_site],
     109*[archaeological_site          ][historic!=archaeological_site],
    110110*[artwork_type                 ][tourism!=artwork][exhibit!=artwork],
    111111*[castle_type                  ][historic!=castle],
  • trunk/resources/data/validator/deprecated.mapcss

    r18564 r18633  
    24022402}
    24032403
    2404 /* temporary URLs, can be exteded to other websites and other keys e.g. "url" or "website", #22397 */
     2404/* temporary URLs, can be extended to other websites and other keys e.g. "url" or "website", #22397 */
    24052405*[image][image=~/^https:\/\/westnordost.de\/p\//] {
    24062406  throwWarning: tr("{0} with a temporary URL which may be outdated very soon", "{0.key}");
     
    24112411}
    24122412
     2413/* Replaced by archaeological_site, see #22561 */
     2414*[historic=archaeological_site][site_type] {
     2415  throwWarning: tr("{0} should be replaced with {1}", "{1.key}", "archaeological_site");
     2416  fixChangeKey: "site_type => archaeological_site";
     2417  assertMatch: "node historic=archaeological_site site_type=fortification";
     2418  assertNoMatch: "node historic=archaeological_site site_type2=fortification";
     2419}
     2420
    24132421/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/ignoretags.cfg

    r18575 r18633  
    732732K:type=turnlanes:turns
    733733K:surface=paving_stones:30
     734E:site_type
    734735;
    735736; Tags not yet decided (to remove from this section when added or moved up when deprecated)
Note: See TracChangeset for help on using the changeset viewer.