Build points from repo
This commit is contained in:
parent
634df5ebf4
commit
4c9b1b555f
1 changed files with 10 additions and 1 deletions
|
@ -15,8 +15,17 @@ do
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
tippecanoe -aN -z"$zoom" -o "$temp/strecken.pmtiles" $temp/*.json
|
tippecanoe -aN -z"$zoom" -o "$temp/strecken.pmtiles" $temp/*.json
|
||||||
|
|
||||||
mv $temp/strecken.pmtiles "$2"
|
if [ -f "$1/points.json" ]
|
||||||
|
then
|
||||||
|
ogr2ogr -t_srs WGS84 "$temp/points.json" "$1/points.json"
|
||||||
|
tippecanoe -aN -z12 -r1 -o "$temp/points.pmtiles" "$temp/points.json"
|
||||||
|
jq '.points_url = "points.pmtiles"' "$1/layers.json" > "$2/layers.json"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
mv $temp/*.pmtiles "$2"
|
||||||
|
|
||||||
rm -r $temp
|
rm -r $temp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue