Bug report #2499

Simplify Geometry tool throws an error

Added by Maxim Dubinin over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:cfarmer -
Category:Python plugins
Affected QGIS version: Regression?:No
Operating System:All Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12559

Description

While trying to simplify linear geometries, I'm getting this error after 99% progress. Confirmed on two machines (XP and Vista).

Shapefile is sensitive, but I can send it over email, if someone is willing to confirm or work on this bug (email: ).

Weird, but seems like I no longer can copy anything from Python Error Window, so see the screenshot with error:
http://gis-lab.info/images/screenshots/20100306-p0y-118kb.jpg

History

#1 Updated by Giovanni Manghi over 14 years ago

Weird, but seems like I no longer can copy anything from Python Error Window,

Same here.

This ticket should be duplicate of #2493 (see the attached screenshot).

#2 Updated by Maxim Dubinin over 14 years ago

Thanks for checking, I saw your report and specifically checked for this and ran Multipart-Singlepart before on my subset, but still get this error.

#3 Updated by Giovanni Manghi over 14 years ago

Hi again,

Thanks for checking, I saw your report and specifically checked for this and ran Multipart-Singlepart before on my subset, but still get this error.

yes, probably is not well explained in #2493 but under win xp I get the same error even if after running "Multipart to Singlepart". So if I'm not getting it wrong (it is late and I'm tired) I believe you can close this and add your notes/data to #2493. Otherwise please ignore this comment.

#4 Updated by Maxim Dubinin over 14 years ago

ok, lets wait for #2493 fix and if it fixes this problem too, I'll be happy to close this one too.

#5 Updated by cfarmer - over 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Should be fixed in 1f0d1afa (SVN r13034). Now using built-in simplify function from QgsGeometry (added at the last hackfest). Tested on sample shapefile from #2493, works nicely on both multipart and singlepart versions.

-Carson

Also available in: Atom PDF