fix IMPOSM_SKIP_COORDS/IMPOSM_SKIP_NODES for benchmarking
parent
fa4a8f7b73
commit
8f8bebb843
|
@ -195,6 +195,9 @@ func ReadPbf(
|
|||
coordsSync.Wait()
|
||||
continue
|
||||
}
|
||||
if skipCoords {
|
||||
continue
|
||||
}
|
||||
if withLimiter {
|
||||
for i, _ := range nds {
|
||||
if !limiter.IntersectsBuffer(g, nds[i].Long, nds[i].Lat) {
|
||||
|
@ -225,6 +228,9 @@ func ReadPbf(
|
|||
coordsSync.Wait()
|
||||
continue
|
||||
}
|
||||
if skipNodes {
|
||||
continue
|
||||
}
|
||||
numWithTags := 0
|
||||
for i, _ := range nds {
|
||||
m.Filter(&nds[i].Tags)
|
||||
|
|
Loading…
Reference in New Issue