Re: [Qgis-user] How to filter expression in aggregate

2021-03-14 Per discussione Andrea Giudiceandrea
David Strip-4 wrote
> aggregate( 'B','sum', "Confirmed", "Country_Region" 
> ILIKE attribute($currentfeature, 'SOVEREIGNT')) 

Hi David,
in the filter the source feature can be accessed with the variable @parent
https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/functions_list.html#aggregate

aggregate( 'B','sum', "Confirmed", "Country_Region" ILIKE attribute(@parent,
'SOVEREIGNT'))

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] QGIS le variabili e la privacy

2021-03-14 Per discussione Ivano Giuliano
Ciao, aggiungo questo :
https://raw.githubusercontent.com/qgis/QGIS/final-3_12_2/ChangeLog

evidenzio :

<>

Nyall Dawson2020-01-17

Address review comments, don't store username if
anonymize_saved_projects is true
<>

Nyall Dawson2018-03-20

Add settings key to anonymize new projects

Defaults to false, but if set will not automatically set
metadata for newly created projects such as author
and creation date.

<>

Saluti

Ivano

*___*
*The information contained in this e-mail message is confidential and
intended only for the use of the individual or entity named above. If you
are not the intended recipient, please notify us immediately by telephone
or e-mail and destroy this communication. Due to the way of the
transmission, we do not undertake any liability with respect to the secrecy
and confidentiality of the information contained in this e-mail message.*




Il giorno sab 13 mar 2021 alle ore 10:29 Totò 
ha scritto:

> Andrea Giudiceandrea wrote
> > Totò wrote
> >> Fin qui, nulla di strano, ma quando creo un progetto viene popolata la
> >> variabile @project_author con il valore presente in user_full_name, se
> >> condividessi il mio progetto la variabile @project_author rimarrebbe
> >> sempre
> >> con il mio nome.
> >
> > Ciao Salvatore,
> > la memorizzazione automatica del nome dell'utente è personalizzabile
> dalle
> > due impostazioni "projects\anonymize_new_projects" e
> > "projects\anonymize_saved_projects" nella sezione "core".
>
> Rieccomi,
> ho un po' approfondito.
> Le due variabili da personalizzare ("projects\anonymize_new_projects" e
> "projects\anonymize_saved_projects"), la prima funziona ma la seconda no
> (ho
> fatto un rapido test), sono impostate by default in true (sarebbe meglio il
> contrario?).
>
> 
>
> Queste impostazioni sono raggiungibili dal menu Impostazioni | Opzioni |
> Avanzate
> Nel tab Avanzate c'è scritto : ... le modifiche in questa pagina sono
> pericolose...
>
> 
>
> saluti
>
>
>
>
>
>
>
> -
> https://pigrecoinfinito.com/
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
> ___
> 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


Re: [Qgis-user] How to filter expression in aggregate

2021-03-14 Per discussione David Strip

  
  
On 3/14/2021 5:28 PM, Andrea Giudiceandrea wrote:

  David Strip-4 wrote

  
aggregate( 'B','sum', "Confirmed", "Country_Region" 
ILIKE attribute($currentfeature, 'SOVEREIGNT')) 

  
  
Hi David,
in the filter the source feature can be accessed with the variable @parent
https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/functions_list.html#aggregate

aggregate( 'B','sum', "Confirmed", "Country_Region" ILIKE attribute(@parent,
'SOVEREIGNT'))




that did it. Does that mean that attribute(@parent, ...) is
the value of the attribute for the feature for which the attribute
is being calculated?
And what does $currentfeature mean? Is it evaluated to the current
feature of Layer B, not A?
  

___
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] How to filter expression in aggregate

2021-03-14 Per discussione David Strip

  
  
Let's say I have two layers with the following attributes:
Layer A - SOVEREIGNT, Field2, Field3, ...
Layer B - Country_Region, Confirmed, ...

I want to aggregate the Confirmed field of Layer B into Layer A. 
I try to create a virtual field in Layer A with the _expression_
 aggregate( 'B','sum', "Confirmed", "Country_Region"  ILIKE 
attribute($currentfeature, 'SOVEREIGNT'))
but the value is always zero. 

What am I not understanding?
Thanks

David



  

___
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] Traduzione QGIS 3

2021-03-14 Per discussione Paolo Cavallini
Mi pare ragionevole, grazie.

Il 14 marzo 2021 17:53:26 CET, Ludovico  ha scritto:
>Ciao a tutti, vorrei segnalare "un'anomalia" nella traduzione del
>comando
>Rasterizza. Più che un'anomalia si tratta del termine masterizza che si
>sposa malissimo con la funzione.
>
>Per esempio:
>
>*Campo da usare per un valore di masterizzazione
>*
>non potrebbe essere semplicemente
>
>*Campo da utilizzare per assegnare il valore ai pixel*
>
>Così come:
>
>*Valore fissato da masterizzare*
>
>*Valore fisso del pixel*
>
>Lo so che non è una traduzione fedele del testo originale, ma è proprio
>"pesante" da leggere.
>
>Grazie
>
>
>
>-
>Dott. For. Ludovico Frate, PhD
>
>--
>Sent from:
>http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
>___
>QGIS-it-user mailing list
>QGIS-it-user@lists.osgeo.org
>https://lists.osgeo.org/mailman/listinfo/qgis-it-user

-- 
Sorry for being short___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] QGIS le variabili e la privacy

2021-03-14 Per discussione Paolo Cavallini
Voto per 2.
Grazie.

Il 14 marzo 2021 10:33:04 CET, "Totò"  ha scritto:
>Buona domenica,
>ora che abbiamo capito, individuato e circoscritto le impostazioni
>avanzate
>relative al nome utente e user PC, come procediamo?
>
>1. facciamo finta di nulla?
>2. scriviamo in lista QGIS-dev?
>3. apriamo una issue nel repository di QGIS?
>4. proponiamo una PR con le modifiche (da false a true)?
>5. facciamo un sondaggio internazionale, chiedendo il parere degli
>utenti
>QGIS?
>6. ...
>
>Saluti
>
>PS: questo il mio tweet:
>https://twitter.com/totofiandaca/status/1370737022588051456
>
>
>
>-
>https://pigrecoinfinito.com/
>--
>Sent from:
>http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
>___
>QGIS-it-user mailing list
>QGIS-it-user@lists.osgeo.org
>https://lists.osgeo.org/mailman/listinfo/qgis-it-user

-- 
Sorry for being short___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] QGIS le variabili e la privacy

2021-03-14 Per discussione Totò
Buona domenica,
ora che abbiamo capito, individuato e circoscritto le impostazioni avanzate
relative al nome utente e user PC, come procediamo?

1. facciamo finta di nulla?
2. scriviamo in lista QGIS-dev?
3. apriamo una issue nel repository di QGIS?
4. proponiamo una PR con le modifiche (da false a true)?
5. facciamo un sondaggio internazionale, chiedendo il parere degli utenti
QGIS?
6. ...

Saluti

PS: questo il mio tweet:
https://twitter.com/totofiandaca/status/1370737022588051456



-
https://pigrecoinfinito.com/
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user