I had similar kind of question → https://forum.openstreetmap.org/viewtopic.php?id=59123