Cyclosm: remove (deprecated) font warning in mapnik
This commit is contained in:
parent
6488beaf79
commit
40a760e941
5
run.sh
5
run.sh
@ -23,6 +23,11 @@ function compileStyle() {
|
|||||||
sed -i "s/.zip/.shp/g" ./cyclosm-cartocss-style/project.mml
|
sed -i "s/.zip/.shp/g" ./cyclosm-cartocss-style/project.mml
|
||||||
# change dbname
|
# change dbname
|
||||||
sed -i 's/dbname: "osm"/dbname: "gis"/g' ./cyclosm-cartocss-style/project.mml
|
sed -i 's/dbname: "osm"/dbname: "gis"/g' ./cyclosm-cartocss-style/project.mml
|
||||||
|
# remove some deprecated fonts
|
||||||
|
sed -i 's/, "unifont Medium", "Unifont Upper Medium"//g' ./cyclosm-cartocss-style/fonts.mss
|
||||||
|
sed -i 's/"Noto Sans Tibetan Regular",//g' ./cyclosm-cartocss-style/fonts.mss
|
||||||
|
sed -i 's/"Noto Sans Tibetan Bold",//g' ./cyclosm-cartocss-style/fonts.mss
|
||||||
|
sed -i 's/Noto Sans Syriac Eastern Regular/Noto Sans Syriac Regular/g' ./cyclosm-cartocss-style/fonts.mss
|
||||||
# carto build
|
# carto build
|
||||||
carto cyclosm-cartocss-style/project.mml > mapnik.xml
|
carto cyclosm-cartocss-style/project.mml > mapnik.xml
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user