Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> import arcpy
- >>> from arcpy import env
- >>> from arcpy.sa import *
- >>> arcpy.env.workspace = r"S:*PATH*.gdb"
- >>> outDir = "S:*PATH*.gdb\"
- >>> for fc in arcpy.ListFeatureClasses("*_150m"):
- ... outfc = outDir + arcpy.Describe(fc).baseName + "_area"
- ... arcpy.gp.TabulateArea_sa(fc,"siteID",Raster("NLCD_2011_landcover_raster_Chicago_proj"),"Value",outfc,“30”)
- ...
- Parsing error SyntaxError: invalid syntax (line 3)
- arcpy.gp.TabulateArea_sa(fc,"siteID",Raster("NLCD_2011_landcover_raster_Chicago_proj"),"Value",outfc,“30”)
Add Comment
Please, Sign In to add comment