From c2338f553108fffa311ea867531efa5bf6c9fa3d Mon Sep 17 00:00:00 2001 From: Adam Kasinski Date: Wed, 24 Jul 2024 01:19:35 +0200 Subject: [PATCH] bugfix in tile_osm_file --- src/tile.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tile.jl b/src/tile.jl index a52c9f7..a72a97d 100644 --- a/src/tile.jl +++ b/src/tile.jl @@ -278,6 +278,9 @@ function tile_osm_file(filename::AbstractString, bounds::Bounds = getbounds(file while !eof(io) line = readline(io) + if isempty(line) + continue + end type, subtype, id = gettag(line) if type == :node curtileset = gettiles(nodesDict[id],boundstiles,nodesnn)