[Qgis-user] Happy New year
Lene Fischer
lfi at ign.ku.dk
Tue Dec 31 16:02:29 PST 2013
To everyone on QGIS mailinglists
A happy New Year to all of you.
Looking forward to work together in 2014.
Regards
Lene Fischer
Associate Professor
Department of Geosciences and Natural Resource Management
University of Copenhagen
MOB +45 40115084
lfi at ign.ku.dk<mailto:lfi at ign.ku.dk>
[SCIENCE_bomaerke_UK]
Fra: qgis-user-bounces at lists.osgeo.org [mailto:qgis-user-bounces at lists.osgeo.org] På vegne af Andrea Peri
Sendt: 1. januar 2014 00:38
Til: Anita Graser
Cc: qgis-user
Emne: Re: [Qgis-user] How get the ID of active layer in python
It work.
Thx Anita,
Happy you too.
Andrea
2014/1/1 Anita Graser <anitagraser at gmx.at<mailto:anitagraser at gmx.at>>
Hi Andrea,
Am 31.12.2013, 23:43 Uhr, schrieb Andrea Peri <aperi2007 at gmail.com<mailto:aperi2007 at gmail.com>>:
Traceback (most recent call last):
File "<input>", line 1, in <module>
AttributeError: 'QgsVectorLayer' object has no attribute 'getLayerID'
I'm start to learn the python in qgis.
Is there another choice for get the ID of active layer ?
Guess the function has been renamed to id()
http://qgis.org/api/classQgsMapLayer.html#a710f27dec806d3bcd5ae14701c2e6fd7
Happy new year!
Anita
___________________________________________________________
anitagraser.com<http://anitagraser.com>
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140101/53f43e20/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5594 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140101/53f43e20/attachment.jpg>
More information about the Qgis-user
mailing list