New answers tagged nominatim
1
vote
Getting state but want country with Nominatim geocoder in GeoPy
I would use featuretype="country", which returns only countries:
>>> geolocator.geocode("Georgia",featuretype="country")
Location(საქართველო, (41.6808672, 44....
Top 50 recent answers are included
Related Tags
nominatim × 157openstreetmap × 90
geocoding × 37
python × 21
postgresql × 16
reverse-geocoding × 15
geopy × 14
overpass-api × 13
osm2pgsql × 11
openlayers × 9
postgis × 8
qgis × 7
leaflet × 7
ubuntu × 7
javascript × 6
osmosis × 5
overpass-turbo × 5
api × 4
polygon × 3
geojson × 3
data × 3
google-maps × 3
tiger × 3
mmqgis × 3
mapquest × 3