On 9-5-2010 22:54, Peter Körner wrote:
This is true for the hstore import anyway. Or does --extra-attributes also add nodes without any tags?
Yes, it does.
As a test, I just imported a 6 node building, and wound up with 1 entry in the polygon table (good), and those 6 nodes in the point table (bad). Those building nodes are untagged in OSM.
The reason this happens is because the xml reader is injecting osm_uid,osm_user,osm_version,osm_timestamp for every element, and because those columns also appear in default.style (if you enable them, of course), these nodes are now 'interesting', and will be imported.
I think --extra-attributes needs to be modified so these osm_* tags are considered 'uninteresting' and are only actually added to objects which would otherwise already be imported.