4 # sudo -u tileupdate import-planet osmfile.osm.pbf
5 # sudo -u tileupdate import-planet --cache 50000 osmfile.osm.pbf
6 # This script sets the appropriate Lua and style paths for the osm2pgsql import
10 export LUA_PATH='/srv/vector.openstreetmap.org/osm2pgsql-themepark/lua/?.lua;/srv/vector.openstreetmap.org/spirit/?.lua;;'
12 # Import the osm2pgsql file specified as an argument, using the locations for spirit
15 --style '/srv/vector.openstreetmap.org/spirit/shortbread.lua' \
17 <%= @node_store_options %> \
21 # Set up replication. This doesn't specify the replication server, so it will use planet.osm.org on extracts
22 osm2pgsql-replication init \
24 --server '<%= node[:vectortile][:replication][:url] %>'