[QGIS-Developer] Strange style rendering GEOS errors... can you confirm?

Nyall Dawson nyall.dawson at gmail.com
Mon May 14 23:42:19 PDT 2018


On 27 April 2018 at 06:27, Luigi Pirelli <luipir at gmail.com> wrote:
> spam the log and reduce a lot the rendering time... it takes seconds for few
> polygons. รง

I've changed my mind. Those warnings should be removed from the
message log, and shifted off to the console only.

See https://github.com/qgis/QGIS/pull/6991

I didn't realise how slow they made rendering until I hit this same
issue on a recent project, and the cause was the labeling feature
cropping, so not even anything which is user-fixable.

Nyall

>
> cheers
>
> Luigi Pirelli
>
> **************************************************************************************************
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> *
> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
> * Hire me: http://goo.gl/BYRQKg
> **************************************************************************************************
>
> On 26 April 2018 at 05:00, Nyall Dawson <nyall.dawson at gmail.com> wrote:
>>
>> On 24 April 2018 at 21:06, Luigi Pirelli <luipir at gmail.com> wrote:
>> > Hi a colleague passed me a gpkg with a style that introduce GEOS
>> > exceptions
>> > during rendering... what? geos errors for a style?
>>
>> That's not unheard of - e.g. a line layer rendered using a simple line
>> style with an offset applied is using GEOS to offset the lines. A lot
>> of other symbology settings also call out to QgsGeometry methods which
>> use GEOS under the hood.
>>
>> Is this causing an actual error, or just spamming the log?
>>
>> Nyall
>
>


More information about the QGIS-Developer mailing list