Skip to main content
6 votes
Accepted

Assigning unique ID to new points in QGIS

First add a numerical field named id or whatever you wish to your layer. Then open the layer properties and navigate to "Attributes form". Select your id field and scroll down to default. ...
MrXsquared's user avatar
  • 34.9k
6 votes

Khmer Language is not properly displayed in layer fields in QGIS

Shapefile is an old format with many limitations. One of them is the Unknown character set: There is no way to specify the character set used in the database. Many applications are using the old ...
Babel's user avatar
  • 73.1k
5 votes

Deselecting duplicate records in QGIS Attribute table

Using Select by Expression and the option Filter Current Selection. The FID values are aggregated into arrays, grouped by the VALUE field. The current feature's FID is evaluated against the first FID ...
Matt's user avatar
  • 17.5k
4 votes

Removing character from many field names in QGIS

You should be able to use the "Refactor Fields" tool but it will output a new layer. You can use PyQGIS and .renameAttribute() method. The code below is going to replace all - with nothing/...
Bera's user avatar
  • 74.8k
2 votes

Deselecting duplicate records in QGIS Attribute table

I can suggest a PyQGIS solution. Proceed with Plugins > Python Console > Show Editor (see documentation) and paste the script below: # imports from qgis.core import QgsProject # getting a layer ...
Taras's user avatar
  • 33.3k
1 vote

Removing character from many field names in QGIS

A one-time operation There is a QGIS Plugin available for this purpose "Rename Field" with a simple interface. Can be found under Plugins > Rename Field > Rename field. A multiple-...
Taras's user avatar
  • 33.3k

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