[Qgis-developer] What about a qgis project add function ?

Andreas Neumann a.neumann at carto.net
Sun Mar 2 03:59:14 PST 2014


Hi,

If you just want to embed layers or groups from other projects - this
functionality already exists in core. Embedded layers are read-only
(which is good in some situations, but bad in others).

For situations where you want to change the layers, you can use the
ImportProject plugin as already mentioned. At this stage the layer would
be an independent layer not linked to the project imported from anymore.

Embedded layers that are still linked have to be read-only, otherwise
they have to be copies.

Andreas

Am 02.03.2014 08:27, schrieb Paolo Cavallini:
> Il 01/03/2014 22:07, Régis Haubourg ha scritto:
> 
>> I would love to call it "Add or embed from other project", and just add a
>> checkbox choose embed or hard copy of the layers and groups. Existing dialog
>> is already correct.
>> I just ported Import Project plugin to 2.0 to satisfy that need. Just be
>> aware that you need to give a new id to imported layers, to be able to
>> import some layers n times. Code is quite simple, I would love to see that
>> in core!
> 
> +1
> Merci Régis.
> 



More information about the Qgis-developer mailing list