[Qgis-user] Script for displaying many images in QGIS

Tim Sutton tim at linfiniti.com
Sat Oct 11 13:16:16 PDT 2008


Hi Agustin

I cant remeber if I added it in 0.11.0 or trunk only, but rasters can
also have .qml styles defined. If you define the qmls for your layers.
loading them with qgis *.tif should cause them to display correctly.

That said, image catalogues (e.g. as created by using gdaltindex) are
planned for QGIS, but didnt make it into 1.0. Hopefully its something
we will be able to add to 1.1.

Regards

Tim

2008/10/9 Agustin Lobo <aloboaleu at gmail.com>:
> This is really convenient, I apologize for not having
> looked at man qgis before.
> Nevertheless, it's not perfect: what happens if the
> tif files are multiband? how to select the appropriate bands?
> how to set stretchings?
> An script would be better.
>
> Agus
>
> Jean-Claude Repetto wrote:
>>
>> Agustin Lobo wrote :
>>
>>> I've got a bunch of images acquired with a UAV for which
>>> I can calculate approximate geographical corners. Once I
>>> will have them in geotif, I would like to
>>> display them all over a map or a satellite image. Doing
>>> this manually in QGIS would be tedious, is there any way
>>> I could write an script and get a whole directory
>>> displayed in QGIS, best even defining stretching etc ?
>>> Should this be done by writing a python script?
>>> In such a case, could someone provide me with
>>> the code for displaying one single image as an example?
>>>
>>
>> Hi,
>>
>> I am not sure I fully understand your problem, but when I want to display
>> all the files from a directory, I just type :
>> qgis *.tif
>>
>> Jean-Claude
>>
>
> --
> Dr. Agustin Lobo
> Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
> LLuis Sole Sabaris s/n
> 08028 Barcelona
> Spain
> Tel. 34 934095410
> Fax. 34 934110012
> email: Agustin.Lobo at ija.csic.es
> http://www.ija.csic.es/gt/obster
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Visit http://linfiniti.com to find out about:
 * QGIS programming services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux Irc: timlinux on #qgis at freenode.net
==============================================



More information about the Qgis-user mailing list