x

Re: Wer könnte einige Problem-Polygone prüfen?


Geschrieben von malenki (Gast) am 22. Dezember 2013 11:07:01: [flux]

Als Antwort auf: Wer könnte einige Problem-Polygone prüfen? geschrieben von toc-rox (Gast) am 28. September 2013 08:41:

Zum einfacheren Debuggen habe ich mit folgendem Befehl das jeweils erste Koordinatenpaar in einen OSM-Link umgewandelt:

for␣i␣in␣DebugOuterWay_*;␣do␣echo␣"http://www.osm.org/#map=18/"$(less␣"$i"|␣awk␣-F␣",␣"␣'{print␣$2␣}'|␣awk␣'{print␣$2"/"$1}');␣done|nl␣-n␣rz|␣sed␣s/0000//g

Resultat:

01 http://www.osm.org/#map=18/43.226476/5.588323
02 http://www.osm.org/#map=18/43.285389/5.307955
03 http://www.osm.org/#map=18/45.790883/14.564499
04 http://www.osm.org/#map=18/47.157371/9.496702
05 http://www.osm.org/#map=18/47.173358/9.567517
06 http://www.osm.org/#map=18/47.477927/10.701528
07 http://www.osm.org/#map=18/47.563223/15.923228
08 http://www.osm.org/#map=18/47.72735/14.447858
09 http://www.osm.org/#map=18/48.951473/22.378284
10 http://www.osm.org/#map=18/48.974487/20.350726
11 http://www.osm.org/#map=18/48.998489/13.405591
12 http://www.osm.org/#map=18/50.350338/11.74004
13 http://www.osm.org/#map=18/50.561753/23.007146
14 http://www.osm.org/#map=18/50.573672/6.54721
15 http://www.osm.org/#map=18/50.607064/22.980442
16 http://www.osm.org/#map=18/51.170185/11.434759
17 http://www.osm.org/#map=18/51.896666/10.609737
18 http://www.osm.org/#map=18/52.34894/20.82963
19 http://www.osm.org/#map=18/53.490749/12.686022
20 http://www.osm.org/#map=18/54.285565/8.653764
21 http://www.osm.org/#map=18/54.319278/8.745056
22 http://www.osm.org/#map=18/54.397578/12.447723

Edit hat die vertauschten Koordinaten umgedreht. (Wenn jemand Hilfe wünscht, sollte er potentiellen Helfern mögliche Stolpersteine aus dem Weg räumen...)
Die zweite Edit hat Duplikate aufgeräumt und so die Anzahl der Links von 46 auf 22 reduziert.

PS: Zwischen 01 und 10 fand ich nur bei Nummer 6 ein Loch in einer Grenze. Den Rest überlasse ich anderen Arbeitswütigen.