Download Jar. Libraryless. Click here for Pure Java version (6277L/45K).
!7 // from: https://www.europeandataportal.eu/data/de/dataset/5262159c-d358-11d5-88c8-000102dccf41/resource/f9ea66e2-a5bd-46cf-8ede-44ce772addb1?inner_span=True p-exp { new TreeSet<S> allStreets; for (S snippetID : ll(#1400199, #1400200)) { temp ZipFile zip = openZipSnippet(snippetID); new TreeSet<S> streets; for (S line : linesFromReader(utf8ZipReader(zip, "Strassen_und_Wegenetz.gml"))) { addIfNotNull(streets, startsWithEndsWith_getRest(trim(line), "<suw:Strassenname>", "</suw:Strassenname>")); } print("Got " + n(streets, "street")); allStreets.addAll(streets); } print("All streets: " + l(allStreets)); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, bwoimkvrfqyu, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022390 |
Snippet name: | Straßennamen Hamburg extrahieren (Spike) |
Eternal ID of this version: | #1022390/5 |
Text MD5: | 8586f7f4d8c514660e58860cf91581ea |
Transpilation MD5: | 8713717c61247cc3bb80bff1ba371be8 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-16 17:05:19 |
Source code size: | 673 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 284 / 824 |
Version history: | 4 change(s) |
Referenced in: | #1022391 - Straßennamen Hamburg nach Mech List |