Its a presentation slide prepared by me and my team for a workshop at my college.Don't hesitate to mail me at utmpudasaini@hotmail.com or utmpudasaini@gmail.com if you want to know more or details regarding the demos.
Geoprocessing(Building Your Own Tool) and Geostatistical Analysis(An Introduction) Using Python Scripts
1. GEOPROCESSING –Build Your Own Tools
using Python Script
GEOSTATISTICAL ANALYSIS in Arc GIS
using python: An Introduction
Group Members:
Bibek Karki(13)
Upendra Oli(19)
Uttam Pudasaini(22)
2. Simple tool using python script
Iteration in script tool
Geostatistical Analysis(arcpy.ga Introduction )
3. GEOPROCESSING :For everyone that uses ArcGIS
The fundamental purpose of Geoprocessing is to
Provide tools and a framework for performing analysis and managing
geographic data.
Geoprocessing provides a large suite of tools for performing GIS tasks that
range from
Simple buffers and polygon overlays to Complex regression analysis and
Image classification.
All geo-processing tools are available as Python through the “ArcPy”
module that ships with ArcGIS 10
4. A script tool that you create is an integral part of geoprocessing, just
like a system tool
To create a script tool in a custom toolbox, you need three things:
A script
A custom toolbox
A precise definition of the parameters of your script
10. Import Os
The Os module contain functions the script will need for
working with files on disk.
• Os.path.join()
Joins the two input arguments to a single string
11. ValidateTableName (name, {workspace})
Takes a table name and a workspace path and returns a valid table
name for the workspace.
An underscore "_" will replace any invalid character found in the table
name
NAME AND WORKSPACE-string
RETURN TYPE-string
14. ArcPy is supported by a series of modules, including a
Mapping module(arcpy. mapping),
Spatial Analyst module(arcpy.sa),
Geostatistical Analyst module(arcpy.ga).
15. Geostatistics is a class of statistics
used to analyze and predict the
values associated with spatial or
spatiotemporal phenomena.
A practical means to describe
spatial patterns and interpolate
values for locations where
samples weren’t taken
16.
17. Geostatistical Analyst classes are used for defining parameters
for Geostatistical Analyst tools that may have a varying number
of arguments depending on the parameter type selected
Classes
Cross ValidationResult
SearchNeighbourhoodSmooth
SearchNeighbourhoodStandard
18. To compare the predicted value to the observed value in
order to obtain useful information about model
parameters.
Removes one data location and then predicts the associated data
using the data at the rest of the locations.
Takes Geostatistical Layer as Input
19. • DEMO
• Cross Validation Result
• Create Geostatistical Layer From XML of your model
20. It is used to define the search neighbourhood for
IDW,
Local Polynomial Interpolation,
and Radial Basis Functions.
21. Takes following Arguments
majorSemiaxis:
The distance, in map units, specifying the length of the
major semi axis of the ellipse within which data is selected
from.
minorSemiaxis:
The distance, in map units, specifying the length of the
minor semi axis of the ellipse within which data is selected
from.
Angle:
The angle of the search ellipse.
22. nbrMax:
Maximum number of neighbors, within the search ellipse, to
use when making the prediction.
nbrMin:
Minimum number of neighbors, within the search ellipse, to
use when making the prediction.
sectorType:
The searching ellipse can be divided into 1, 4, 4 with an
offset of 45º, or 8 sectors.
24. Used to define the search neighborhood for IDW,
Local Polynomial Interpolation,
and Radial Basis Functions
(only when the INVERSE_MULTIQUADRIC_FUNCTION
keyword is used).
25. majorSemiaxis:
The distance, in map units, specifying the length of the major
semi axis of the ellipse within which data is selected from.
minorSemiaxis:
The distance, in map units, specifying the length of the minor semi
axis of the ellipse within which data is selected from.
Angle:
The angle of the search ellipse.
smoothFactor
Determines how much smoothing will be performed. 0 is no
smoothing; 1 is the maximum amount of smoothing.