Skip to content

Commit

Permalink
deleted ne_tiles.mbtiles
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi committed Dec 3, 2021
1 parent 68beb94 commit cf15cd3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ namespace :inet do
u = "https://download.geofabrik.de/#{REGION}/{#{AREA}-latest.osm.pbf}"
sh "curl -C - #{u} --output './src/#1'"
end
if !File.exist?("src/ne_tiles.mbtiles")
u = "https://watergis.github.io/unvt-ne/{ne_tiles.mbtiles}"
sh "curl -C - #{u} --output './src/#1'"
end
end

desc 'clone and build mapbox-gl-js, and copy to docs'
Expand Down Expand Up @@ -59,7 +55,7 @@ end
desc 'build tiles from source data'
task :tiles do
sh "osmium export --config osmium-export-config.json --index-type=sparse_file_array --output-format=geojsonseq --output=- src/#{AREA}-latest.osm.pbf | node filter.js | tippecanoe --no-feature-limit --no-tile-size-limit --force --simplification=2 --maximum-zoom=15 --base-zoom=15 --hilbert --output=#{MBTILES}"
sh "tile-join --force --no-tile-compression --output-to-directory=docs/zxy --no-tile-size-limit #{MBTILES} src/ne_tiles.mbtiles"
sh "tile-join --force --no-tile-compression --output-to-directory=docs/zxy --no-tile-size-limit #{MBTILES}"
end

desc 'build style.json from HOCON descriptions'
Expand Down

0 comments on commit cf15cd3

Please sign in to comment.