Changeset 16271 in josm for trunk/scripts
- Timestamp:
- 2020-04-12T14:55:08+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/TagInfoExtract.java
r16270 r16271 260 260 Collection<TaggingPreset> presets = TaggingPresetReader.readAll(reader, true); 261 261 List<TagInfoTag> tags = convertPresets(presets, "", true); 262 Logging.info("Converting {0} internal presets", tags.size()); 262 263 writeJson("JOSM main presets", "Tags supported by the default presets in the OSM editor JOSM", tags); 263 264 } … … 314 315 } 315 316 try { 316 System.out.println("Loading" +source.url);317 Logging.info("Loading {0}", source.url); 317 318 Collection<TaggingPreset> presets = TaggingPresetReader.readAll(source.url, false); 318 319 final List<TagInfoTag> t = convertPresets(presets, source.title + " ", false); 319 System.out.println("Converting" + t.size() + "presets of" +source.title);320 Logging.info("Converting {0} presets of {1}", t.size(), source.title); 320 321 tags.addAll(t); 321 322 } catch (Exception ex) { 322 System.err.println("Skipping" + source.url + "due to error");323 ex.printStackTrace();323 Logging.warn("Skipping {0} due to error", source.url); 324 Logging.warn(ex); 324 325 } 325 326
Note:
See TracChangeset
for help on using the changeset viewer.