WikimapsAtlas / WikimapsAtlas-generator

A command line utility to convert heavy GIS sources into elegant administrative & topographic topojson files, raster files, and web friendly svg maps.
MIT License
45 stars 6 forks source link

install.makefile does not work on OSX #7

Closed planemad closed 6 years ago

planemad commented 8 years ago

Needs to be ported since it use apt-get

> make -f install.makefile

sudo apt-get -y install -y build-essential        #comment, is this needed ?
Password:
sudo: apt-get: command not found
make: *** [low_level] Error 1
planemad commented 8 years ago

Not sure what dependency i'm missing for this:

gdal_translate -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR ./color_reproj.tmp.tif ./color.gis.tif   # compress
Input file size is 1881, 1431
Warning 6: 'JPEG' is an unexpected value for COMPRESS creation option of type string-select.
0ERROR 1: Cannot create TIFF file due to missing codec for JPEG.
make[1]: *** [background_colors] Error 1
make: *** [topography] Error 2
hugolpz commented 8 years ago

Ok. gdal_translate documentation confirms it's a valid value. @planemad : Do you have imagemagick on your computer ? I do. It may help. Next step : create early an issue on http://gis.stackexchange.com/questions/ , as answers come in 3 to 7 days.

jaakla commented 8 years ago

I got this resolved by re-installing whole GDAL framework. Tried first reinstalling UnixImageIO but this was not enough.