mirror of
https://github.com/Luzifer/gpxhydrant.git
synced 2024-12-22 20:21:17 +00:00
Fix: Increased border as default matching range are 20m
This commit is contained in:
parent
0de60d94a7
commit
8a18e2454b
1 changed files with 1 additions and 1 deletions
2
main.go
2
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)
|
||||
|
|
Loading…
Reference in a new issue