[Qgis-user] Rasterize (vector to raster) no longer exists

William Kyngesburye woklist at kyngchaos.com
Thu Jul 18 08:12:13 PDT 2013


Glad to hear it's working.

It's not GDAL 1.10 that's the problem, it's the GdalTools plugin in QGIS 1.8.  As I stated on my site, I won't be rebuilding QGIS 1.8 to use GDAL 1.10, and this problem turns out to be a very good reason, I just missed the little issue of which GDAL is default.  Note that my manual symlink fix probably wouldn't work - it's GDAL python that is the default that is causing trouble, which reinstalling 1.9 also fixes.

I can't think of a solution to have both GDAL versions behave with QGIS 1.8.  I just checked the GdalTools settings, and you can set a GDAL Python path, but the global user python path still overrides this and you get GDAL 1.10.

On Jul 18, 2013, at 9:38 AM, Thiago V. dos Santos wrote:

> Dear William, Etienne and all the others who tried to help me,
> 
> Reinstalling GDAL 1.9 did the trick. Now I have plenty of options under the raster menu again. Yay!!
> 
> Thanks for all the tips, and I hope GDAL 1.10 for Mac is patched soon!
>  
> All the best,
> --
> Thiago V. dos Santos
> PhD student
> Land and Atmospheric Science
> University of Minnesota
> http://www.laas.umn.edu/CurrentStudents/MeettheStudents/ThiagodosSantos/index.htm
> Phone: (612) 323 9898
> From: William Kyngesburye <woklist at kyngchaos.com>
> To: Thiago V. dos Santos <thi_veloso at yahoo.com.br> 
> Cc: Etienne Tourigny <etourigny.dev at gmail.com>; "qgis-user at lists.osgeo.org List" <qgis-user at lists.osgeo.org> 
> Sent: Wednesday, July 17, 2013 8:28 PM
> Subject: Re: [Qgis-user] Rasterize (vector to raster) no longer exists
> 
> ... duh.  I never updated my QGIS 1.8 package for GDAL 1.10.  BUT, when you install GDAL 1.10, it becomes the default for the GdalTools configured path because of a symlink from /Library/Frameworks/GDAL.framework/Programs to the current version.
> 
> The simple fix is to just reinstall GDAL 1.9 to make it the default.  Or if you don't have the GDAL 1.9 installer, type this in a Terminal window:
> 
> sudo ln -sfh versions/1.9/Programs /Library/Frameworks/GDAL.framework/Programs
> 
> Either way you do this, any other Terminal use of GDAL will now also default to 1.9, so you have no easy access to new GDAL 1.10 features in a Terminal.
> 
> I also did not update GRASS 6.4.2 for GDAL 1.10, so you don't need to look for an earlier version to reinstall.
> 
> On Jul 17, 2013, at 7:15 PM, William Kyngesburye wrote:
> 
> > I found the git commit (hopefully just the one).  Applied and seems to work.
> > 
> > I can package an update later...
> > 
> > On Jul 17, 2013, at 6:54 PM, William Kyngesburye wrote:
> > 
> >> If it's GDAL 1.10 causing the problem, did anyone say anything on the list or in a bug report.  I just blindly rebuilt my OS X QGIS to use GDAL 1.10, it would have been nice to know I should not have.
> >> 
> >> Is there a simple fix for this that I could add to my QGIS 1.8 build?
> >> 
> >> If not, Thiago, then reinstall QGIS 1.8-1, this will use the old GDAL 1.9 framework which should still be installed, though the GDAL path in GdalTools config will still point to the latest GDAL 1.10.  For simplicity, reinstall GDAL 1.9, that will reset the default GDAL version, yet still leave both 1.9 and 1.10 installed.  You should probably then reinstall the previous GRASS 6.4.2-? (I forget which build version).  But, I haven't updated my archive in a while so these old versions will be difficult to find if you don't have your own backup of them.
> >> 
> >> ... for all that hassle, I hope that the GdalTools can be easily fixed to avoid all the downgrading.
> >> 
> >> On Jul 17, 2013, at 5:45 PM, Etienne Tourigny wrote:
> >> 
> >>> I am pretty sure it is due to gdal-1.10. The GdalTools plugin has to fixed to support gdal-1.10.  Can you try to downgrade to gdal-1.9?
> >>> 
> >>> Cheers
> >>> Etienne
> >>> 
> >>> On Wed, Jul 17, 2013 at 4:46 PM, Thiago V. dos Santos <thi_veloso at yahoo.com.br> wrote:
> >>> Dear Etienne, Wernner and Giovanni,
> >>> 
> >>> Thanks for the feedback. I examined each of your suggestion and I'm still not sure on what is causing the lack of some options. Everything is enabled, and still the only option I have under raster -> conversion are:
> >>> 
> >>> - Translate (convert format)
> >>> - RGB to PCT
> >>> -  PCT to RGB
> >>> 
> >>> GDAL Path is configured under gdaltools settings as follows:
> >>> 
> >>> /Library/Frameworks/GDAL.framework/Programs:/usr/bin
> >>> 
> >>> (just like recommended by the maintaner of the packages for Mac)
> >>> 
> >>> Any clue?
> 
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> "This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"
> 
> - The Ruler of the Universe
> 
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect





More information about the Qgis-user mailing list