Let's not silently drop any entries anywhere in the project, they should always be logged as a aggregate in verbose mode.
if refs[0] == refs[-1]:
continue
Providing a callback interface in which faulty entries are passed with the reason of being discarded would allow specific handling of and correction of the OSM data.
The code above could perhaps even be moved out into it's own post processor
Let's not silently drop any entries anywhere in the project, they should always be logged as a aggregate in verbose mode.
Providing a callback interface in which faulty entries are passed with the reason of being discarded would allow specific handling of and correction of the OSM data.
The code above could perhaps even be moved out into it's own post processor