From 6d400c5bdc2ca294c9f10836b590c7cd472e346b Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Tue, 7 Jun 2022 01:31:29 -0400 Subject: photon: update `Geocode` Include villages in the search result. --- photon/photon.go | 1 + 1 file changed, 1 insertion(+) (limited to 'photon/photon.go') diff --git a/photon/photon.go b/photon/photon.go index 8c85a09..d75d369 100644 --- a/photon/photon.go +++ b/photon/photon.go @@ -83,6 +83,7 @@ func Geocode(location string) ([]Coordinates, error) { q.Add("q", location) q.Add("osm_tag", "place:city") q.Add("osm_tag", "place:town") + q.Add("osm_tag", "place:village") q.Add("limit", "10") u.RawQuery = q.Encode() -- cgit v1.2.3