[Qgis-user] Get layer-id by layer (not by acive layer)

Matthias Kuhn matthias.kuhn at gmx.ch
Mon Oct 13 08:11:13 PDT 2014


Hi Walter,

I'm glad you found it!

Small hint for next time: paste some code from what you tried already
and it will be easier to spot the error for others :-)

Regards,
Matthias

On 13.10.2014 16:46, walter.nordmann wrote:
> omg, got it:
>
> QgsMapLayerRegistry.instance().removeMapLayer(clipLayer.id*()*)
>
> walter
>
> 2 1/2 days for one statement :(
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/Get-layer-id-by-layer-not-by-acive-layer-tp5167152p5167248.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
_______________________________________________
Help getting QGIS to the next level of quality before November 15!
http://blog.vitu.ch/10102014-1046/crowdfunding-initiative-automated-testing




More information about the Qgis-user mailing list