[QGIS-trac] Re: [Quantum GIS] #3170: many GDAL Tools don't work in OS X standalone

Quantum GIS qgis at qgis.org
Sat Apr 23 12:41:22 EDT 2011


#3170: many GDAL Tools don't work in OS X standalone
------------------------------------------------+---------------------------
   Reporter:  kyngchaos                         |              Owner:  brushtyler   
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  GDALTools                         |            Version:  1.5.0        
   Keywords:  gdal python                       |   Platform_version:               
   Platform:  OS X                              |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------

Comment(by kyngchaos):

 I didn't know the GDAL ''executable'' path is also used for the Python
 ''module'' path.  Doesn't make sense, they're different things.

 Another possibility - add the QGIS python path to the environment
 PYTHONPATH before running external python scripts.  Even better would be
 to add the QGIS bin folder the the environment PATH before running
 external programs.  This takes care of the standalone case, AND the user
 doesn't need to fuss with configuring the GDAL path (the standalone should
 be zero-config so the user can start using QGIS immediately).

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3170#comment:5>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services


More information about the QGIS-trac mailing list