The Archaeoinformant reports that Newhard, Levine, and Phebus (2014) presented a LCP model that incorporated both terrestrial and marine costs to assist in exploring the connectivity between places. Developed in ArcGIS ModelBuilder, the initial model was streamlined by Nicola Buescher, Christina Carmack, Caleb Whitaker, Zach Campbell and Thomas Mims. The model, now named AquaTerra, is available via GitHub as a Python script. The community is encouraged to comment, customize, and improve upon the current system as we move towards further improvements and development.
SOLUTION FOUND!See bottom of post below for original problem
My solution: I used the Cell Statistics tool and set the tool's inputs as parameters. My only issue with it is that the user cannot drag groups from the table of contents into the input dialog part, but that is a minor complaint.
Now I am going to try to do some fancier stuff like add it to the current mxd with a specific symbology and add fields in the output raster to help show what areas are being seen from what trails.
I'm trying to make a user-friendly tool for a colleague of mine. He would like to be able to ask ArcMap something to the effect of: "I'm going to hike all of X trail to Y canyon and follow Y's creek until it ends. What parts of the mountains will be visible to me along that route. And have it put in the map as a Layer so I can play with several symbolization schemes"
I currently have visibility rasters for every individual trail and creek and they all have the same extent. I can manage to sum any number of these rasters, but only if I know them in advance and use the Raster Calculator to do so. Trying to create a multi-variable list as a model parameter that the end user can input whatever rasters they want is where I run into difficulty.
I came up with 2 different ways to approach this but I hardly know ModelBuilder well enough, and Python hardly at all, in order to do get it to do what I intend it to do:
1. Somehow use the list of rasters to be summed to create a Map Algebra expression?
2. Have a kind of looping Plus tool that starts with a blank raster of the same style and adds one of the rasters from the list each time using the previous loop's output as the input? But you can't do that: Error 000670
I am thoroughly confused by the new format of the forums, so I hope I am posting this correctly and that I am in the right space.
I have a python script I am trying to write for a field calculator in ArcGIS 10.2. The field [fclass] is a numeric field with the numbers 1, 2, 6, 7, 8, 9, 11, 12 ,14 ,16, 17, and 19. These correspond to different road levels.
I have created a float field [Speed] and I am trying to assign each row a speed based on the fclass. Thus if the code is 1 or 11 (interstate highways) the value should be 55, 9 or 19 (local roads) and it would be 25 etc.
I am sure I am way off, but I got a basic version of the following script to work.
In the Python codeblock
if (fclass == fclassVal):
in the calculate field
However, this of course simply changes the fclass of 1 to 55 and makes the rest all 25. If somebody could give me an idea how to write a "nested" statement I would greatly appreciate it.
Again, sorry if this is the wrong space for the question, but this new forum design is really weird.