Install GDAL frameworks and QGIS - redundant?
Just wondering if GDAL tools are actually already within QGIS -- was it redundant for me to install them on my OS X Yosemite independently? Recently I used GDAL tools to explode .kml data for use within QGIS -- I was able to do this since following cookie crumbs led me to install GDAL for the solution.
When you install QGIS in Mac OS X (via the Kyng Chaos version, via different Homebrew versions as the osgeo4mac version of Larry Shaffer or via MacPorts) you need to install also GDAL/OGR.
And you can use the programs/libraries independently of QGIS (Mac OS X is a Unix system and the GDAL tools are not within QGIS)
For example the GDAL Tools of the Kyng Chaos version are in
/Library/Frameworks/GDAL.framework/Versions/1.11/Programsand if you want to use one of them in the shell (Terminal)
/Library/Frameworks/GDAL.framework/Versions/1.11/Programs/gdal-config --datadir /Library/Frameworks/GDAL.framework/Versions/1.11/Resources/gdal
(/usr/local/bin for the Homebrew version)
You can also put the line:
In your .bash_profile file (hidden file in the /users/you directory) and use directly
You can also use the Python module
import osgeo osgeo.__file__ '/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages/osgeo/__init__.pyc' from osgeo import gdal gdal.__file__ '/Library/Frameworks/GDAL.framework/Versions/1.11/Python/2.7/site-packages/osgeo/gdal.pyc'
So, you don't need to reinstall the GDAL tools (except if you are comfortable with the Unix PATH system)
At least the GDALTools core plugin uses the tools directory for raster operations. Not sure if they are being used elsewhere.