New answers tagged osx
So I figured it out! gdal_translate -b 2 input_rgb.tiff output_green.tiff gdaldem color-relief output_green.tiff green_colortable.txt output_green_rgb.tiff taking the colortable from QGIS. I did this for both red and green bands. After that I combined them by using Mapnik!
if you use the Kyng Chaos version: 1) First solution with the PYTHONPATH variable: Add qgis to the PYTHONPATH (terminal) $ export PYTHONPATH=/Applications/Qgis.app/Contents/Resources/python You can add this line to your .bash_profile Then in Python # Import qgis from qgis.core import * ...
Depends on how you installed QGIS. I downloaded it from qgis.org and this is where its Python packages are: $ pwd /Applications/QGIS.app/Contents/Resources/python $ python -c "import qgis; print qgis.__author__" Martin Dobias If that's not the same for you, use the find utility to look for core.so.
Top 50 recent answers are included