You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i get following error when i try to build my mbtiles.
root@3bec1a7ffcb2:/workspaces/map# tilemaker --input bahamas-latest.osm.pbf --output output.mbtiles --store /temp
Layer roads (z14-14)
Layer buildings (z14-14)
Layer pois (z14-14)
Bounding box -81.5186, 20.2725, -71.8667, 28.256
Using osm store file: /temp
Filename: /temp/mmap_0.dat, size: 1024000000
Generated points: 0, lines: 0, polygons: 0
Reading .pbf bahamas-latest.osm.pbf
(Scanning for ways used in relations: 0%) (50 ms)
lua runtime error:
table ` is not function or thread'
Lua error on node 242118595
Someone can help me to fix this?
lua:
function way_function(way)
if way:Find("highway") then
if way:Holds("name") then
way:Layer("roads", true)
way:Attribute("name", way:Find("name"))
end
end
if way:Find("building") then
way:Layer("buildings", true)
end
end
I think this might be because you're missing node_function in your Lua code. Have a look at process-debug.lua and process-example.lua in the resources/ directory.
Hi i get following error when i try to build my mbtiles.
Someone can help me to fix this?
lua:
config:
The text was updated successfully, but these errors were encountered: