Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/04/2016 in all areas

  1. I'm from Australia. I've lurked for a while and got some great advice from the forum and want to make contributions back. I'm a remote sensing and photogrammetry expert with a research organisation. Looking forward to contributing to the community.
    2 points
  2. I didnt check your file, but the solution is sth like this fc = "your_featureclass" fields = ["road_name_field"] cursor = arcpy.da.UpdateCursor(fc, fields) for row in cursor: full_name = [] full_name = row[0].split(" ") road_type = full_name[-1] if road_type = "ST": full_name[-1] = "STREET" elif road_type = "RD": full_name[-1] = "ROAD" result= full_name[:-1] result.append(full_name[-1]) row[0]= " ".join(result) cursor.updateRow(row)
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Disable-Adblock.png

 

If you enjoy our contents, support us by Disable ads Blocker or add GIS-area to your ads blocker whitelist