Skip to content

Commit

Permalink
bugfix in tile_osm_file (#3)
Browse files Browse the repository at this point in the history
add ignoring empty lines
  • Loading branch information
AdamKasinski authored Jul 24, 2024
1 parent d567e43 commit bc6f807
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc6f807

Please sign in to comment.