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 ...
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, ...
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 ...
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&...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fields-attributes × 1820qgis × 761
arcgis-desktop × 314
attribute-table × 293
arcpy × 238
pyqgis × 182
field-calculator × 181
shapefile × 122
arcmap × 106
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
modelbuilder × 35
features × 35
arcgis-10.0 × 33
labeling × 31