Download Jar. Libraryless. Click here for Pure Java version (6277L/45K).
1 | !7 |
2 | |
3 | // from: https://www.europeandataportal.eu/data/de/dataset/5262159c-d358-11d5-88c8-000102dccf41/resource/f9ea66e2-a5bd-46cf-8ede-44ce772addb1?inner_span=True |
4 | |
5 | p-exp { |
6 | new TreeSet<S> allStreets; |
7 | |
8 | for (S snippetID : ll(#1400199, #1400200)) { |
9 | temp ZipFile zip = openZipSnippet(snippetID); |
10 | new TreeSet<S> streets; |
11 | for (S line : linesFromReader(utf8ZipReader(zip, "Strassen_und_Wegenetz.gml"))) { |
12 | addIfNotNull(streets, startsWithEndsWith_getRest(trim(line), "<suw:Strassenname>", "</suw:Strassenname>")); |
13 | } |
14 | print("Got " + n(streets, "street")); |
15 | allStreets.addAll(streets); |
16 | } |
17 | print("All streets: " + l(allStreets)); |
18 | } |
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: | 283 / 821 |
Version history: | 4 change(s) |
Referenced in: | [show references] |