Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 23973

A site-package created by Esri to expose ArcGIS Desktop (ArcMap and ArcGIS Pro) geoprocessing, mapping, etc, to Python.

2 votes

Apply lyr file to Arcpy

You need to take a whole list of your layers and iterate it. Try this: import arcpy.mapping as mapping mxd = mapping.MapDocument("CURRENT") df = mapping.ListDataFrames(mxd, "Layers")[0] updateLayers …
a_v_zhukov's user avatar
2 votes
Accepted

Error when looping Polygon to Raster with python through different fields using ArcGIS Desktop

Try not to use concatenation for path. Use os.path. You are trying to create 12 rasters with the same name. Specify different names for rasters. Do you iterate shape files in folder? If you do, your …
a_v_zhukov's user avatar