[osmosis-dev] --truncate-apidb also truncates users
Shaun McDonald
shaun at shaunmcdonald.me.uk
Fri Nov 16 11:17:46 GMT 2012
Based on the docs at
http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.42#--truncate-apidb_.28--td.29
for --truncate-apidb, I wasn't expecting that it would truncate the user table and all the other related tables, that are no API docs.
However based on the code at
https://github.com/openstreetmap/osmosis/blob/master/apidb/src/main/java/org/openstreetmap/osmosis/apidb/v0_6/ApidbTruncator.java#L23
it does in fact truncate the user table too. Is this intentional behaviour? Could it be change such that only Osmosis generated users are removed or users are left behind?
Shaun
More information about the osmosis-dev
mailing list