Guest User

Untitled

a guest
Jul 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. >>> import arcpy
  2. >>> from arcpy import env
  3. >>> from arcpy.sa import *
  4. >>> arcpy.env.workspace = r"S:*PATH*.gdb"
  5. >>> outDir = "S:*PATH*.gdb\"
  6. >>> for fc in arcpy.ListFeatureClasses("*_150m"):
  7. ... outfc = outDir + arcpy.Describe(fc).baseName + "_area"
  8. ... arcpy.gp.TabulateArea_sa(fc,"siteID",Raster("NLCD_2011_landcover_raster_Chicago_proj"),"Value",outfc,“30”)
  9. ...
  10. Parsing error SyntaxError: invalid syntax (line 3)
  11.  
  12. arcpy.gp.TabulateArea_sa(fc,"siteID",Raster("NLCD_2011_landcover_raster_Chicago_proj"),"Value",outfc,“30”)
Add Comment
Please, Sign In to add comment