A trick, or more a hack, would be to export the style to SLD, and then use a 
text editor to change the appropriate SLD polygon parts to line parts, eg:
 

<se:PolygonSymbolizer>
       <se:Stroke>
              <se:SvgParameter name="stroke">#816a45</se:SvgParameter>
              <se:SvgParameter name="stroke-width">0.07</se:SvgParameter>
            </se:Stroke>
            <se:Fill>
              <se:SvgParameter name="fill">#cddbe7</se:SvgParameter>
            </se:Fill>
</se:PolygonSymbolizer>

would become

to <se:LineSymbolizer>
       <se:Stroke>
              <se:SvgParameter name="stroke">#816a45</se:SvgParameter>
              <se:SvgParameter name="stroke-width">0.07</se:SvgParameter>
            </se:Stroke>
</se:PolygonSymbolizer>

of course the se:Fill part (if present) needs to be removed, otherwise most 
applications would consider it an error.

Not very elegant and needs a basic understanding of the SLD standard...

 
--
Barend Köbben
 

On 11/09/2017, 16:09, "Qgis-user on behalf of Elstermann, Mike" 
<[email protected] on behalf of [email protected]> 
wrote:

    Any ideas?
     
    mikeE.
     
    
    Von: Qgis-user [mailto:[email protected]]
    Im Auftrag von Elstermann, Mike
    Gesendet: Donnerstag, 31. August 2017 09:13
    An: '[email protected]'
    Betreff: [Qgis-user] How to copy styles between different geometry types? 
[Marketing Mail]
    
    
     
    How to copy styles of a polygon theme (line of the outline polygon) to the 
style of a line theme in QGIS styles, i. e. when changing the geometry type. Is 
there a trick?
     
    THX, mikeE.
     
     
    
    

_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to