What's the best way of performing a tag transformation on a .osc file? With "osmosis" I can do something like:
(see here for an example). That works fine for pbfs. "osmosis" does support "--read-xml-change" but unfortunately:
gives an error:
suggesting that transformations aren't supported for osmchange files. "osmfilter" doesn't seem to like osmchange fies at all:
gives
"osmium" has some documentation but it does not mention tag transformations. asked 10 May '20, 17:32 SomeoneElse ♦ |
This is not a complete answer, but maybe it helps you to get towards a solution:
answered 11 May '20, 08:21 Jochen Topf |
The tongue it cheek answer is "vi" or, automated "sed" :-).
I suppose if any of the tools supports JOSM style OSM .xml format (that is supports negative ids and doesn't bork on the action attribute) you could apply the ocs file, transform the tags, extract the ocs file again.