From 743df5dfa933c400b441f8aed64039a24cd3d674 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 23 Jun 2019 07:55:20 +0200 Subject: add ~234 stations missing from DB Haltestellen dataset --- lib/Travel/Status/DE/IRIS/Stations.pm | 240 +++++++++++++++++++++++++++++++++- 1 file changed, 238 insertions(+), 2 deletions(-) diff --git a/lib/Travel/Status/DE/IRIS/Stations.pm b/lib/Travel/Status/DE/IRIS/Stations.pm index eba83a3..2ed9506 100644 --- a/lib/Travel/Status/DE/IRIS/Stations.pm +++ b/lib/Travel/Status/DE/IRIS/Stations.pm @@ -7043,6 +7043,242 @@ my @stations = ( [ 'KUD', 'Üdingen', 8007821, 6.48143700, 50.7281090 ], [ 'SUG', 'Ürzig(DB)', 8005945, 7.00480600, 49.9959330 ], + [ 'APOF', 'Pogeez', 8004850, 10.72756789, 53.7540526 ], + [ 'BKL', 'Klitten', 8012047, 14.59074098, 51.34858175 ], + [ 'BLOH', 'Lohsa', 8012250, 14.40404894, 51.37427295 ], + [ 'BMC', 'Mücka', 8012391, 14.70272111, 51.32020914 ], + [ 'BNY', 'Niesky', 8013493, 14.83186652, 51.29876056 ], + [ 'BUS', 'Uhyst', 8013166, 14.50905162, 51.3629311 ], + [ 'DKW', 'Chemnitz Küchwald', 8017050, 12.9129849, 50.8547514 ], + [ 'DMB', 'Muldenberg', 8013486, 12.3973155, 50.42523139 ], + [ 'EWGO', 'Wengern Ost', 8070571, 7.35000344, 51.40007591 ], + [ 'FWAD', 'Wallenrod', 8006180, 9.33183722, 50.66402784 ], + [ 'HAHS', 'Alfhausen', 8000486, 7.964338, 52.50347141 ], + [ 'HWG', 'Wangerooge', 8007766, 7.89897875, 53.78777097 ], + [ 'LBY', 'Barby', 8010024, 11.86877062, 51.96970764 ], + [ 'LGBZ', 'Groß Behnitz', 8011715, 12.75628402, 52.58608985 ], + [ 'LHY', 'Haynsburg', 8011836, 12.06556189, 51.02770603 ], + [ 'LWBU', 'Webau', 8013246, 12.06655737, 51.1793496 ], + [ 'MNAR', 'Niederarnbach', 8071875, 11.33165423, 48.6511999 ], + [ 'NLWI', 'Leutershausen-Wiedersbach', 8003664, 10.44015442, 49.29497465 ], + [ 'SAM', 'Auersmacher', 8000651, 7.04472464, 49.14339809 ], + [ 'SBA', 'Brebach', 8001135, 7.02886859, 49.21620262 ], + [ 'SHN', 'Hanweiler-Bad Rilchingen', 8002588, 7.05002006, 49.11882132 ], + [ 'SKB', 'Kleinblittersdorf', 8003318, 7.03365514, 49.15849521 ], + [ 'TROS', 'Roßberg', 8005174, 9.78662425, 47.86541789 ], + [ 'UPW', 'Pöllwitz', 8012655, 12.0242501, 50.62804376 ], + [ 'WKGW', 'Kargow', 8011989, 12.76242345, 53.49952404 ], + [ 'WKLE', 'Kleeth', 8012020, 13.06042745, 53.62316794 ], + [ 'WRSN', 'Rostock Seehafen Nord', 8012802, 12.11197118, 54.14208075 ], + [ 'BHWN', 'Hoyerswerda-Neustadt', 8011922, 14.26823906, 51.4290131 ], + [ 'BPE', 'Petershain', 8012628, 14.75012562, 51.31651472 ], + [ 'DOBN', 'Oberneuschönberg', 8012529, 13.39613447, 50.64638282 ], + [ 'DSG', 'Scheibenberg', 8012859, 12.91104906, 50.54759429 ], + [ 'DTFL', 'Thoßfell', 8013120, 12.2556397, 50.54097583 ], + [ 'EVOH', 'Vohren', 8006103, 8.05649663, 51.94351529 ], + [ 'LJR', 'Jütrichau', 8011969, 12.12617046, 51.93431345 ], + [ 'MBRS', 'Brandstätt', 8001128, 12.1275572, 48.0730131 ], + [ 'NHGN', 'Hildbrandsgrün', 8002827, 11.7282417, 50.21039014 ], + [ 'NOZ', 'Otzing', 8004738, 12.8066016, 48.76373513 ], + [ 'NRUD', 'Runding', 8005228, 12.72776282, 49.21758469 ], + [ 'RSCS', 'Schopfheim-Schlattholz', 8005426, 7.83251434, 47.6533979 ], + [ 'SBN', 'Bübingen', 8001238, 7.03493355, 49.17974283 ], + [ 'SBRE', 'Brefeld', 8001140, 7.04914158, 49.31355113 ], + [ 'SGD', 'Güdingen', 8002452, 7.03072943, 49.19781231 ], + [ 'SKLH', 'Kaiserslautern-Hohenecken', 8002943, 7.6997976, 49.41617239 ], + [ 'UTN', 'Traun', 8013135, 11.81941999, 50.73412045 ], + + [ 'AFW', 'Flensburg-Weiche', 8070006 ], + [ 'BAF', 'Ahrensfelde (S)', 8089188 ], + [ 'BBER', 'Bernau (S)', 8089205 ], + [ 'BCHS', 'Berlin Charlottenburg (S)', 8089165 ], + [ 'BE', 'Erkner (S)', 8089181 ], + [ 'BFST', 'Berlin Friedrichstraße (S)', 8089066 ], + [ 'BGRI', 'Potsdam Griebnitzsee (S)', 8080530 ], + [ 'BHD', 'Hennigsdorf (S)', 8089207 ], + [ 'BHH', 'Berlin-Hohenschönhausen (S)', 8089117 ], + [ 'BKLH', 'Berlin-Karlshorst (S)', 8089193 ], + [ 'BLI', 'Berlin-Lichtenberg (S)', 8089182 ], + [ 'BORB', 'Oranienburg (S)', 8089197 ], + [ 'BOSB', 'Berlin Ostbahnhof (S)', 8089185 ], + [ 'BPDH', 'Potsdam Hbf (S)', 8089184 ], + [ 'BSPA', 'Berlin-Spandau (S)', 8089083 ], + [ 'DCOL', 'Colditz', 8011317 ], + [ 'DEI', 'Eich(Sachs)', 8011458 ], + [ 'DMG', 'Marienberg(Sachs)', 8012301 ], + [ 'DPE', 'Penig', 8013488 ], + [ 'DPU', 'Plauen(V) unt Bf', 8013463 ], + [ 'DROC', 'Rochlitz(Sachs)', 8010298 ], + [ 'DSTR', 'Straßgräbchen-Bernsdorf', 8010340 ], + [ 'DTW', 'Teichwolframsdorf', 8013098 ], + [ 'DWAL', 'Waldenburg(Sachs)', 8013211 ], + [ 'EMEK', 'Münster-Mecklenbeck', 8003934 ], + [ 'FALD', 'Allendorf(Eder) Bf', 8000493 ], + [ 'FBHG', 'Bergheim-Giflitz', 8000897 ], + [ 'FHLI', 'Bürgerhaus, Hessisch Lichtenau', 711731 ], + [ 'FKNZ', 'Bahnhof Niederzwehren, Kassel', 716781 ], + [ 'HDUD', 'ZOB, Duderstadt', 860883 ], + [ 'LDBK', 'Dambeck(Altm)', 8011342 ], + [ 'LJW', 'Jerichow', 8010181 ], + [ 'LNE', 'Nedlitz', 8012420 ], + [ 'LSA', 'Sandersdorf(Bitterf)', 8012838 ], + [ 'LSI', 'Siedenlangenbeck', 8012989 ], + [ 'LSIE', 'Sieversdorf(Neust/D)', 8012992 ], + [ 'LZR', 'Ziesar', 8013404 ], + [ 'MOTB', 'Ottobeuren', 8004732 ], + [ 'MRDO', 'Rohrdorf(Oberbay)', 8005148 ], + [ 'MS', 'München-Süd', 8099501 ], + [ 'SMZO', 'Merzig(Saar) Ost', 8000202 ], + [ 'TVN', 'Vaihingen(Enz)Nord', 8007660 ], + [ 'UBWI', 'Berka(Wipper)', 8011152 ], + [ 'UV', 'Vacha', 8013178 ], + [ 'WFL', 'Friedrichswalde(bei Eberswalde)', 8011583 ], + [ 'WGLN', 'Ganzlin', 8011595 ], + [ 'WKC', 'Klockow(b Waren/Müritz)', 8012049 ], + [ 'WMF', 'Milmersdorf', 8012353 ], + [ 'WML', 'Malliß', 8012297 ], + [ 'ZUC', 'Chop', 2200010 ], + [ 'ZWB', 'Brest Central', 2100001 ], + [ 'ZWBA', 'Baranovichi Centralnye', 2100013 ], + [ 'ZWM', 'Minsk-Passajirskii', 2100003 ], + [ 'ZWO', 'Orscha Central', 2100012 ], + [ 'ABCL', 'Barchel, Oerel', 610748 ], + [ 'AELB', 'Hamburg Elbbrücken', 8002551 ], + [ 'AESL', 'Essel, Kutenholz', 597798 ], + [ 'AFE', 'Fredenbeck', 610745 ], + [ 'AHGN', 'Hagen, Stade', 610755 ], + [ 'AHSN', 'Hemsen(b Soltau)', 8002750 ], + [ 'AKEL', 'Kiel-Ellerbek', 8003259 ], + [ 'AWGR', 'Wagersrott', 8007596 ], + [ 'BBFD', 'Blankenfelde (S)', 8089186 ], + [ 'BMHL', 'Berlin-Mahlsdorf', 8011343 ], + [ 'DAUG', 'Augustusburg Bergstation', 8080060 ], + [ 'DBUS', 'Buschmühle', 8011301 ], + [ 'DEDB', 'Einsiedel Brauerei', 8071781 ], + [ 'DNAS', 'Schmiedeberg-Naundorf', 8012885 ], + [ 'DUL', 'Ulberndorf', 8013167 ], + [ 'EBHT', 'Bornholte(b Verl)', 8070447 ], + [ 'EEME', 'Emmerich-Elten', 8001776 ], + [ 'EHST', 'Höste', 8070884 ], + [ 'EOES', 'Oese', 8004631 ], + [ 'FBAL', 'Ballersbach', 8000790 ], + [ 'FERT', 'Eisemroth', 8001724 ], + [ 'FIN', 'Inheiden', 8003077 ], + [ 'FKALR', 'Altmarkt/Regierungspräsidium, Kassel', 712165 ], + [ 'FKASA', 'Am Stern, Kassel', 715108 ], + [ 'FKBHA', 'Am Kupferhammer, Kassel', 719498 ], + [ 'FKBHF', 'Forstfeldstraße, Kassel', 716134 ], + [ 'FKBHG', 'Kirchgasse, Kassel', 713491 ], + [ 'FKBHH', 'Sandershäuser Straße, Kassel', 712612 ], + [ 'FKBHI', 'Lindenberg, Kassel', 714811 ], + [ 'FKBHK', 'Hinter dem Fasanenhof, Kassel', 713942 ], + [ 'FKBHL', 'Leipziger Platz, Kassel', 711002 ], + [ 'FKBHW', 'Leipziger Straße, Kassel', 710954 ], + [ 'FKBH1', 'KVG-Betriebshof, Kassel', 710446 ], + [ 'FKFPL', 'Friedrichsplatz, Kassel', 712894 ], + [ 'FKHBS', 'Hegelsbergstraße, Kassel', 710634 ], + [ 'FKHFH', 'Hauptfriedhof, Kassel', 710635 ], + [ 'FKHPL', 'Holländischer Platz/Universität, Kassel', 711363 ], + [ 'FKHST', 'Holländische Straße, Kassel', 711180 ], + [ 'FKKPL', 'Königsplatz, Kassel', 714222 ], + [ 'FKLPL', 'Lutherplatz, Kassel', 715535 ], + [ 'FKMBS', 'Halitplatz, Kassel', 710636 ], + [ 'FKNZA', 'Auestadion, Kassel', 714006 ], + [ 'FKNZH', 'Heinrich-Heine-Straße, Kassel', 714882 ], + [ 'FKNZW', 'Am Weinberg, Kassel', 712236 ], + [ 'FKPDE', 'Platz der Deutschen Einheit, Kassel', 713056 ], + [ 'FKRAT', 'Rathaus, Kassel', 712896 ], + [ 'FKRFF', 'Rathaus/Fünffensterstraße, Kassel', 716122 ], + [ 'FKSMP', 'Scheidemannplatz, Kassel', 713679 ], + [ 'FKUNK', 'Unterneustädter Kirchplatz, Kassel', 716135 ], + [ 'FKWSM', 'Wilhelmsstraße/Stadtmuseum, Kassel', 710021 ], + [ 'FKWST', 'Wiener Straße, Kassel', 711550 ], + [ 'FLIB', 'Liebenau(Bz Kassel)', 8003677 ], + [ 'FPAPK', 'Papierfabrik, Kaufungen', 714299 ], + [ 'HART', 'Arbste', 8070304 ], + [ 'HDUS', 'Dünsen DHE', 8070358 ], + [ 'HGIP', 'Groß Ippener DHE', 8070403 ], + [ 'HHAD', 'Hademstorf', 8002497 ], + [ 'HHLE', 'Harlesiel', 8002600 ], + [ 'HHPD', 'Delmenhorst Hasporter Damm', 8070426 ], + [ 'HJRX', 'Jerxheim', 8003118 ], + [ 'HNDB', 'Nordhorn-Blanke', 8004465 ], + [ 'HNES', 'Neuenhaus Süd', 8004261 ], + [ 'HNMB', 'Nammen-Bad', 8070497 ], + [ 'HSTE', 'Stelle DHE', 8070547 ], + [ 'HSWB', 'Schwindebeck', 8070650 ], + [ 'HWNS', 'Watenstedt', 8006225 ], + [ 'LHHB', 'Halle(S) Heidebf', 8011811 ], + [ 'LLES', 'Leipzig Essener Straße', 8012200 ], + [ 'LMDF', 'Meisdorf', 8012325 ], + [ 'MFOL', 'Feldolling', 8001966 ], + [ 'MGMF', 'Finsterwald', 8007889 ], + [ 'MHMB', 'Hammersbach Zugspitzbahn, Grainau', 966904 ], + [ 'MKBG', 'Kaltenberg', 8070973 ], + [ 'MKZB', 'Kreuzeck/Alpspitzbahn Bahnhof, Garmisch-Partenkirc', 966903 ], + [ 'MMGH', 'Margertshausen Bf', 8003858 ], + [ 'MPFR', 'Pfraundorf(Inn)', 8004802 ], + [ 'MRAI', 'Rosenheim Aicherpark', 8005169 ], + [ 'MRFR', 'Riffelriß, Grainau', 966907 ], + [ 'MRFS', 'Reichertshofen(Schwab) Bf', 8005010 ], + [ 'NZH', 'Zainhammer', 8006632 ], + [ 'RETE', 'Erbprinz/Schloss, Ettlingen', 723573 ], + [ 'RETF', 'Albgaubad, Ettlingen', 723571 ], + [ 'RETN', 'Neuwiesenreben, Ettlingen', 720781 ], + [ 'RETS', 'Spinnerei, Ettlingen', 720788 ], + [ 'RETW', 'Wasen, Ettlingen', 723576 ], + [ 'RGHM', 'Bahnhof, Gönnheim', 506735 ], + [ 'RITI', 'Ittersbach Industrie, Karlsbad', 723599 ], + [ 'RKAG', 'Augartenstraße, Karlsruhe', 721323 ], + [ 'RKAP', 'Poststraße, Karlsruhe', 723869 ], + [ 'RKBP', 'Kronenplatz (Kaiserstraße), Karlsruhe', 721394 ], + [ 'RKDG', 'Gottesauer Platz/BGV, Karlsruhe', 723616 ], + [ 'RKDS', 'Dammerstock, Karlsruhe', 723864 ], + [ 'RKDUH', 'Durlach Hubstraße, Karlsruhe', 724002 ], + [ 'RKDUU', 'Durlach Untermühlstraße, Karlsruhe', 721456 ], + [ 'RKDW', 'Weinweg, Karlsruhe', 721461 ], + [ 'RKEG', 'Knielingen Eggensteiner Straße, Karlsruhe', 723871 ], + [ 'RKEH', 'Händelstraße, Karlsruhe', 721381 ], + [ 'RKEP', 'Philippstraße, Karlsruhe', 721426 ], + [ 'RKIH', 'Knielingen Herweghstraße, Karlsruhe', 721509 ], + [ 'RKIS', 'Knielingen Siemens, Karlsruhe', 721520 ], + [ 'RKME', 'Ettlinger Tor, Karlsruhe', 721356 ], + [ 'RKMH', 'Herrenstraße, Karlsruhe', 721376 ], + [ 'RKMK', 'Kongresszentrum, Karlsruhe', 721391 ], + [ 'RKMS', 'Schillerstraße, Karlsruhe', 721433 ], + [ 'RKMW', 'Mühlburg West, Karlsruhe', 721416 ], + [ 'RKMY', 'Yorckstraße, Karlsruhe', 721470 ], + [ 'RKNEB', 'Neureut Bärenweg, Karlsruhe', 723873 ], + [ 'RKSE', 'Europapl./Postgalerie (Karl), Karlsruhe', 722002 ], + [ 'RKSEK', 'Europapl./PostGalerie (Karlstr.), Karlsruhe', 723614 ], + [ 'RKSEP', 'Europapl./PostGalerie (Kaiserstr), Karlsruhe', 721358 ], + [ 'RKSL', 'Lameyplatz, Karlsruhe', 721401 ], + [ 'RKSS', 'Starckstraße, Karlsruhe', 721445 ], + [ 'RKUL', 'Kullenmühle, Bad Herrenalb', 723532 ], + [ 'RLBB', 'Langensteinbach St. Barbara, Karlsbad', 721649 ], + [ 'RLOP', 'Ludwigshafen(Rhein) Oppau', 8070167 ], + [ 'RRBK', 'Reichenbach Kurpark, Waldbronn', 722237 ], + [ 'RRUB', 'Rüppurr Battstraße, Karlsruhe', 722324 ], + [ 'RRUO', 'Rüppurr Ostendorfplatz, Karlsruhe', 722325 ], + [ 'RRUT', 'Rüppurr Tulpenstraße, Karlsruhe', 722326 ], + [ 'RSRP', 'Schloss Rüppurr, Karlsruhe', 721435 ], + [ 'THKT', 'Heilbronn Karlstor', 8002697 ], + [ 'UGBD', 'Großbodungen', 8011741 ], + [ 'UGEB', 'Gebersdorf', 8011601 ], + [ 'USTO', 'Stolberg(Harz)', 8013056 ], + [ 'UTI', 'Tiefenort', 8013127 ], + [ 'UZN', 'Zopten', 8013422 ], + [ 'WAS', 'Alt Schwerin', 8011015 ], + [ 'WBTN', 'Bantin', 8011110 ], + [ 'WBZN', 'Bobzin', 8011216 ], + [ 'WFEL', 'Feldberg(Meckl)', 8011534 ], + [ 'WGIH', 'Gildenhall', 8011633 ], + [ 'WGOE', 'Götschendorf', 8011659 ], + [ 'WGRN', 'Malk Göhren', 8011650 ], + [ 'WLM', 'Seebad Lubmin', 8012964 ], + [ 'WRIW', 'Ringenwalde(Templin)', 8012768 ], + [ 'WTAD', 'Templin-Ahrensdorf', 8013102 ], + [ 'XNTH', '`t Harde' ], [ 'XBAAL', 'Aalter' ], [ 'XSA', 'Aarau' ], @@ -8859,14 +9095,14 @@ sub get_station_by_location { sub get_station_by_name { my ($name) = @_; - my $nname = lc($name); + my $nname = lc($name); my $actual_match = firstval { $nname eq lc( $_->[1] ) } @stations; if ($actual_match) { return ($actual_match); } - $nname = normalize($nname); + $nname = normalize($nname); $actual_match = firstval { $nname eq normalize( lc( $_->[1] ) ) } @stations; if ($actual_match) { return ($actual_match); -- cgit v1.2.3