Skip to content
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

Closed
qgib opened this issue Jan 20, 2014 · 8 comments
Closed

Simplification causes GEOS exceptions when layer has labels #17975

qgib opened this issue Jan 20, 2014 · 8 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Jan 20, 2014

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.

@qgib
Copy link
Contributor Author

qgib commented Jan 20, 2014

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

@qgib
Copy link
Contributor Author

qgib commented Jan 20, 2014

Author Name: Alvaro Huarte (@ahuarte47)


  • assigned_to_id was configured as Alvaro Huarte

@qgib
Copy link
Contributor Author

qgib commented Jan 20, 2014

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was configured as Future Release - High Priority
  • category_id was configured as Vectors

@qgib
Copy link
Contributor Author

qgib commented Jan 22, 2014

Author Name: Alvaro Huarte (@ahuarte47)


Hi Nyall, the pull #11147 was merged, can you test your issue please ?

@qgib
Copy link
Contributor Author

qgib commented Jan 22, 2014

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:
#1099

@qgib
Copy link
Contributor Author

qgib commented Jan 23, 2014

Author Name: Alvaro Huarte (@ahuarte47)


  • resolution was changed from to fixed/implemented
  • pull_request_patch_supplied was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Jan 27, 2014

Author Name: Alvaro Huarte (@ahuarte47)


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jun 22, 2014

Author Name: Giovanni Manghi (@gioman)


the patch has been merged.


  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 24, 2019
@qgib qgib added this to the Future Release - High Priority milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant