Recently in Analysis Category
The band math is as follows:
(float(b4)-float(b5)) / (float(b4) + float(b5))
The equation must be performed with the float parameter.
Craig is presently applying this transformation to examine the spatial pattern of salinity in relation to the distribution of q'ochas in the northern Lake Titicaca Basin.
REFERENCE
Al-Khaier, F.
2003 Soil Salinity Detection Using Satellite Remote Sensing. Masters of Science, International Institute for Geo-Information Science and Earth Observation.
Another Interesting Reference:
14.00 Fernando Caceres, Hamid Ali-Ammar, Eric Pirard (Universite de
Liege, Belgium) - Mineral mapping in salt lakes from Sud Lipez
(Bolivia) using ASTER images.
This post suggests that record by record looping is not possible. Specifically, it states "You can't pass a row object to a gp tool" The first thread gives python code for taking a directory of feature classes and calculating pathdistance from those. The second thread tries to calculate costdistances on several records in a single file. The conclusion is that the single file with multiple records needs to be converted into multiple files each with one record. I believe that the crime analysis tools has the capability of taking multiple records and making a theme from each record.
Reading to the bottom of the post it looks like there is a python solution which will loop through.
Nico's most recent notes can be found here.
Here is the command line for PathDistance:
PathDistance_sa Places C:\WorkSpace\PathDis_Plac2 # dem5792 # 'BINARY 1 45' dem5792 'TABLE C:\WorkSpace\ToblerAway.txt' # C:\WorkSpace\PathDis_Bk2
Here is the command line for CostPath
CostPath Qocha_Centroid PathDis_Plac3 PathDis_Bk3 C:\WorkSpace\CostPat_Qoch1 EACH_CELL ORIG_FID
ViewShed for each DEM point / Weighed Distance
http://arcscripts.esri.com/details.asp?dbid=13500
This aml had to be run from workstation. Note: On first run, the aml failed. N Craig has contacted the author. Craig has a revised version.Automate viewshed analysis
http://arcscripts.esri.com/details.asp?dbid=14687Burn multipatch into DTM custom geoprocessing tool
http://arcscripts.esri.com/details.asp?dbid=15173This allows for buildings and other objects to be burned into a dem so that surface analysis can be performed in urban spaces.
Sometimes
it can be a real bear to join tables in ArcGIS. If the column of both
tables has not been formatted exactly the same, the join operation may
not work properly. Sometimes ArcView can serve as a helpful workaround.
Once a table has been joined, there may be a need to make the joins
permanent. The Compiled Table Tools can be a helpful tool for performing this task.This Extension Adds Several Tools To Your Table Tool Bar . Most Are From ESRI's Web Site. The author compiled them into a single extension! Super useful.
- Import / Export to Excel
- Export to Word Processor
- Rename Fields
- Multi-Field Sort
- Multi-Field Delete
- Field & Table Properties
- Add Increment Field
- Auto ID with Prefix/Suffix
- Make Joins Permanent
- Append Tables
- Concatenate Fields
- Find Common Attributes
- Import From Txt File
- Find Duplicate in a Table and Tag
- Pad a Field
- Print Tables
- Zoom to Selected Shape by Selecting a Record in a Table
- Summarize Col and Row's
- Convert Text Data To/From {Upercase/Lowercase/Proper}
- Break Apart A String Field into new Fields by Each Word
- Merge Any Fields Together
- Hide/UnHide Fields (Sets Visibly)
- Add Formulas to Fields
- Calculate with Formulas Stored in a Field & Output to Existing or New Field
- Cut/Paste A Fields Contents
- Cut/Paste a Records Contents
- Duplicate Fields From one Table to Another Table
- Sort Fields Permanently
The following expressions can be used to calculate various parameters of polygons.
Ai as the Area of polygon i, and Li as its perimeter length, and Bi as the area of a circle with perimeter Li, then example measures include:
Perimeter/Area ratio (P1A):
ArcMap Field Calculator Expression: ([Shape_Length]/[Shape_Area])
Because the value of the index changes with the size of the figure, this ratio is unsatisfactory for most comparative applications.
Perimeter2/Area ratio (P2A):
Algebraic Formula:ArcMap Field Calculator Expression: ([Shape_Length]^2/[Shape_Area])
If preferred, this index, or its square root may be adjusted so that its value equals 1 when applied to a circle of the same area as Ai.
Shape Index or Compactness ratio (C):
ArcMap Field Calculator Expression: Sqr([Shape_Area]/(([Shape_Length]^2)/12.56))
This ratio is dimensionless (it is unaffected by the
size of the polygon) and it has a value of 1 for a circular region and a range of
[0,1] for all plane shapes. Sometimes the index is computed as [1‑Ci].
Many
useful functions are available at ESRI's ArcScripts. I also bookmark scripts that look especially useful for archaeology or anthropology. However, sometimes figuring out how to add this new script into ArcMap is so frustrating that it can feel like one is about to have their head chopped off...To help minimize these frustrations, this post details information on how to add user created scripts to ArcMap.

Scripts are
written in a number of different languages. Each of these
requires slightly different methods to connect the script to ArcMap.
It can be confusing to figure out how the scripts need to be integrated into the program so that the scripts can be used. Descriptions are given for adding functions in the following formats:
-
Arc Macro Language (AML)
-
Avenue
-
Visual Basic (VB, VBA, VBScript)
-
Python
-
Model Builder
http://mapaspects.org/courses/gis-and-anthropology/workshop-2009-viewshed-and-cost-distance/ii-cost-distance-2009