Skip to content
Yohan Boniface edited this page Jul 12, 2015 · 3 revisions

See Kosmtik, if you want to use the style without DEM.

  1. get the needed tiles from CGIAR; for example for Burundi we need 42/12, 42/13, 43/12 and 43/13

  2. run the fetch.sh script with West,North,East,South tiles coordinates as parameter, for example for Burundi it comes:

    ./fetch.sh 42,12,43,13

  3. Then run the hillshade.sh script to create the hillshade

  4. Then ./hillshade_to_vrt.sh to index the hillshade in a .vrt file in the data directory. You need to reference this file as source for the layer hillshade in your cartocc.json file.

  5. Generate contour lines with merge_contour.sh. This will generate a contour-25m.shp file in the data dir. Use this file for the layer contour_line.

Clone this wiki locally