[Qgis-developer] Duplicate Layer(s) - request for additional help
Larry Shaffer
larrys at dakotacarto.com
Fri Nov 2 14:48:19 PDT 2012
Hi,
Yesterday I added a new layer action 'Duplicate Layer(s),' based off
of some Python code from Giuseppe Sucameli [1]. It works well for
generic Vector and Raster layers. However, I have reached the edge of
my knowledge and experience with other layers from different data
providers. IMHO, while the action is useable enough to include in a
release, it currently throws an error when used on any layer it
doesn't currently support, but should support duplication of as many
layer/provider types as is reasonable.
I'm fairly busy on some other projects and am requesting that any devs
with knowledge on how to duplicate the following layer types please
add such features to the QgisApp::duplicateLayers() method [2] if you
have the inclination and time:
- Memory Layers
- Plugin Layers
- Other provider types not based off of a simple source URI and pasted
layer style
If you can help out, thanks,
Larry
[0] http://hub.qgis.org/issues/5899
[1] https://github.com/qgis/Quantum-GIS/blob/master/src/app/qgisapp.cpp#L5347
More information about the Qgis-developer
mailing list