Feature request #4314

Apply polygon styles also to points

Added by Paolo Cavallini about 6 years ago. Updated 6 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Symbology
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

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 almost 6 years ago

  • Target version set to Version 1.7.4

#2 Updated by Paolo Cavallini over 5 years ago

  • Target version changed from Version 1.7.4 to Version 1.8.0
  • Affected QGIS version set to master
  • Crashes QGIS or corrupts data set to No

#3 Updated by Paolo Cavallini about 5 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

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

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

#5 Updated by Médéric RIBREUX almost 2 years 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 almost 2 years ago

  • 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
  • Status changed from Feedback to Open

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.

#7 Updated by Giovanni Manghi 6 months ago

  • Easy fix? set to No

Also available in: Atom PDF