New answers tagged fields-attributes
0
votes
Creating line feature with multiple record
You cannot create several records in table of contents that points to the same feature; the opposite is possible.
However you can create another table and with relationships, you can point several ...
3
votes
Accepted
How to replicate QGIS's Identify Features functionality with ogr2ogr when downloading data from WFS endpoint?
Your issue has something to do with the attribute with a name "name". Name has some special meaning in GML3 but unfortunately I don't exactly understand what. I can only show by examples ...
1
vote
Accepted
Query - Select By Attribute
Try to enclose the field name with double quotes "" because enclosing of the field name depends on the file type. You can refer to SQL reference for query expressions used in ArcGIS If you ...
1
vote
How to display in QGIS Map Tips an image with absolute path written in the layer?
I fixed the code, this works:
<div style="width:600; height:600">
<div><img src= "file:///[% "path" %]" width="600" /></div>
</div>...
1
vote
Accepted
How to set a "main field" of a layer in QGIS interface (instead UUID)?
Go to the layer properties (right click on it then properties...) there in the Display tab you may set the display name and choose any field you want, you could even use an expression to fully ...
0
votes
Script field calculation Python parser
Figured it out. I didnt need my Creata and Field_number fields anymore. Thank You.
Here's the code Below.
rec = 0
letter = "A"
def autoIncrement():
global rec, letter
pStart = 1
...
1
vote
Script field calculation Python parser
Using @Hornydd 's recommendation. You need to feed the "Creata" field into the script.
You script should read:
def autoIncrement(Creata):
creata = Creata
rec = 0
letter = "A&...
0
votes
Converting string field into date field in QGIS
Workaround-----you are unable to edit this (your error message above) until you save into a GeoPackage, per Why can't I edit attribute table imported through 'text as layer'
0
votes
Script field calculation Python parser
Firstly you are calculating into the numeric field Field_number so you would never be able to create your code as that is text. You need to be calculating into a text field. Secondly you don't pass ...
0
votes
Change specific text and keep the rest
You can add a new column using the field calculator in the attribute table of your data.
Using the following code you can add new data labels based on existing ones.
CASE
WHEN "column_name&...
5
votes
Change specific text and keep the rest
Create a new field with a type of text (string), and in the field calculator just use the following expression in a new field:
replace("fieldName",'OG','LIP')
where the fieldName is the ...
0
votes
QGIS Split Vector Layer By Multiple Attributes
Create virtual field that concatenates your three attributes, then use the Split vector layer processing tool:
1
vote
Accepted
Copying an attribute field from a polygon to a polyline
If you are using Polygon To Line, look at the RIGHT_FID attribute in your output feature class. The value in that attribute is the same as the OBJECTID in the input feature class.
Keep in mind that, ...
Top 50 recent answers are included
Related Tags
fields-attributes × 1822qgis × 762
arcgis-desktop × 315
attribute-table × 294
arcpy × 238
pyqgis × 182
field-calculator × 181
shapefile × 122
arcmap × 107
python × 78
qgis-3 × 76
layers × 72
attribute-joins × 67
arcgis-pro × 55
expression × 54
polygon × 52
point × 48
arcgis-10.2 × 43
symbology × 42
arcgis-10.1 × 37
editing × 37
features × 36
modelbuilder × 35
arcgis-10.0 × 33
labeling × 31