I had to solve the issue of converting polygons of boundaries for municipalities but I was writing in Python, so I'm sharing here my solution for the need of swapping and reordering Polygons:
https://gist.github.com/cad0p/463c805d93f48351d824e46cb8c98af6
Hi @tyrasd,
I had to solve the issue of converting polygons of boundaries for municipalities but I was writing in Python, so I'm sharing here my solution for the need of swapping and reordering Polygons: https://gist.github.com/cad0p/463c805d93f48351d824e46cb8c98af6
I did not create a copy of the json, so this may be useful given your comments here: https://github.com/tyrasd/osmtogeojson/blob/e05ddb01942758bcdc14c782c7e9b0e17eb9dfa4/index.js#L190-L191
Let me know!