Permalink
Browse files

Update build-a-map.md

fix bounds argument and add api key requiremnet
  • Loading branch information...
meetar committed Nov 21, 2017
1 parent 121b592 commit aeea14a8e44d21b3fc363f4d385d414a2f2b9a3b
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/build-a-map.md
@@ -18,7 +18,7 @@ The [collect.py](https://github.com/tilezen/joerd/blob/master/docs/examples/coll

Download tiles into a named local directory:

`python collect.py --bounds 37.8434, -122.3193, 37.7517, -122.0927 --zoom 12 directory/path/`
`python collect.py --bounds 37.8434 -122.3193 37.7517 -122.0927 --zoom 12 --mapzen_api_key mapzen-XXXXXXX directory/path/`


### GDAL
@@ -27,7 +27,7 @@ When [GDAL](http://www.gdal.org) is installed, the collect script can optionally

To trigger this behavior specify an output filename ending in `.tif`, `.tiff`, or `.geotiff` and **gdal_merge.py** will be called to merge all downloaded tiles into a single image (and removes the intermediate files):

`python collect.py --bounds 37.8434, -122.3193, 37.7517, -122.0927 --zoom 12 directory/path/merged_filename.tif`
`python collect.py --bounds 37.8434 -122.3193 37.7517 -122.0927 --zoom 12 --mapzen_api_key mapzen-XXXXXXX directory/path/merged_filename.tif`

GDAL includes additional analytics, hill shading, and contouring algorithms. For instance, you could run [gdaldem hillshade](http://www.gdal.org/gdaldem.html#gdaldem_hillshade) on the merged file to generate a basic hillshade. Mapbox has a great [tutorial](https://www.mapbox.com/tilemill/docs/guides/terrain-data/#creating-hillshades) with full set of options.

0 comments on commit aeea14a

Please sign in to comment.