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 + version/version.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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() diff --git a/version/version.go b/version/version.go index dc7b01d..643d780 100644 --- a/version/version.go +++ b/version/version.go @@ -4,4 +4,4 @@ // Peach version. package version -const Version = "0.4.0" +const Version = "0.4.1.dev1" -- cgit v1.2.3