i am working with GPS Tracks of cars and i would like to find out whether a certain gps point (given in lat/lon) is within a city (and its boundaries/suburbs/etc.) or if it is on the "countryside". With "countryside" i mean everything that is not defined as "city". Therefore i consider towns, villages, etc. as "countryside". Basically i want to filter out city-traffic from my data.
Is there a simple way to query this via OpenStreetMaps?
I've already tried to find some tags or attributes on OSM that would indicate whether a gps point is within a city or not. The only relevant attribute i found would be in the "Enclosing Features" tag: If some point is NOT within a city (and therefore on the countryside) there always seems to be a tag called "City Boundary". This tag does not exist if the point is within a city.
Example: Some point (in Berlin) that I would classify as "City": http://www.openstreetmap.org/query?lat=52.4662&lon=13.4824
Some point (outside of Berlin) that I would classify as "Countryside": http://www.openstreetmap.org/query?lat=52.3362&lon=13.9618