[Qgis-user] Editing processes broken from 2.6.1 to 2.8.2

McDonaldR McDonaldR at angus.gov.uk
Tue May 19 03:42:39 PDT 2015


Hello List
I have a process that works perfectly in Brighton 2.6.1 but is broken in Wien 2.8.2.
I have two Postgis polygon layers loaded in QGIS - MR and RC.
I copy some polygons from Ordnance Survey MasterMap Topography layer and paste into a memory layer.  In the memory layer the polygons are merged and edited until correct.  Then this new polygon is copied into MR (there are three mandatory fields which have to be filled at this point).  When I save my MR edits a series of triggers in the database update various fields (area, x, y, centroids, etc).  Then I copy the new feature(s) in MR and paste into RC.  Polygons are merged if required.  Again, a series of triggers on the RC table update some fields.
There are three processes that throw errors in 2.8.2

1.      Selecting a polygon in MR and using the node tool to edit and move nodes fails with a "could not snap to feature in current layer" error.  QGIS will crash with data written to a minidump file after selecting node tool, selecting a node and dragging it. Crash on release.

2.      Selecting overlapping polygons in MR and RC and using the "cut with polygon from another layer" tool to cut RC with MR. That returns the error below:
An error has occured while executing Python code:
Traceback (most recent call last):
  File "C:\Users\me\.qgis2\python\plugins\DigitizingTools\tools\dtcutter.py", line 94, in process
    bbox = cutterGeom.boundingBox()
AttributeError: 'NoneType' object has no attribute 'boundingBox'

Python version:
2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]

QGIS version:
2.8.2-Wien Wien, 1b929ef


3.      Pasting from MR into RC does not carry over attributes (the field names are the same) and the triggers don't run on the RC table.

While this is very probably user specific we'd appreciate any suggestions.

Thanks in advance

Ross




Ross McDonald | GIS Data Coordinator | Resources Department, IT Division | Angus Council, Angus House, Orchardbank Business Park, Forfar, DD8 1AT
T: 01307 476419 | F: 01307 476401 | E: mcdonaldr at angus.gov.uk<mailto:mcdonaldr at angus.gov.uk>


This message is strictly confidential. If you have received this in error, please inform the sender and remove it from your system. If received in error you may not copy, print, forward or use it or any attachment in any way. This message is not capable of creating a legal contract or a binding representation and does not represent the views of Angus Council. Emails may be monitored for security and network management reasons. Messages containing inappropriate content may be intercepted. Angus Council does not accept any liability for any harm that may be caused to the recipient system or data on it by this message or any attachment.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150519/cb1c47d0/attachment.html>


More information about the Qgis-user mailing list