-
-
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
Node tool on PostGIS table with null geometry causes crash #20909
Comments
Author Name: Giovanni Manghi (@gioman) could you please qgis master and report back?
|
Author Name: Simon Casley (Simon Casley) I've just tried it on 2.9.0-Master (on Windows) 32 and 64 bit versions, and I get the same error. Also, noticed that the extents of the layer shown in Metadata are initially: xMin,yMin 574694.62,474760.06 : xMax,yMax 1344737.38,926735.31, but after clicking 'Update extents', they become: xMin,yMin -179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.00,-179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.00 : xMax,yMax 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.00,179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.00 Cheers |
Author Name: Giovanni Manghi (@gioman) please provide sample data.
|
Author Name: Simon Casley (Simon Casley) Hi - here are sample data: a (sql) dump from postgresql and the same data saved as a shapefile. There is one feature (objectid 641) which has empty geometry.
|
Author Name: Giovanni Manghi (@gioman) Simon Casley wrote:
no crash whatsoever here on qgis master, pg 9.3 postgis 2.1 |
Author Name: Giovanni Manghi (@gioman) Simon Casley wrote:
I cannot replicate this on multiple systems and qgis/postgis versions. I would appreciate if you could test on other systems, so we can exclude that is a local issue (as it is likely to be). |
Author Name: Giovanni Manghi (@gioman) closing for lack of feedback.
|
…m is non-opaque Fixes qgis#20909
Author Name: Simon Casley (Simon Casley)
Original Redmine Issue: 12813
Affected QGIS version: master
Redmine category:digitising
Hi,
When using the node tool to edit features from a PostGIS table, I was getting an 'Unknown Exception' error whenever I tried to move a node or add a new one. I’m then unable to display nodes on this layer – clicking on a feature brings up the message “Node tool: could not snap to a segment on the current layer”. QGIS then crashes when I try to remove that layer, open a new project, or close QGIS.
Looks like it only happens on PostGIS layers that contain a feature with null geometry. Node tool works fine on the same data as a shapefile.
I could edit the same PostGIS layer without any issue in 2.6.
Cheers
Simon
The text was updated successfully, but these errors were encountered: