From 8a18e2454b5132d781092fcacdbbe594da165820 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 7 May 2016 14:16:01 +0200 Subject: [PATCH] Fix: Increased border as default matching range are 20m --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 14039ba..a19bd9d 100644 --- a/main.go +++ b/main.go @@ -243,7 +243,7 @@ func main() { log.Printf("Working on Changeset %d", cs.ID) } - border := 0.00009 // Equals ~10m using haversine formula + border := 0.0009 // Equals ~100m using haversine formula mapData, err := osmClient.RetrieveMapObjects(minLon-border, minLat-border, maxLon+border, maxLat+border) if err != nil { log.Fatalf("Unable to get map data: %s", err)