Skip to main content
Post Closed as "Not suitable for this site" by PolyGeo
edited tags
Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345
Source Link

pyqgis - Show layer properties in layer name in a same way as feature count

Setting 'Show Feature Count' adds a number of features in layer's name, but doesn't actually change its name, in a sense that its name can still be got from the 'name()' method and the result would not include the feature count within brackets.

Is it possible to show custom properties in a same way with pyqgis or ones already available in information panel?

For instance, setting CRS to show as: {layer_name} [EPSG:4326]?