[Qgis-developer] GDAL tools - rasterize

Ramon Andinach custard at westnet.com.au
Sun Apr 3 05:03:52 EDT 2011


On 03/04/2011, at 14:56 , Micha Silver wrote:

> On 03/04/2011 05:29, Ramon Andinach wrote:
>> On 03/04/2011, at 09:40 , Ramon Andinach wrote:
>> 
>> 
>>> Hi all,
>>> 
>>> I am attempting to use the GDAL tools plugin (a core plugin) to generate a raster from a vector.
>>> It should be Raster -> Rasterize
>>> 
>>> When I want to select a file to save the output into, I'm getting confused.
>>> Following SOP, I press the select button, browse to the right place and type my filename in.
>>> But the button that is normally named "save" stays greyed out.
>>> 
>>> Now, the button that is normally "save" says "open" which seems odd.
>>> 
>>> Am I going about this right?
>>> 
>>> If I am, can anyone confirm this?
>>> 
>> I forgot to say:
>> 1.7 on linux r 15655M
>> using GDAL tool 1.2.25
>> 
>> Ok, and I'm going to have a stab at answering my own question.
>> On my linux box QGIS is compiled against 1.6.3, which means gdal_rasterize can't make it's own rasters. Hence, open not save.
>> 
> 
> Correct.
> 
>> Sorry for the dumb-user question.
>> 
>> 
> 
> Not dumb at all. Others have stumbled over the same problem.
> 
>> Related to this, in windows-land the osgeo installer has me up to 1.8 (so on windows GDAL can make a new image).
>> Is my linux install a bit backward?
>> 
> 
> Yes, although 1.7 is really only a "bit" backward.
> 
>> I would have thought using different library versions on different platforms would be adding complexity?
>> 
>> 
> 
> That kind of complexity comes with any multi-platform application like QGIS.  I think the devs and packagers have done an amazing job of keeping all three platforms more or less in line.

I agree. It's a rarity to be able to move between 3 different platforms and have things so similar. Very impressive.

-ramon.



More information about the Qgis-developer mailing list