Feature request #4314

Apply polygon styles also to points

Added by Paolo Cavallini over 5 years ago. Updated over 1 year ago.

Status:OpenStart date:09/24/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Symbology
Target version:Future Release - Lower Priority
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

  • Load a point layer
  • Create individual convex polygons based on some value
  • Create a style for polygons based on same value
  • Apply the style to the original point layer

The points should appear in the same colour as the polygons, but in fact they disappear. From there on, no style is applied correctly.
If the layer is removed and reloaded, classifications can be used again, but not preset styles.

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Target version set to Version 1.7.4

#2 Updated by Paolo Cavallini about 5 years ago

  • Causes crash or corruption set to No
  • Target version changed from Version 1.7.4 to Version 1.8.0
  • Affected version set to master

#3 Updated by Paolo Cavallini over 4 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#4 Updated by Jürgen Fischer almost 3 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#5 Updated by Médéric RIBREUX over 1 year ago

  • Status changed from Open to Feedback

Hello, bug triage...

in QGIS 2.13 (and probably in previous versions), you can't apply a style from a Polygon layer to a Point layer.

There is message in the canvas:

Cannot paste style to layer with a different geometry type: Your copied style does not match the layer you are pasting to

It seems to be the normal behavior as polygon styles are difficult to apply to points.

What was the initial problem ? Do you like to transform a polygon style to a point style, for example by copying fill and outline colors from Simple Fill to fill and outline colors of Simple Marker ?

#6 Updated by Giovanni Manghi over 1 year ago

  • Status changed from Feedback to Open
  • Tracker changed from Bug report to Feature request
  • Subject changed from Polygon styles are not applied to points to Apply polygon styles also to points

Médéric RIBREUX wrote:

Hello, bug triage...

in QGIS 2.13 (and probably in previous versions), you can't apply a style from a Polygon layer to a Point layer.

There is message in the canvas:
[...]

It seems to be the normal behavior as polygon styles are difficult to apply to points.

What was the initial problem ? Do you like to transform a polygon style to a point style, for example by copying fill and outline colors from Simple Fill to fill and outline colors of Simple Marker ?

considered the age of this ticket I don't think it refers to the copy/paste style feature.

Is true that a saved QML from a polygon layer, based on a attribute, won't work on a point layer with the same attribute/values, but why it should considered that it contains only "fill" styles.

This seems like more appropriate for a feature request.

Also available in: Atom PDF