> > Anyway, one of the issues (even looking at them takes a while) in the > > area errors file seems to stem from incorrect node selection for > > merging > > -- I've got no clue how this can happen. Seems like a spike between > > two nodes close to each other. This might even be detectable in a > script. > > For each way check the sequence of nodes. If node n is much closer to > > node n+2 than to node n+1, then delete node n+1 from the sequence. > > > > Okay ... as usual I gave it a try and hacked some proof of concept > ... > > http://andre.grueneberg.de/osm/remove_spikes.pl ... at least it's > > removing 3543 "suspicious nodes" ... > > But maybe I'm totally off the track ... >
I did not try your removal script yet, but I made some samples of different spike cases what I've spotted. The easy one is also most common, but also 2 polygons involved happens in maybe 20% of cases. Island case is quite rare. /Jaak
<<attachment: spike_complex_2polygons_involved.png>>
<<attachment: spike_cutout_island.png>>
<<attachment: spike_easy.png>>
_______________________________________________ Talk-ee mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk-ee

