Verehrte Liste, ich habe mir gerade QgsMapCanvas nochmals in meinem lokalen Pythonkontext von ADDigitize.py her genauer angesehen. Da fehlt tatsaechlich das Attribut mapSettings. Ich arbeite ganz bewusst mit der aelteren Version 2.0.1 von QGIS, woran das liegen kann. Damit ist die von mir hierzu aufgeworfene Frage an die Liste hinfaellig. Eckards Frage steht allerdings weiter im Raume ... auch fuer mich. Viele Gruesse Mona On 30.8.2016 18:58, Mona Wueleheu wrote:
Hallo Eckhard,
das QGIS-Plugin CADDigitize hat ein Werkzeug, mit dem man auf verschiedene Arten und Weisen in bestehende Layer Rechtecke reindigitalisieren koennen soll.
Verehrte Liste,
angeregt von Eckhards Frage wollte ich das ausprobieren. Dabei stiess ich staendig auf einen Fehler mit unten zitierter Meldung.
Worauf weist
AttributeError: 'QgsMapCanvas' object has no attribute 'mapSettings'
hin? Ich hatte dem Layer und auch dem Canvas ganz ausdruecklich das gleiche Geobezugssystem zugewiesen ...
Mit bestem Gruss Mona
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ An error has occured while executing Python code:
Traceback (most recent call last): File "/home/drmonawueleheu/.qgis2/python/plugins/CADDigitize/CADDigitize.py", line 794, in createFeature renderer = mc.mapSettings() AttributeError: 'QgsMapCanvas' object has no attribute 'mapSettings'
Python version: 2.7.6 (default, Jun 22 2015, 18:03:54) [GCC 4.8.2]
QGIS version: 2.0.1-Dufour Dufour, exported
Python path: ['/usr/share/qgis/python/plugins/processing', '/usr/share/qgis/python', '/home/drmonawueleheu/.qgis2/python', '/home/drmonawueleheu/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/usr/share/qgis/python/plugins/fTools/tools', '/home/drmonawueleheu/moldenhauer/arbeit_lokal/de/entwurf/he_windpot_2011/geodaten/analyse']
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ On 30.8.2016 14:14, Eckhard Schmidt wrote:
Hallo,
drei Fragen (QGIS 2.16):
1) ich will einen neues Polygon-Layer anlegen, und dabei will ich ein Rechteck generieren. -- .................................................................... FOSS4G 2016 Bonn - annual global event of the Open Source Geospatial Foundation (OSGeo) - 24.-26. August 2016 in Bonn (zusätzlich noch FOSS4G Hacking Event und Workshops) http://2016.foss4g.org
FOSSGIS e.V, der Verein zur Förderung von Freier Software aus dem GIS-Bereich und Freier Geodaten! http://www.fossgis.de/ https://twitter.com/fossgis_eV
____________________________________________________________________ FOSSGIS-Talk-Liste mailing list FOSSGIS-Talk-Liste@fossgis.de https://lists.fossgis.de/mailman/listinfo/fossgis-talk-liste