in the python console I can call import gdal, and gdal is recognized as a module; however, most gdal programs, such as gdalinfo and gdalsrsinfo are not recognized. I checked the GDAL source files to see if there was a problem with the PYTHONPATH. They were not in the QGIS application resources, so I moved them manually… this still did not solve the problem.
if i enter gdalsrsinfo /Filepath/File.prj the console returns the error:
Traceback (most recent call last): File "", line 1, in File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ImportError: No module named gdalsrsinfo
However this is a function that should be included in GDAL by default. Why is it not recognized? I am using the latest version from KyngChaos
Any help appreciated. Thanks!