How are you people . I have an interesting question which i hope u might help me with .
I have a DEM and two point shapefiles. I want to draw a line from point 1 in shapefile 1 to any point in shapefile 2 which has the same elevation with point 1. The line should follow points of the same elevation in the DEM hence the line will likely be an winding line rather than a straight one.
Thank you for your time.
Solved! Go to Solution.
is there any way of writing the statement below in arcpy
arcpy.gp.RasterCalculator_sa("(\"%FlowAcc%\" > 5000)", Rstream)i want to select values greater than 5000 in Flow Accumulation raster (FlowAcc) and save them to Rstream . when i put it in python it returned an error : 'int' object has no attribute 'save
Rstream is a file. the code is so long i just shorted it. But whole code is almost the same as the 1 i used and it worked well
arcpy.gp.RasterCalculator_sa("Con(\"%Fill (2)%\" == \"%ZonalStast_Max%\",\"%Fill (2)%\")", MaxRasterPoints)