[Qgis-user] qgis python script, add raster to bottom of map

2021-11-01 Thread tim dunlevie
Hi all,

I have an index of rasters.
I have added an action to the QGIS dataset which will open the raster
directly into QGIS.

The script I use is this:

from qgis.utils import iface
qgis.utils.iface.addRasterLayer('[% path %]')
index =
QgsProject.instance().mapLayersByName('Catalogue_Raster_Aerial_Photography')[0]
iface.setActiveLayer(index)

It works well, except the raster loads to the 'top' of the layer list.
Is there a command to use so that the image loads to the bottom of the map?
I prefer to have my index always on top of the list.

thanks
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [QGIS-it-user] aggiornamento profilo versione qgis 3 e crash quando si carica qualunque file

2021-11-01 Thread Ivano Giuliano
Ciao,
considerata la situazione, suggerirei a questo punto, una radicale
disinstallazione completa   (fondamentale la pulizia del registro di
sistema) e una installazione pulita di QGIS a partire da una LTR, più
 stabile  e collaudata. Vi sono chiaramente dei conflitti interni,  può
essere tra Plugin o SW, ma sarebbe come ricercare un ago in un pagliaio.

Mio consiglio: a SO pulito creare sempre un punto di ripristino.

Saluti.

Ivano




Il giorno mer 27 ott 2021 alle 12:28 Claudio Cereda 
ha scritto:

>
> BRUTTE NUOVE
> usando il trascinamento ho messo due layer vettoriali e poi ho cercato di
> fare il merge: crash
> usando il trascinamento ho messo due layer vettoriali e poi ho cercato di
> salvare il progetto: crash
> Va in crash ogni volta che il programma chiama il S.O. per accedere al
> file system
>
> 
> Claudio Cereda - località Solaia 2 53015 Monticiano
> 0577 1698309 348 9131341
>
>
> Da: "Cereda Claudio" ceredaclau...@teletu.it
> A: "Andrea Giudiceandrea" andreaer...@libero.it,"lista user qgis"
> qgis-it-user@lists.osgeo.org
> Cc: "Claudio Cereda" ceredaclau...@teletu.it
> Data: Wed, 27 Oct 2021 12:03:28 +0200
> Oggetto: Re: [QGIS-it-user] profilo versione qgis 3 e crash quando si
> carica qualunque file
>
> > Ho creato un nuovo profilo utente e va in crash anche quello nuovo. Il
> crash avviene quando si apre la seconda finestra che ti ho messo nella
> immagine cioè quando il programma entra nella fase di selezione di un file
> e non sono mai riuscito a selezionarlo perché va in crash prima e quando va
> in crash esce semplicemente senza aprire alcuna finestra di debug
> > La installazione l'ho fatta con il file.msi
> > Buone notizie quando uso gestione risorse per trascinamento la cosa
> funziona.
> > Da gestione delle Sorgenti va in crash esattamente allo stesso modo
> > Dal pannello browser funziona
> > Mi sembrano notizie importanti per capire cosa succede e dove c'è
> l'errore
> > Claudio Cereda località Solaia 2 Monticiano 3489131341 05771698309
>
> > In data 27 ottobre 2021 11:30:59 Andrea Giudiceandrea <
> andreaer...@libero.it> ha scritto:
>
> > Il 27/10/2021 10:42, Claudio Cereda ha scritto:
>>
>>> > 3) l'unico file che potrebbe contenere le informazioni di mappatura
>>> > qgis.ini che si trova nella cartella qgis del profilo. Se non è il
>>> file
>>> > giusto dove devo guardare e con quale strumento aprire?
>>>
>>
>> > Ciao Claudio,
>> > non c'è bisogno di modificare quel file. Se il crash è causato da
>> > un'impostazione o configurazione di QGIS, come può essere una eventuale
>> > risorsa di rete non più disponibile, allora basta creare un nuovo
>> > profilo utente di QGIS e usare tale nuovo profilo utente.
>> > Per creare un nuovo profilo utente basta usare il menu
>> > Impostazioni->Profili Utente->Nuovo profilo. Dato un nome al nuovo
>> > profilo verrà avviata una nuova istanza di QGIS che usa il nuovo
>> profilo
>> > utente con le impostazioni di default.
>> > A questo punto puoi chiudere la precedente istanza di QGIS e usare la
>> > nuova che usa il nuovo profilo utente.
>>
>> > Per maggiori informazioni:
>> >
>> https://docs.qgis.org/3.16/it/docs/user_manual/introduction/qgis_configuration.html#working-with-user-profiles
>>
>> > Che succede, usando il nuovo profilo utente, quando provi ad aggiungere
>> > un layer?
>> > QGIS va in crash appena clicchi sul pulsante per aprire la finestra di
>> > selezione del file, oppure va in crash solo quando selezioni o apri la
>> > cartella in cui si trova il file?
>> > Quando va in crash appare una finestra con le informazioni di debug?
>>
>> > Ci sono vari modi per aggiungere un layer.
>> > Uno è quello tramite il pulsante "Aggiungi layer vettoriale" che apre
>> la
>> > finestra del "Gestore delle Sorgenti Dati" con la modalità "Vettore".
>> > Un altro è sempre tramite il "Gestore delle Sorgenti Dati", ma usando
>> la
>> > modalità "Browser".
>> > Un altro ancora è tramite il pannello "Browser".
>> > E inoltre puoi trascinare il layer dalla cartella di Esplora Risorse di
>> > Windows direttamente nella finestra di QGIS.
>> > QGIS va in crash in tutti casi?
>>
>> > Quale installer hai usato esattamente per installare QGIS 3.16.11?
>> > Hai usato "QGIS Standalone Installer Version 3.16"
>> > QGIS-OSGeo4W-3.16.11-1.msi oppure "QGIS Standalone Installer Versione
>> > 3.16 (64 bit)" QGIS-OSGeo4W-3.16.11-1-Setup-x86_64.exe?
>>
>> > A presto.
>>
>> > Andrea
>> > ___
>> > QGIS-it-user mailing list
>> > QGIS-it-user@lists.osgeo.org
>> > https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>>
>
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
-- 
Dr. Ivano Giuliano
GIS & Digital Administration
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] Windows 11 - QGIS and or ODM?

2021-11-01 Thread Tony Shepherd (FarmMaps NZ)
HI All

 

I am being pestered by Windows to upgrade to Win 11.  Has anybody done that
already and if so were there any issues with QGIS (or ODM if you use it?)?

 

Cheers

Tony

 

Tony Shepherd  |  GeoSpatial / Mapping Manager

Ph 027 435 6193  |  E   t...@farmmaps.nz

FarmMaps NZ, 3 Kerwood Place, Gore 9740

 



 

 

 
 

 

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Ubuntu impish (21.10) release coming any time soon?

2021-11-01 Thread chris hermansen
Richard and list,

On Sat, Oct 30, 2021 at 11:51 PM Richard Duivenvoorde 
wrote:

> On 10/23/21 12:26 PM, Richard Duivenvoorde wrote:
> > On 10/23/21 12:44 AM, chris hermansen wrote:
> >> Good day everyone,
> >>
> >> Does anyone know when, at least approximately,
> https://qgis.org/ubuntu/dists/  will
> contain an impish release?  Better, can anyone tell me where to look for
> this kind of info?
> >
> > https://github.com/qgis/QGIS/issues/45641
> > to maybe ping packaging volunteer(s) if they missed the Ubuntu release.
>
> FYI: It's there now [0][1]! Apparently it was wiser/easier to package 3.22
> for the new Ubuntu, and timing of the Ubuntu release was a little too
> early.  :-)
>

Thanks very much for keeping my question in mind and updating this thread!
And in case the packaging volunteer(s) are reading this, thanks to you too,
for your great support.

I've updated the gpg key and I'm running apt right now.


-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Batch Aerial Imagery GeoReferencing

2021-11-01 Thread Charles Dixon-Paver
Just to add to this, QGIS supports using raster images for points with data
driven properties, so with some expression-fu and native tools you can get
decent approximations for images from just exif data. I have wanted to
build a basic template project for the solutions hub but haven't found the
time yet. One issue is that qgis cannot currently distort or "warp" the
raster to the relevant affine parameters, which is where the georeferencing
tool may be used, perhaps using a model. Sadly, scripting the georeferencer
is not that easy, however QGIS does provide a "generate gdal script" for
supported transformations.

There is, however, a community plugin for doing much of this here:
https://verticalphotoplacer.github.io/VerticalPhotoPlacer/

It's a bit clunky to set up and uses external dependencies like exif tools
(3.22 now has a full set of exif expressions so this plugin might be
updated to remove that requirement soon), but it should be functional for
basic usage as I understand the original query. Just be sure to read the
docs.

I'm also not sure how well this would handle large files, you'd probably
need to chunk your data into reasonably sized projects or individual
flights etc.

Just a note that this is in reference to defining and referencing
"footprints" from airstations mostly, although that plugin does provide
some limited visual tools like attempts at mosaicing etc. Pix4D/ AgiSoft
and other commercial software is likely to give you similar results for
mosaics etc from ODM and other SFM tools. If you want to orthorectify you
may be better off just using MicMac directly from commandline, or if you
want to georeference you can simply loop through files with gdal, ossim, or
similar tools.

There are also tools like https://docs.dronedb.app/ for generating image
footprints etc from exif and other tools, although I had pretty limited
success using that toolkit.

Regards


On Mon, 1 Nov 2021 at 14:58, Kirk Schmidt  wrote:

> Hi Richard:
>
> You would require a couple of things:
>
> 1) Camera interior orientation which would include the lens calibration
>
> 2) exterior orientation which would include precise coordinate at time of
> exposure as well as the pitch, roll and yaw of the camera.
>
> 3) the offsets from the camera film or sensor center to the center of the
> aircraft gps antenna.
>
> 4) an accurate DEM or your target area
>
> If you have the above data, you can autoreference your images.
>
> If the images have a high endlap and sidelap, you could use commercial
> software such as Pix4D or  Global Mapper to orthorectify the images based
> on structure from motion.  Check into drone orthorectification software.
>
> Kirk
>
>
>
> On 10/29/2021 9:13 AM, Richard McDonnell wrote:
>
> Afternoon all,
>
> I have access to over 6000 Aerial Images covering Ireland, we also have
> scans of the Flight Paths and Image Orientation and Extents (Scans from
> Paper Maps)
>
> What I was wondering is if there is a way to Batch Georeference all of
> these Images?
>
> Any Ideas, help, guidance welcome. I have thought about maybe even reverse
> engineering the Flight Plan, then using OpenDroneMap to georeference the
> Images.
>
> Regards & Thanks,
>
>
>
> Richard McDonnell
>
> ——
> Richard McDonnell MSc GIS, FME Certified Professional
> *FRM Data Management*
>
> ——
> Oifig na nOibreacha Poiblí
> Office of Public Works
>
> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
> Jonathan Swift Street, Trim, Co Meath, C15 NX36
> ——
> M +353 87 688 5964 T +353 46 942 2409
> https://gov.ie/opw
>
> ——
> To send me files larger than 30MB, please use the link below
> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>
> Email Disclaimer:
> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>
> ___
> Qgis-user mailing listqgis-u...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> --
> Kirk Schmidt, MScF, BScF, RPF
> General Manager
> Nortek Resource Solutions Inc.
> 26 Church Road
> Sutherlands River, NS
> B0K 1W0
> Tel (902) 922.3607
> Email: k...@nortekresources.com
> Web: www.nortekresources.com
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Batch Aerial Imagery GeoReferencing

2021-11-01 Thread Kirk Schmidt

Hi Richard:

You would require a couple of things:

1) Camera interior orientation which would include the lens calibration

2) exterior orientation which would include precise coordinate at time 
of exposure as well as the pitch, roll and yaw of the camera.


3) the offsets from the camera film or sensor center to the center of 
the aircraft gps antenna.


4) an accurate DEM or your target area

If you have the above data, you can autoreference your images.

If the images have a high endlap and sidelap, you could use commercial 
software such as Pix4D or  Global Mapper to orthorectify the images 
based on structure from motion.  Check into drone orthorectification 
software.


Kirk



On 10/29/2021 9:13 AM, Richard McDonnell wrote:


Afternoon all,

I have access to over 6000 Aerial Images covering Ireland, we also 
have scans of the Flight Paths and Image Orientation and Extents 
(Scans from Paper Maps)


What I was wondering is if there is a way to Batch Georeference all of 
these Images?


Any Ideas, help, guidance welcome. I have thought about maybe even 
reverse engineering the Flight Plan, then using OpenDroneMap to 
georeference the Images.


Regards & Thanks,

Richard McDonnell


——
Richard McDonnell MSc GIS, FME Certified Professional
/FRM Data Management/

——
Oifig na nOibreacha Poiblí
Office of Public Works

Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
Jonathan Swift Street, Trim, Co Meath, C15 NX36
——
M +353 87 688 5964 T +353 46 942 2409
https://gov.ie/opw

——
To send me files larger than 30MB, please use the link below 
https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie


Email Disclaimer: 
https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user


--
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
26 Church Road
Sutherlands River, NS
B0K 1W0
Tel (902) 922.3607
Email:k...@nortekresources.com
Web:www.nortekresources.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Korean encoding, cp949 missing

2021-11-01 Thread 정순권
Thank you for your attention.

Win 10 pro, 64bit
​
-Original Message-
From: "Andrea Giudiceandrea"
To: ;
Cc: ;
Sent: 2021-11-01 (월) 21:40:13 (GMT+09:00)
Subject: [Qgis-user] Korean encoding, cp949 missing

> 정순권 Sun, 31 Oct 2021 13:41:10 -0700
>
> Is there anyone who can help me to implement the missing cp949 code in qgis
> v3.20? Without this code, Korean characters are being broken when exporting
> .dxf file from qgis to Cad2022.

Hi Soon-kwon Jung,
what Operating System are you using QGIS on?

Regards.

Andrea Giudiceandrea
​
​
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Qgis-user Digest, Vol 188, Issue 57

2021-11-01 Thread WhereGroup

Hi,

You have two options:

- Login at https://lists.osgeo.org/mailman/listinfo/qgis-user and 
unsubscribe there


- Send a blank mail to qgis-users-le...@lists.osgeo.org and follow the 
instructions


Cheers, Hannes

Am 31.10.21 um 20:47 schrieb Theuriet Kasongo:

Try to stop to sinde me again those messags

theurietk

Le dim. 31 oct. 2021 à 21:01, > a écrit :


Send Qgis-user mailing list submissions to
qgis-user@lists.osgeo.org 

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/qgis-user

or, via email, send a message with subject or body 'help' to
qgis-user-requ...@lists.osgeo.org


You can reach the person managing the list at
qgis-user-ow...@lists.osgeo.org


When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qgis-user digest..."


Today's Topics:

   1. Re: Ubuntu impish (21.10) release coming any time soon?
      (Richard Duivenvoorde)


--

Message: 1
Date: Sun, 31 Oct 2021 07:51:14 +0100
From: Richard Duivenvoorde mailto:rdmaili...@duif.net>>
To: qgis-user@lists.osgeo.org 
Subject: Re: [Qgis-user] Ubuntu impish (21.10) release coming any time
        soon?
Message-ID: mailto:c34283f3-4223-4845-53cc-aa644f3be...@duif.net>>
Content-Type: text/plain; charset=utf-8

On 10/23/21 12:26 PM, Richard Duivenvoorde wrote:
> On 10/23/21 12:44 AM, chris hermansen wrote:
>> Good day everyone,
>>
>> Does anyone know when, at least approximately,
https://qgis.org/ubuntu/dists/ 
>
will contain an impish release?? Better, can anyone tell me where
to look for this kind of info?
>
> https://github.com/qgis/QGIS/issues/45641

> to maybe ping packaging volunteer(s) if they missed the Ubuntu
release.

FYI: It's there now [0][1]! Apparently it was wiser/easier to
package 3.22 for the new Ubuntu, and timing of the Ubuntu release
was a little too early.  :-)

Regards,

Richard Duivenvoorde

[0] https://qgis.org/ubuntu/dists/ 
[1] https://github.com/qgis/QGIS/issues/45641



--

Subject: Digest Footer

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org 
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user

Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



--

End of Qgis-user Digest, Vol 188, Issue 57
**


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


--
Johannes Kröger / GIS-Entwickler/-Berater
WhereGroup GmbH
Eifelstraße 7
53119 Bonn
Germany

Tel: +49 (0)228 / 90 90 38 - 36
Fax: +49 (0)228 / 90 90 38 - 11

johannes.kroe...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
---

-
Schon gewusst?
In unserem Blog geben wir Tipps & Tricks zu
Open-Source-GIS-Software und berichten aus unserem Experten-Alltag:
https://wheregroup.com/blog/
-



OpenPGP_0xBF7B268A77C202D5.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user