[QGIS-Developer] QGIS 3.3 save style /copy style btw different geometry

Axel Andersson axel.n.c.andersson at gmail.com
Thu Oct 4 04:14:41 PDT 2018


I would use Python to do this operation, I was stuck when I wanted to go
from lines to points and got help here:
https://gis.stackexchange.com/questions/268877/copying-categorized-colors-from-line-object-to-point-object-using-qgis

Best regards
Axel

On Thu, 4 Oct 2018 at 11:02, Lene Fischer <lfi at ign.ku.dk> wrote:

> Hi,
>
> In 3.3 there are possibilities to copy / paste a specific category eg.
> Forms from one layer to another. Great !
>
> But: It is not possible if there are a different geometry.
>
>
>
> Workarround:
>
> Style Save Style
>
> Open the XML
>
> Delete         geom = feature.geometry() and
> <layerGeometryType>0</layerGeometryType>
>
>
>
> Then Load style
>
>
>
> Now my Forms are easily imported.
>
>
>
> Is it possible to remove the ‘geom’ part from the copy statement on issues
> not regarding ‘geom’ so I can use a simple copy/paste ?
>
>
>
> Regards
>
>
>
>
>
> *Lene Fischer*
>
> Associate Professor
>
>
>
> *University of Copenhagen*
>
> Department of Geoscience and Natural Resource Management
>
> Forest and Landscape College
>
> Nødebovej 77a
>
> 3480 Fredensborg
>
> Denmark
>
>
>
>
>
> MOB +45 40115084
>
> *lfi at ign.ku.dk* <lfi at ign.ku.dk>
>
>
>
>
>
>
>
>
>
> <http://@Lene_Fischer>
>
>
>
>
>
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181004/1d46abc2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4971 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181004/1d46abc2/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1280 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181004/1d46abc2/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4971 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181004/1d46abc2/attachment-0003.gif>


More information about the QGIS-Developer mailing list