[Qgis-developer] Re: RGB composition plugin

Mauricio de Paulo mauricio.dev at gmail.com
Mon Mar 30 10:50:54 EDT 2009


Thanks for the ideas, Agustin, but I didn't understand topic 2. Could
you explain more? I've actually liked the VRT plugin idea. I'm going to
learn a little about gdal's VRT and see what I can do with it. As far as
I know, VRT is kind of tricky for me... Too many different sintaxes for
different things. But I'm going to try to sort it out.
Glad to see it worked. Are you a ubuntu user? If not, in what system did
you test?
Maurício de Paulo

On Mon, 2009-03-30 at 09:36 +0200, Agustin Lobo wrote:
> Mauricio,
> 
> I've tested it and works fine, at least with tif files.
> 
> Few comments:
> 
> 1. Add the ability to select the destination folder
> 2. Add a button to select/unselect display
> 3. Actually, better than the above, a similar plugin that would
> just create the vrt file would be very useful. As the vrt file
> might have many files (multispectral, hyperspectral, multi-temporal...), 
> this plugin could just read the list of files from a text file.
> 
> Thanks a lot for your contribution!
> 
> Agus
> 
> Mauricio de Paulo wrote:
> > 	As a ubuntu user I also saw that problem. At the moment I'm using
> > GDAL's internals, not gdal_merge. You could say that the previous
> > version was based on gdal_merge as I read some of it's code to start the
> > plugin, but the recent upgrade is not really close to gdal_merge.
> > gdal_merge used the xml editing that I avoided in this version, so I
> > really implemented using python-gdal library. That's the only
> > requirement now.
> > 	Hope it works fine. I still don't know how windows and mac users are
> > going to cope with python-gdal, but I think I saw the package in the
> > osgeo repository.
> > 	All the best,
> > 	Maurício de Paulo
> > 
> > 
> > On Sun, 2009-03-29 at 23:33 +0200, Agustin Lobo wrote:
> >> I also think that we should use gdal as much as possible,
> >> the gdal_utilities are very good and I do use vrt files a lot
> >> for time series of images.
> >> But one problem is getting the appropriate gdal binary
> >> for the different unix distros. For example, the current
> >> gdal binary for ubuntu 8.04 (which is the LTS) is only 1.4.4 and does 
> >> not have gdal_merge, I had to download it separately.
> >> How are you solving this problem? Are you including gdal_merge.py
> >> or are you relying on the latest gdal version (which is 1.6.0 I think)?
> >>
> >> Agus
> >>
> >> Mauricio de Paulo wrote:
> >>> Thanks for the interest, Augustin.
> >>> I've upgraded it to 1.0 API and made a huge change in code so that it
> >>> only uses gdal to set the VRT Raster, not xml messing anymore, so the
> >>> code should be more stable with gdal.
> >>> Again, the plugin is a gui to create a VRT raster colour composite. Gdal
> >>> does everything else by itself.
> >>> I should say that MANY features are being implemented in gdal through
> >>> VRT and other XML stuff (as wms). Maybe we should start thinking about
> >>> using VRT for other solutions (Filtering is the first easy one that I
> >>> think, but I truly think that gdal can war on the fly using vrt).
> >>> Thanks for testing,
> >>> Maurício de Paulo
> >>>
> >>> On Sun, 2009-03-29 at 11:16 +0200, Agustin Lobo wrote:
> >>>> Mauricio,
> >>>> It would be great.  Do you have it in a repository?
> >>>> Can we try it?
> >>>>
> >>>> Agus
> >>>>
> >>>> Mauricio de Paulo wrote:
> >>>>> I've written a RGB composition plugin using virtual raster and gdal.
> >>>>> Should I rewrite it to 1.0?
> >>>>>
> >>>>>   
> >>>
> > 
> > 



More information about the Qgis-developer mailing list