Excuse me, I have a confusing question. I'm using an osm.pbf file for a region as a base, but don't want any osm data, so I've introduced two shp files as a data source and created two layers.
But when I specify only config.json, and execute the build command, it gives me an error saying “a layer named as ‘poi_detail’ doesn't exist”. I realized that it was process.lua that was causing the problem. So I proceeded to specify resources/process-coastline.lua, but all that was generated was an almost blank mbtiles file without any tile data.
Therefore, I would like to ask how should I configure it so that there is only shp file data in the tile?
Here is my config.json:
-- Enter/exit Tilemaker
function init_function()
end
function exit_function()
end
node_keys = {}
function node_function()
end
function way_function()
end
function attribute_function(attr)
return attr
end
Excuse me, I have a confusing question. I'm using an osm.pbf file for a region as a base, but don't want any osm data, so I've introduced two shp files as a data source and created two layers. But when I specify only config.json, and execute the build command, it gives me an error saying “a layer named as ‘poi_detail’ doesn't exist”. I realized that it was process.lua that was causing the problem. So I proceeded to specify resources/process-coastline.lua, but all that was generated was an almost blank mbtiles file without any tile data. Therefore, I would like to ask how should I configure it so that there is only shp file data in the tile? Here is my config.json:
and this is my process.lua: