I have started playing with this in a branch:
https://github.com/ToeBee/osmosis/tree/invalid_geometry

So far I managed to add a new command line option "keepInvalidWays" to
the write-pgsql(-dump) tasks. It defaults to false so that current
functionality of dropping zero and single node ways is preserved.

I think it should be possible to add it to the diff processing as well
to keep invalid ways out of a replicated database. I likely won't get
a chance to work on it much more before next week because of
Thanksgiving travel plans but I may try to reimport my database with
this option enabled while I am out of town to see exactly what effects
it has.

Toby

_______________________________________________
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to