Skip to main content

New answers tagged

2 votes
Accepted

Setting field alias in GeoPackage file outside of QGIS

Yes. I did a quick test, and if you add the alias to a GeoPackage and then open the GeoPackage in another QGIS project, the alias is retained. So I had a look at the GeoPackage, and the alias is ...
Pieter's user avatar
  • 3,259
2 votes

Fields that fill in automatically

Yes, it is. Go to Layer properties, attribute form, select the field of your ID, set default value to $id
sn1ks's user avatar
  • 3,042
0 votes
Accepted

Copy and Paste in QGIS for plugin

While performing a copy-paste operation in a QGIS environment, the field names and data type must be the same between the layers. You can also perform copy-and-paste operations without using a plugin.
Yechale Asmamaw's user avatar
0 votes

Deselecting duplicate records in QGIS Attribute table

You can use the "Delete Duplicates by Attribute" tool
dimitris fotopoulos's user avatar
6 votes
Accepted

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.6k
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
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
0 votes

Graduated symbology

You can't graduate using a string field, you need to convert it to real first, using the field calculator to create a new field with the follwing expression to_real("correlation")
Erik's user avatar
  • 16.5k
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
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.9k
0 votes

Changing field length using QGIS

Refactor fields from Processing toolbox Go to [Processing Toolbox] - ]Vector Table] - [Refactor fields] Make changes to the "Fields" that you want Click [Run] to "create temporary ...
Maku's user avatar
  • 1

Top 50 recent answers are included