[Qgis-user] Get layer-id by layer (not by acive layer)
walter.nordmann
walter.nordmann at web.de
Mon Oct 13 04:38:07 PDT 2014
Nathan Woodrow wrote
> Try this:
>
> maplayers = QgsMapLayerRegistry.instance().mapLayers()
>
> maplayers will be a dict of layerid-layer object
and than? i'm new to qgis programming and the documentation is not very
helpfull :(
Please no breadcrombs. Trying to solve this little problem for 2 day now :(
should be something like layer.getId() but i can't find it.
Regards
walter
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Get-layer-id-by-layer-not-by-acive-layer-tp5167152p5167195.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
More information about the Qgis-user
mailing list