From 3c16c628d1e640b77c6e672376baf386ea1007a2 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 7 May 2016 20:22:10 +0200 Subject: [PATCH] Fix: Used wrong boundary variables --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 9ec57b8..1780c38 100644 --- a/main.go +++ b/main.go @@ -136,7 +136,7 @@ func createChangeset(osmClient *osm.Client) *osm.Changeset { func getHydrantsFromOSM(osmClient *osm.Client, bds bounds) []*hydrant { border := 0.0009 // Equals ~100m using haversine formula - mapData, err := osmClient.RetrieveMapObjects(bds.MaxLon, bds.MinLat-border, bds.MaxLon+border, bds.MaxLat+border) + mapData, err := osmClient.RetrieveMapObjects(bds.MinLon-border, bds.MinLat-border, bds.MaxLon+border, bds.MaxLat+border) if err != nil { log.Fatalf("Unable to get map data: %s", err) }