[Qgis-user] Wrong area count QGIS 3.20+?

Sebastian Gutwein bas at rdgland.com
Mon Jan 3 05:43:46 PST 2022


Yes that was my read as well except previously it was the Grass method and
now it is Geographic Lib method because that is theoretically more accurate
and is the same method that is used in Postgis and other places. The
switched happened because someone noticed the difference between QGIS’s
calculations and Postgis’s calculations. If I am reading the pull requests
correctly even Grass has switched to the Geographic Lib method. I’m
surprised that ArcGIS Pro uses the same method as the Grass method.

On Mon, Jan 3, 2022 at 2:57 AM Sadowski Jarosław <jaroslaw.sadowski at cpk.pl>
wrote:

> Sebastian,
>
>
>
> thank you very much for your precise answer and materials sent - I have
> read them carefully.
>
>
>
> So, as far as I can understand, QGIS has moved in version 3.20 to a new
> way of counting areas (other libraries? GRASS algorithm instead of
> Geographic lib? I have actually noticed a different nomenclature and
> definition of EPSG 2180 for some time in new versions…), that will be more
> accurate?
>
>
>
> I must admit that, for me as a GIS operator, it is surprising and sounds
> like bad news - so far surfaces have always been the same in various GIS
> software, whether or not it was open-source or commercial (ArcGIS Pro). So
> from this moment it will be that I will get different surfaces depending on
> the software it was calculated? :(
>
> with kind regards
> JS
>
> *_____________________________*
>
> *Jarosław Sadowski*
> Ekspert ds. Baz Danych i Analiz Przestrzennych | *Biuro Strategii i
> Planowania, Projektowania i Inżynierii Podprogramu Kolejowego*
> *Database and Spatial Analysis Expert |Railway Subprogramme Strategy &
> Planning, Design & Engineering Department*
> e: jaroslaw.sadowski at cpk.pl
>
> *From:* Sebastian Gutwein <bas at rdgland.com>
> *Sent:* Saturday, January 1, 2022 7:13 AM
> *To:* Sadowski Jarosław <jaroslaw.sadowski at cpk.pl>
> *Cc:* qgis-user at lists.osgeo.org
> *Subject:* Re: [Qgis-user] Wrong area count QGIS 3.20+?
>
>
>
> Nie otrzymujesz często wiadomości e-mail z adresu bas at rdgland.com. Dowiedz
> się, dlaczego jest to ważne <http://aka.ms/LearnAboutSenderIdentification>
>
> There was some discussion on this in the list serve back in January
> <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fpipermail%2Fqgis-user%2F2021-January%2F047638.html&data=04%7C01%7Cjaroslaw.sadowski%40cpk.pl%7Cf7cc24b07b7c42e8902a08d9ccedca61%7Cfa798250ca0b4a1bb47381cff4a1752b%7C1%7C0%7C637766145287655707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bUHOuswrG6tPdkebzFYem%2BVsSrgjFhbSLVcKCiu6TW0%3D&reserved=0>
> that resulted in this feature request
> <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fqgis%2FQGIS%2Fissues%2F40888&data=04%7C01%7Cjaroslaw.sadowski%40cpk.pl%7Cf7cc24b07b7c42e8902a08d9ccedca61%7Cfa798250ca0b4a1bb47381cff4a1752b%7C1%7C0%7C637766145287655707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=dY89NsDscjybmwQPMV9PjPOwckPlcv%2B8TEWjl69rTtM%3D&reserved=0>
> and this pull request
> <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fqgis%2FQGIS%2Fpull%2F41726&data=04%7C01%7Cjaroslaw.sadowski%40cpk.pl%7Cf7cc24b07b7c42e8902a08d9ccedca61%7Cfa798250ca0b4a1bb47381cff4a1752b%7C1%7C0%7C637766145287655707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IRMFsaJYT7xpylDJCZNvXAUNzdmtTjNbI4VyQMKtedE%3D&reserved=0>.
> I tested your polygon, to the best of my limited ability, and the areas
> were indeed different in QGIS 3.16 and 3.22 as would be expected from that
> change . However it would be hoped that the area measurement would be more
> accurate in 3.22.
>
>
>
>
>
> On Fri, Dec 31, 2021 at 6:49 AM Sadowski Jarosław <
> jaroslaw.sadowski at cpk.pl> wrote:
>
> Dear all,
>
>
>
> I am asking for help with QGIS error/bug or verification of proper usage
> of basic QGIS functionality “$area”.
>
> From version 3.20 upwards, it counts areas differently than before (3.18
> calculated area is different than 3.20). Up to version 3.18 everything was
> fine, equal to calculations from ArcGIS Pro (geodesic mode).
>
> Anyone have an idea where the differences come from?
> This is example vector [image: Ikona zip] PL_2180.zip
> <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcpkonline-my.sharepoint.com%2F%3Au%3A%2Fg%2Fpersonal%2Fjaroslaw_sadowski_cpk_pl%2FEVs0-TiEvPdBjMaqXrEvGfoBI0VussbJaYHdDVFfQnEYug%3Fe%3DVDY3rf-&data=04%7C01%7Cjaroslaw.sadowski%40cpk.pl%7Cf7cc24b07b7c42e8902a08d9ccedca61%7Cfa798250ca0b4a1bb47381cff4a1752b%7C1%7C0%7C637766145287655707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JlPtyjeeYHQxV0DdlGrsPwjTNy9FHqqyEqEpLNrian8%3D&reserved=0>:
> Polish borders in EPSG: 2180, in the table of attributes you can see the
> areas (hectares) calculated for different versions of the software.
>
>
>
> with wishes for more success in the new year
>
> Jarosław Sadowski
>
>
>
> *_________________________________*
>
> *Jarosław Sadowski*
> Ekspert ds. Baz Danych i Analiz Przestrzennych | *Biuro Strategii i
> Planowania, Projektowania i Inżynierii Podprogramu Kolejowego*
> *Database and Spatial Analysis Expert | Railway Subprogramme Strategy &
> Planning, Design & Engineering Department*
> e: jaroslaw.sadowski at cpk.pl
> m: +48 532 720 230
>
> Centralny Port Komunikacyjny Sp. z o.o. z siedzibą w Warszawie, Aleje
> Jerozolimskie 142B, 02-305 Warszawa; nr KRS 0000759991, Sąd Rejonowy dla
> m.st
> <https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fm.st%2F&data=04%7C01%7Cjaroslaw.sadowski%40cpk.pl%7Cf7cc24b07b7c42e8902a08d9ccedca61%7Cfa798250ca0b4a1bb47381cff4a1752b%7C1%7C0%7C637766145287655707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oT4ox6NtPJ4TlAS2CTPM0KgLWAFOMUZ2O1N9EEE4Dfc%3D&reserved=0>.
> Warszawy, XII Wydział Gospodarczy Krajowego Rejestru Sądowego; NIP
> 701-08-94-497; REGON 381918620; kapitał zakładowy 1.277.500.000,00 zł
> Administratorem danych osobowych przekazanych przez Panią/Pana m.in. w
> korespondencji mailowej jest Centralny Port Komunikacyjny Sp. z o.o. z
> siedzibą w Warszawie. Przetwarzamy dane osobowe zgodnie z przepisami
> ogólnego rozporządzenia o ochronie danych (RODO), więcej informacji na ten
> temat znajduje się w zakładce Polityka Prywatności oraz w Klauzuli
> informacyjnej na stronie internetowej www.cpk.pl
> <https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cpk.pl%2F&data=04%7C01%7Cjaroslaw.sadowski%40cpk.pl%7Cf7cc24b07b7c42e8902a08d9ccedca61%7Cfa798250ca0b4a1bb47381cff4a1752b%7C1%7C0%7C637766145287655707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3nB3VJa54%2FlK17eCUR2bvwIusD0MYzQQ1MmbCmbh3Is%3D&reserved=0>
> .
> Treści zawarte w niniejszej wiadomości i załącznikach do niej stanowią
> Tajemnicę Przedsiębiorstwa w rozumieniu ustawy z dnia 16 kwietnia 1993 r. o
> zwalczaniu nieuczciwej konkurencji. Jeśli otrzymałeś tę wiadomość przez
> pomyłkę, bezzwłocznie skontaktuj się z nadawcą wiadomości oraz usuń jej
> treść.
> Solidarity Transport Hub Poland: Centralny Port Komunikacyjny Sp. z o.o.
> with headquarters in Warsaw, Aleje Jerozolimskie 142B, 02-305 Warsaw
> <https://www.google.com/maps/search/Warsaw,+Aleje+Jerozolimskie+142B,+02-305+Warsaw?entry=gmail&source=g>;
> KRS No. 0000759991, District Court for the Capital City of Warsaw, 12th
> Commercial Department of the National Court Register; NIP 701-08-94-497;
> REGON 381918620; share capital of PLN 1.277.500.000,00.
> The personal data controller of the personal data provided by you, among
> others, in the e-mail correspondence, is Centralny Port Komunikacyjny Sp. z
> o. o. based in Warsaw. The personal data is processed by us in accordance
> with the provisions of the General Data Protection Regulation (GDPR), for
> further information please read the Privacy Policy tab and the Information
> Clause on the www.cpk.pl
> <https://eur06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.cpk.pl%2F&data=04%7C01%7Cjaroslaw.sadowski%40cpk.pl%7Cf7cc24b07b7c42e8902a08d9ccedca61%7Cfa798250ca0b4a1bb47381cff4a1752b%7C1%7C0%7C637766145287655707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3nB3VJa54%2FlK17eCUR2bvwIusD0MYzQQ1MmbCmbh3Is%3D&reserved=0>
> website.
> The content of this message and its attachments constitute the Business
> Secret within the meaning of the Act of 16 April 1993 on combating unfair
> competition. If you received this message by mistake, contact the sender of
> the message immediately and delete its content
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user&data=04%7C01%7Cjaroslaw.sadowski%40cpk.pl%7Cf7cc24b07b7c42e8902a08d9ccedca61%7Cfa798250ca0b4a1bb47381cff4a1752b%7C1%7C0%7C637766145287655707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oFJ%2FkA4lI5PPgPaEOLyh3jG3Cp49JqK0FQ7eTYd%2FOjM%3D&reserved=0>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> <https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fqgis-user&data=04%7C01%7Cjaroslaw.sadowski%40cpk.pl%7Cf7cc24b07b7c42e8902a08d9ccedca61%7Cfa798250ca0b4a1bb47381cff4a1752b%7C1%7C0%7C637766145287655707%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oFJ%2FkA4lI5PPgPaEOLyh3jG3Cp49JqK0FQ7eTYd%2FOjM%3D&reserved=0>
>
> --
Sent from a phone. Amazing! But possibly garbled. Sebastian Gutwein
Regenerative Design Group 1 Chevalier Ave Greenfield MA Bas at rdgland.com
(631) 241-1018
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220103/0a92d734/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 193 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220103/0a92d734/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 5596 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220103/0a92d734/attachment-0001.png>


More information about the Qgis-user mailing list