Esempio n. 1
0
 public static String printTags(OSMElement element) {
   Map<String, String> tags = element.getTags();
   Set<String> keys = tags.keySet();
   String str = "";
   for (String k : keys) {
     str += k + ": " + tags.get(k) + "\n";
   }
   return str;
 }
Esempio n. 2
0
 public void consumeOSMElement(OSMElement el, String osmUserName) throws IOException {
   checksum = el.checksum();
   editedXml = OSMXmlWriter.elementToString(el, osmUserName, APP_NAME + " " + appVersion);
 }