2

I would like to modify this attribute table.

This is an example

  • First arrange column "ORG_FID" in ascending order
  • If the number of rows corresponding to the column "block Number" is same as well as "Lot Number", then as per the column "ORIG_FID", I want to add additional column as " Combinetxt" and the combine text will arrange as per the "ORIG_FID" ascending order "N/F ONIS B. PUPO AND ALEIDA M. PUPO, H/W" for both the rows.
  • Then I can dissolve the attribute table on the basis on 3 columns. ("Block Number", "Lot Number", "Combinetxt") enter image description here
PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Aug 29, 2017 at 14:40

1 Answer 1

2

I would direct you to utilize Calculate Field examples

Entering values with the keyboard is not the only way you can edit values in a table. In some cases, you might want to perform a mathematical calculation to set a field value for a single record or even all records.

You can perform simple as well as advanced calculations on all or selected records. In addition, you can calculate area, length, perimeter, and other geometric properties on fields in attribute tables. The sections below include examples of using the field calculator. Calculations can be performed using either Python or VBScript.

Python is the recommended scripting language for ArcGIS. Use Python if you want access to geoprocessing functionality, including feature geometry. The adoption of Python as the scripting language for ArcGIS provides many opportunities for performing calculations.

A related script: this is just a general example would be to incorporate some sort of logi

Parser: Python

Expression: Reclass(!WELL_YIELD!)

def Reclass(WellYield):
if (WellYield >= 0 and WellYield <= 10):
 return 1
elif (WellYield > 10 and WellYield <= 20):
 return 2
elif (WellYield > 20 and WellYield <= 30):
 return 3
elif (WellYield > 30):
 return 4

Field Calculator PDF

answered Aug 29, 2017 at 14:53

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.