[Qgis-user] terrain profile tool and geotiff

benoit-3 at bc-consult.com benoit-3 at bc-consult.com
Fri May 13 00:37:10 PDT 2011


 Hi Eelke,

 On Fri, 13 May 2011 09:23:10 +0200, Eelke Folmer <e.o.folmer at gmail.com> 
 wrote:
> Thanks Mayeul,
> I tried the spectral profile plugin also. It gives the values if
> multiple (max 5) at a point but not along a transect. The Profile 
> Tool
> makes a profile along a transect for max 3 one-band raster layers.
> I guess I will need to split the bands; any hints?
> Regards,
> Eelke
>

 Have a look at the "translate" option of the Raster menu.
 Or, perhaps quicker, use GDAL commands from a "command" prompt:
 -> gdal_translate your_input_3-band_raster_filename 
 Output_filename_band1.tif -b1
 -> gdal_translate your_input_3-band_raster_filename 
 Output_filename_band2.tif -b2
 -> gdal_translate your_input_3-band_raster_filename 
 Output_filename_band3.tif -b3

 HTH
 Benoit


>
>
>
> Op 5/13/2011 12:10 AM, Mayeul Kauffmann schreef:
>> Hi, there are TWO profile python plugins, maybe try the other plugin
>> first...
>> (Not sure this helps...)
>> Mayeul
>>
>> Le jeudi 12 mai 2011 à 12:10 +0200, Eelke Folmer a écrit :
>>> Hi,
>>> I would like to obtain profiles from various bands in a geotiff. 
>>> The
>>> terrain profile tool needs a one band raster layer. Is there a 
>>> trick to
>>> do this or should I split the geotiff into separate bands? If so, 
>>> how
>>> would I go about that?
>>> Thanks in advance,
>>> Eelke
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list