Changeset 8671 in josm for trunk/scripts


Ignore:
Timestamp:
2015-08-18T16:03:37+02:00 (4 years ago)
Author:
simon04
Message:

taginfoextract: fix preset icon URLs

For instance, mixed_lift now correctly links to the OSM repository.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/taginfoextract.groovy

    r8439 r8671  
    362362                def rev = osm_svn_revision()
    363363                return "https://trac.openstreetmap.org/export/${rev}/subversion/applications/share/map-icons/classic.small/${path}"
     364            } else if (path.startsWith("styles/standard/")) {
     365                path = path.substring("styles/standard/".length())
     366                def rev = osm_svn_revision()
     367                return "https://trac.openstreetmap.org/export/${rev}/subversion/applications/share/map-icons/classic.small/${path}"
    364368            } else {
    365369                return "https://josm.openstreetmap.de/export/${josm_svn_revision}/josm/trunk/images/${path}"
Note: See TracChangeset for help on using the changeset viewer.