qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.43k stars 2.98k forks source link

Update feature count when a filter is applied #37799

Open martinwachutka opened 4 years ago

martinwachutka commented 4 years ago

Hello!

I have a Layer with point and apply a filter to reduce by a certain attribute. The feature "show feature count" shows the amounts of item without the filter applied. The total seem to work (example some 86000. But the categorized show values without the filter applied (in total some 516.000). Shouldn't it show the reduced figures?

Kind regards 2020-07-14 09_17_54-QGIS - qgis - Remotedesktopverbindung

Martin

gioman commented 4 years ago

@martinwachutka QGIS version? Operating System? Type of datasource?

martinwachutka commented 4 years ago

QGIS version 3.12.0 Operating System MS Windows Server 2016 Version 10.0.14393 Type of datasource postgresql

Kr Martin

....................................................................................... ​ DI Martin Wachutka Geschäftsführer Fiber Service OÖ GmbH Rainerstraße 6-8 4020 Linz ​ Tel: +43-732-257257-8001 Email: martin.wachutka@fiberservice.at Web: www.fiberservice.at

​Terminanfragen und -vereinbarungen unter +43-732-257257-8000 oder office@fiberservice.at

​Firmenbuchnummer: 469215y, Firmengericht Landesgericht Linz

This e-mail message and its attachments contain confidential information intended only for the person(s) named above. ​If you received this communication in error, please note that any dissemination, distribution, copy or other use of this message ​or its attachments is strictly prohibited. In this case please notify the sender by e-mail or telephone and delete this e-mail from your system. ​As far as legally possible we exclude any liability for loss or damage caused by software viruses.

​....................................................................................... ​ Von: Giovanni Manghi notifications@github.com Gesendet: Dienstag, 14. Juli 2020 10:58 An: qgis/QGIS QGIS@noreply.github.com Cc: Wachutka Martin martin.wachutka@fiberservice.at; Mention mention@noreply.github.com Betreff: Re: [qgis/QGIS] Feature count shows wrong number when a filter is applied (#37799)

@martinwachutkahttps://github.com/martinwachutka QGIS version? Operating System? Type of datasource?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/37799#issuecomment-658061400, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQI3MD3FU7FBDLD4IFEZEZ3R3QMYZANCNFSM4OZHHW5Q.

gioman commented 4 years ago

QGIS version 3.12.0

@martinwachutka this is way too old, you must update to the latest 3.10 or 3.12 and test again, thanks!

martinwachutka commented 4 years ago

Hello

Same is true with 3.14

....................................................................................... ​ DI Martin Wachutka Geschäftsführer Fiber Service OÖ GmbH Rainerstraße 6-8 4020 Linz ​ Tel: +43-732-257257-8001 Email: martin.wachutka@fiberservice.at Web: www.fiberservice.at

​Terminanfragen und -vereinbarungen unter +43-732-257257-8000 oder office@fiberservice.at

​Firmenbuchnummer: 469215y, Firmengericht Landesgericht Linz

This e-mail message and its attachments contain confidential information intended only for the person(s) named above. ​If you received this communication in error, please note that any dissemination, distribution, copy or other use of this message ​or its attachments is strictly prohibited. In this case please notify the sender by e-mail or telephone and delete this e-mail from your system. ​As far as legally possible we exclude any liability for loss or damage caused by software viruses.

​....................................................................................... ​ Von: Giovanni Manghi notifications@github.com Gesendet: Dienstag, 14. Juli 2020 12:27 An: qgis/QGIS QGIS@noreply.github.com Cc: Wachutka Martin martin.wachutka@fiberservice.at; Mention mention@noreply.github.com Betreff: Re: [qgis/QGIS] Feature count shows wrong number when a filter is applied (#37799)

QGIS version 3.12.0

@martinwachutkahttps://github.com/martinwachutka this is way too old, you must update to the latest 3.10 or 3.12 and test again, thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/37799#issuecomment-658102382, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQI3MD5HKMDTEX44A5CBDO3R3QXG5ANCNFSM4OZHHW5Q.

martinwachutka commented 4 years ago

Update:

Calculation is right when filter get applied before ticking the option box. When filter get changed figures don’t get recalculated.

KR MArtin

....................................................................................... ​ DI Martin Wachutka Geschäftsführer Fiber Service OÖ GmbH Rainerstraße 6-8 4020 Linz ​ Tel: +43-732-257257-8001 Email: martin.wachutka@fiberservice.at Web: www.fiberservice.at

​Terminanfragen und -vereinbarungen unter +43-732-257257-8000 oder office@fiberservice.at

​Firmenbuchnummer: 469215y, Firmengericht Landesgericht Linz

This e-mail message and its attachments contain confidential information intended only for the person(s) named above. ​If you received this communication in error, please note that any dissemination, distribution, copy or other use of this message ​or its attachments is strictly prohibited. In this case please notify the sender by e-mail or telephone and delete this e-mail from your system. ​As far as legally possible we exclude any liability for loss or damage caused by software viruses.

​....................................................................................... ​ Von: Wachutka Martin Gesendet: Dienstag, 14. Juli 2020 13:16 An: qgis/QGIS reply@reply.github.com; qgis/QGIS QGIS@noreply.github.com Cc: Mention mention@noreply.github.com Betreff: AW: [qgis/QGIS] Feature count shows wrong number when a filter is applied (#37799)

Hello

Same is true with 3.14

Von: Giovanni Manghi notifications@github.com<mailto:notifications@github.com> Gesendet: Dienstag, 14. Juli 2020 12:27 An: qgis/QGIS QGIS@noreply.github.com<mailto:QGIS@noreply.github.com> Cc: Wachutka Martin martin.wachutka@fiberservice.at<mailto:martin.wachutka@fiberservice.at>; Mention mention@noreply.github.com<mailto:mention@noreply.github.com> Betreff: Re: [qgis/QGIS] Feature count shows wrong number when a filter is applied (#37799)

QGIS version 3.12.0

@martinwachutkahttps://github.com/martinwachutka this is way too old, you must update to the latest 3.10 or 3.12 and test again, thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/37799#issuecomment-658102382, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQI3MD5HKMDTEX44A5CBDO3R3QXG5ANCNFSM4OZHHW5Q.

roya0045 commented 4 years ago

Filter is not taken into accounts during feature calculation. Though I'm not sur if its even a bug, I feel this is more of a feature request.

martinwachutka commented 4 years ago

Hello Alex!

Fromm y point of view it is/would be a very useful functionality as I use it very often to reduce e.g. the point selected within a shape based on some filter mechanisms…

Kr Martin

....................................................................................... ​ DI Martin Wachutka Geschäftsführer Fiber Service OÖ GmbH Rainerstraße 6-8 4020 Linz ​ Tel: +43-732-257257-8001 Email: martin.wachutka@fiberservice.at Web: www.fiberservice.at

​Terminanfragen und -vereinbarungen unter +43-732-257257-8000 oder office@fiberservice.at

​Firmenbuchnummer: 469215y, Firmengericht Landesgericht Linz

This e-mail message and its attachments contain confidential information intended only for the person(s) named above. ​If you received this communication in error, please note that any dissemination, distribution, copy or other use of this message ​or its attachments is strictly prohibited. In this case please notify the sender by e-mail or telephone and delete this e-mail from your system. ​As far as legally possible we exclude any liability for loss or damage caused by software viruses.

​....................................................................................... ​ Von: Alex notifications@github.com Gesendet: Montag, 10. August 2020 00:09 An: qgis/QGIS QGIS@noreply.github.com Cc: Wachutka Martin martin.wachutka@fiberservice.at; Mention mention@noreply.github.com Betreff: Re: [qgis/QGIS] Feature count shows wrong number when a filter is applied (#37799)

Filter is not taken into accounts during feature calculation. Though I'm not sur if its even a bug, I feel this is more of a feature request.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/37799#issuecomment-671106778, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQI3MD7SKW22Y72ULRPXRYTR74M7ZANCNFSM4OZHHW5Q.

martinwachutka commented 4 years ago

Hello Alex!

Do you know whether the functionality has been put on feature request list?

Kr Martin

....................................................................................... ​ DI Martin Wachutka Geschäftsführer Fiber Service OÖ GmbH Rainerstraße 6-8 4020 Linz ​ Tel: +43-732-257257-8001 Email: martin.wachutka@fiberservice.at Web: www.fiberservice.at

​Terminanfragen und -vereinbarungen unter +43-732-257257-8000 oder office@fiberservice.at

​Firmenbuchnummer: 469215y, Firmengericht Landesgericht Linz

This e-mail message and its attachments contain confidential information intended only for the person(s) named above. ​If you received this communication in error, please note that any dissemination, distribution, copy or other use of this message ​or its attachments is strictly prohibited. In this case please notify the sender by e-mail or telephone and delete this e-mail from your system. ​As far as legally possible we exclude any liability for loss or damage caused by software viruses.

​....................................................................................... ​ Von: Wachutka Martin Gesendet: Montag, 24. August 2020 19:14 An: qgis/QGIS reply@reply.github.com; qgis/QGIS QGIS@noreply.github.com Cc: Mention mention@noreply.github.com Betreff: AW: [qgis/QGIS] Feature count shows wrong number when a filter is applied (#37799)

Hello Alex!

Fromm y point of view it is/would be a very useful functionality as I use it very often to reduce e.g. the point selected within a shape based on some filter mechanisms…

Kr Martin

Von: Alex notifications@github.com<mailto:notifications@github.com> Gesendet: Montag, 10. August 2020 00:09 An: qgis/QGIS QGIS@noreply.github.com<mailto:QGIS@noreply.github.com> Cc: Wachutka Martin martin.wachutka@fiberservice.at<mailto:martin.wachutka@fiberservice.at>; Mention mention@noreply.github.com<mailto:mention@noreply.github.com> Betreff: Re: [qgis/QGIS] Feature count shows wrong number when a filter is applied (#37799)

Filter is not taken into accounts during feature calculation. Though I'm not sur if its even a bug, I feel this is more of a feature request.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/qgis/QGIS/issues/37799#issuecomment-671106778, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQI3MD7SKW22Y72ULRPXRYTR74M7ZANCNFSM4OZHHW5Q.

roya0045 commented 4 years ago

You could make a feature request to this effect.

martinwachutka commented 3 years ago

Hello Alex!

How can I move it over to a feature request. Any things to consider as company on mebership level medium?

KR Martin

roya0045 commented 3 years ago

I'm just a contributor that try to improve things for my own uses. I'm sure that @gioman can change the request type and possibly a core dev could be more helpful than me regarding this as I already have a good amount of things that I want to improve and that I will try to do on top of my real work.