diff --git a/reader/reader.go b/reader/reader.go index 726f58c..8905922 100644 --- a/reader/reader.go +++ b/reader/reader.go @@ -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)