Open Zverik opened 10 years ago
This isn't very easy to fix because of how I'm serializing one <note>
element at a time instead of building the whole tree in-memory and then outputting it. Since it's mostly cosmetic, I'm going to let it go for now.
Can you simply add spaces to etree.tostring()
result with a regexp?
I could, but this isn't really meant to be read by humans, so the extra complexity isn't really worth it.
<node>
tags should be indented, like in .osc and other osm files. E.g.(right now
<note>
is on the same level as<osm>
)