As of May 31, 2023, we have updated our Code of Conduct.

Hot answers tagged

4 votes
Accepted

Enable 'Show Feature Count' option by default when loading a layer

Solved based on winnewoerp and user30184 comments:
Ingrid Ingravida's user avatar
4 votes

Saving all layer edits at once in QGIS

Under the Digitizing Toolbar, there is an option to save edits for all layers. It will be active once you edit a feature or features of any layer loaded in the project. If the Digitizing Toolbar is ...
ahmadhanb's user avatar
  • 39.6k
2 votes

How do I create different styles in one layer?

Yes, it is well possible in one layer. Open Layer Properties->Symbology and open a dropdown with Single Symbol value: Choose Categorized - features in the vector layers can be given attributes ...
Szymon Piotr Jerzy Czwart's user avatar
2 votes

Exporting MapInfo TAB file with symbology using Processing Toolbox or PyQGIS

Apply the symbologyExport=QgsVectorFileWriter.FeatureSymbology parameter when writing and it will keep its symbology when opened in MapInfo. from os.path import abspath from qgis.utils import iface ...
Prosper's user avatar
  • 51
2 votes

Removing added layers using Leaflet

I managed to do it this way. Posting here as an alternative. var ttPoly; var ttLayerGroup = new L.LayerGroup(); $("#btnGenerate").click(function(){ $.ajax({ url: 'php/...
user3072602's user avatar
2 votes

Naming clipped files from layer mask?

If you've split the grid into individual layers that are saved in a directory, then you can select that directory (using Autofill...) as the Mask layer field for Clip raster by mask layer tool in ...
Tom Brennan's user avatar
  • 1,676
1 vote

QGIS Composer layer missing after export to PDF or PNG

I found that there's an issue in Github for this bug. "Layer blending mode reset on export for all file types #50526"
FedericoL's user avatar
1 vote
Accepted

Make this the only selectable layer keyboard shortcut not working

I have been able to replicate the same issue in ArcMap 10.7. I too could not assign a shortcut to the Make This the Only Selectable Layer command. Initially I thought this is one of those subversive ...
Hornbydd's user avatar
  • 41.8k
1 vote
Accepted

Removing added layers using Leaflet

You have only one var ttPoly for all your created polygons, so at any given moment it points only to the last created polygon. One way of resolve this problem is to have array var ttPolyActive = [] to ...
TomazicM's user avatar
  • 21.5k
1 vote
Accepted

Setting decimal places on labelling using PyQGIS

Logically, it would be this code, but the checkbox Formatted Numbers isn't checked on my QGIS 3.30 (Windows) : lyr_no2_concentration = iface.activeLayer() lyr_settings = QgsPalLayerSettings() ...
J. Monticolo's user avatar
  • 15.1k

Only top scored, non community-wiki answers of a minimum length are eligible