Accessing the "Query Features" functionality from Python

I’m trying to write a Python code that, from a pair of coordinates, determines the features at that coordinate. (What I mainly need is to determine the country the point is located in, as well as if it is located in a body of water.) I have found the OSMPythonTools library, though the documentation is quite hard to understand. I don’t have any experience with the OSM API.

Thank you very much for your help in advance!

5 posts - 4 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/accessing-the-query-features-functionality-from-python/98033