About 460,000 results
Open links in new tab
  1. arcpy - Calculate area within Python script in ArcMap - Geographic ...

    arcpy.da.UpdateCursor also has better performance than arcpy.UpdateCursor, partially because it skips unimportant fields, especially geometry. When reading geometry, you can choose one of …

  2. arcpy - Formatting label expression with newline using Python …

    With arcpy, I am attempting to access a label.expression of an ArcMap layer and modify it to: lbl.expression = '[FIELDNAME] + "\n" + "taco"' I can't get the "\n" part to force the rest of the …

  3. arcpy - Trying to extract a list of Unique Values from a field using ...

    Aug 26, 2016 · Using arcpy.Frequency_analysis() quickly puts all the unique values from a field into a new table, which ...

  4. Calculating distance between two points using ArcPy

    Mar 24, 2021 · There's no need to use spherical haversine computation when ArcPy already has the full Inverse (aka Reverse) Problem of Geodesy implemented via the Esri Projection …

  5. arcpy - Using UpdateCursor based on current selection of features ...

    What I want to do is to manually select two features with the mouse (e.g. point or polygon), each in separate geodatabases to then copy the attributes values from one to the other (for only …

  6. arcpy - Using intersect analysis within if loop as part of function ...

    Apr 17, 2022 · Create a list and append objects created from function arcpy.Exists through a loop 0 Using list of file paths in function arcpy.ListFields to create multiple lists of field names for …

  7. arcpy - Iterate through features to use selection as input for ...

    Oct 19, 2017 · import arcpy feature_class = r'C:\test.gdb\polygon' with arcpy.da.SearchCursor(feature_class,'SHAPE@') as cursor: for row in cursor: #do something …

  8. arcpy - Ways to Speed Up Python Scripts Running As ArcGIS Tools ...

    Use arcpy.MakeFeatureLayer_management("buff","buff_lyr") above your "while" loop, and then change your references below the while loop to use "buff_lyr". Process as much of your GP …

  9. arcpy - Using Trace Network Selection in standalone script in …

    Mar 4, 2022 · I am trying to create a script that allows me to to set various starting points on a network. Then perform an upstream trace and export the selected lines to a new feature class.

  10. arcpy - Describe layer field names - Geographic Information …

    May 23, 2024 · If you already have a Describe object for a layer, e.g., desc = arcpy.Describe(layer), retrieving the fields property will return a list of Field objects: desc.fields. …

Refresh