Guest User

Untitled

a guest
Jan 21st, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. import arcpy
  2. # Set workspace
  3. arcpy.env.workspace = "D:/pro-restaura/ProRestaura-dados/outout-mg/reproject-mg"
  4.  
  5. # Set local variables
  6. in_features = (arcpy.Raster, "area_pro_restaura_minas.tif")
  7. out_feature_class = "D:/pro-restaura/ProRestaura-dados/outout-mg/reproject-mg/class_UpVeg.tif"
  8. where_clause = "Value" = 2103
  9.  
  10. # Execute Select
  11. arcpy.Select_analysis(in_features, out_feature_class, where_clause)
Add Comment
Please, Sign In to add comment