Open DeepakSharda opened 1 month ago
Thanks. You are suggesting this for inclusion in the "recipe" section of the README?
if it helps people why not . some of them can help and make it better .
this approach is best to reduce the tile size but merging Tile-Join takes ages it runs sometimes for 24 hours and use only single core on 48 core machine. how we can use tile join to use all the cores ?
Erica,
We tried different approach to dump data in geojson based of the fclass tags from OSM data. We tried to make tiles smaller and effecient with this reciepe. This recipe is for people who is being using tippecanoe to make tiles lighter and faster.
landuse_1
tippecanoe -z17 -Z4 -o ./mbtiles/landuse_1.mbtiles --drop-densest-as-needed --detect-shared-borders --coalesce-densest-as-needed -pS -P landuse_1.geojson -y fclass -y name
landuse_2
tippecanoe -z17 -Z8 -o ./mbtiles/landuse_2.mbtiles --drop-densest-as-needed --detect-shared-borders --coalesce-densest-as-needed -pS -P landuse_2.geojson -y fclass -y name
landuse_3
tippecanoe -z17 -Z12 -o ./mbtiles/landuse_3.mbtiles --drop-densest-as-needed --detect-shared-borders --coalesce-densest-as-needed -pS -P landuse_3.geojson -y fclass -y name
for roads
roads (trunk_motorways)
tippecanoe -z17 -Z4 -o ./mbtiles/trunk_motorway_road.mbtiles --drop-densest-as-needed --coalesce-densest-as-needed -pS -P trunk_and_motorway_and_link.geojsonl.json -y oneway -y ref -y fclass -y name -y bridge -y tunnel
roads (primary roads)
tippecanoe -z17 -Z7 -o ./mbtiles/primary_road.mbtiles --drop-densest-as-needed --coalesce-densest-as-needed -pS -P primary_and_link.geojsonl.json -y fclass -y name -y bridge -y tunnel -y oneway -y ref
roads (secondary roads)
tippecanoe -z17 -Z9 -o ./mbtiles/secondary_road.mbtiles --drop-densest-as-needed --coalesce-densest-as-needed -pS -P secondary_link_service.geojsonl.json -y fclass -y name -y bridge -y tunnel -y oneway -y ref
roads (tertiary roads)
tippecanoe -z17 -Z10 -o ./mbtiles/tertiary_road.mbtiles --drop-densest-as-needed --coalesce-densest-as-needed -pS -P tertiary_and_link.geojsonl.json -y fclass -y name -y bridge -y tunnel -y oneway -y ref
roads (residential roads)
tippecanoe -z17 -Z14 -o ./mbtiles/residential_road.mbtiles --drop-densest-as-needed --coalesce-densest-as-needed -pS -P residential_all.geojsonl.json -y fclass -y name -y bridge -y tunnel -y oneway -y ref
roads (mix roads)
tippecanoe -z17 -Z15 -o ./mbtiles/mix_road.mbtiles --drop-densest-as-needed --coalesce-densest-as-needed -pS -P mix_roads.geojsonl.json -y fclass -y name -y bridge -y tunnel -y oneway -y ref
roads (unclassesfiled, unknow roads)
tippecanoe -z17 -Z14 -o ./mbtiles/unclassified_unknown_roads.mbtiles --drop-densest-as-needed --coalesce-densest-as-needed -pS -P track_all_unclassified_unknown.geojsonl.json -y fclass -y name -y bridge -y tunnel -y oneway -y ref