Opened 14 years ago

Closed 14 years ago

#2499 closed bug (fixed)

Simplify Geometry tool throws an error

Reported by: gislab Owned by: cfarmer
Priority: major: does not work as expected Milestone: Version 1.5.0
Component: Python plugins and bindings Version: Trunk
Keywords: Cc: dr, alexbruy
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

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: sim@…).

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

Change History (7)

in reply to:  description comment:1 by lutra, 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).

comment:2 by gislab, 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.

in reply to:  2 comment:3 by lutra, 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.

comment:4 by gislab, 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.

comment:5 by lutra, 14 years ago

Owner: changed from nobody to cfarmer

comment:6 by lutra, 14 years ago

Component: VectorsPython plugins and bindings
Platform: WindowsAll

comment:7 by cfarmer, 14 years ago

Resolution: fixed
Status: newclosed

Should be fixed in r13033. 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

Note: See TracTickets for help on using tickets.