-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplification causes GEOS exceptions when layer has labels #17975
Comments
Author Name: Alvaro Huarte (@ahuarte47) Hi Nyall, are you using current master ? I am conversing with Jürgen Fischer, the commit (#13365a6c77903f1ef9cce012f52ff49c8e35f269a) has the ogr simplification broken |
Author Name: Alvaro Huarte (@ahuarte47)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Alvaro Huarte (@ahuarte47) Hi Nyall, the pull #11147 was merged, can you test your issue please ? |
Author Name: Alvaro Huarte (@ahuarte47) Hi Nyall, if you are testing a postgis layer, then these error comes from a bug in ST_Simplify function of postgis ( http://trac.osgeo.org/postgis/ticket/1698 ). This bug collapses the geometries when the tolerance is too much big. If you are using postgis, this patch fixes it: |
Author Name: Alvaro Huarte (@ahuarte47)
|
Author Name: Alvaro Huarte (@ahuarte47)
|
Author Name: Giovanni Manghi (@gioman) the patch has been merged.
|
Author Name: Nyall Dawson (@nyalldawson)
Original Redmine Issue: 9375
Affected QGIS version: master
Redmine category:vectors
Assignee: Alvaro Huarte
I'm running into an issue with the new rendering simplification option. With this enabled on a layer which has labels shown the log is showing a lot of GEOS exceptions:
Exception: IllegalArgumentException: Invalid number of points in LinearRing found 2 - must be 0 or >= 4
Exception: Unknown exception thrown
Happy to provide test datasets if required.
The text was updated successfully, but these errors were encountered: