SlideShare a Scribd company logo
1 of 27
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)
 Simple tool using python script
 Iteration in script tool
 Geostatistical Analysis(arcpy.ga Introduction )
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
 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
GetParameterAsText()
GetParameter()
Os.path
AddMessage()
GetMessages()
ValidateTableName()
Os.path.join()
GetParameterAsText()
GetParameterAsText reads the user input for the output file
location (for example) as a text string.
…String = arcpy.GetParameterAsText(index)
GetParameter()
GetParameter reads user input and returns an object
(e.g., Boolean).
…..Object = arcpy.GetParameter(0)
arcpy.GetMessages(index)
Returns a geoprocessing tool message by its index
position.
arcpy.AddMessage()
Creates a geoprocessing informative message that can be
accessed with any of the GetMessages functions.
arcpy.AddMessage(arcpy.GetMessages(index))
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
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
DEMO 1:SIMPLE SRCIPT TOOL
DEMO 2:ITERATION ON SCRIPT TOOL
Geostatistical Analysis
ArcPy is supported by a series of modules, including a
 Mapping module(arcpy. mapping),
Spatial Analyst module(arcpy.sa),
Geostatistical Analyst module(arcpy.ga).
 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
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
 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
• DEMO
• Cross Validation Result
• Create Geostatistical Layer From XML of your model
It is used to define the search neighbourhood for
IDW,
 Local Polynomial Interpolation,
 and Radial Basis Functions.
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.
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.
• DEMO[With Change in Ellipse Parameters]
Used to define the search neighborhood for IDW,
Local Polynomial Interpolation,
and Radial Basis Functions
(only when the INVERSE_MULTIQUADRIC_FUNCTION
keyword is used).
 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.
• Demo
Geoprocessing(Building Your Own Tool)  and Geostatistical Analysis(An Introduction) Using Python Scripts

More Related Content

What's hot

What's hot (20)

Introduction to gis and its application
Introduction to gis and its application Introduction to gis and its application
Introduction to gis and its application
 
Advantages and disadvantages of remote sensing
Advantages and disadvantages of remote sensingAdvantages and disadvantages of remote sensing
Advantages and disadvantages of remote sensing
 
GIS data analysis
GIS data analysisGIS data analysis
GIS data analysis
 
Introduction to GIS
Introduction to GISIntroduction to GIS
Introduction to GIS
 
Distortions and displacement on aerial photograph
Distortions and displacement on aerial photographDistortions and displacement on aerial photograph
Distortions and displacement on aerial photograph
 
Introduction To Geographical Information System (GIS)
Introduction To Geographical Information System (GIS) Introduction To Geographical Information System (GIS)
Introduction To Geographical Information System (GIS)
 
Iirs lecure notes for Remote sensing –An Overview of Decision Maker
Iirs lecure notes for Remote sensing –An Overview of Decision MakerIirs lecure notes for Remote sensing –An Overview of Decision Maker
Iirs lecure notes for Remote sensing –An Overview of Decision Maker
 
Gis
GisGis
Gis
 
Geographic information system
Geographic information systemGeographic information system
Geographic information system
 
Introduction to gis and arc gis
Introduction to gis and arc gis Introduction to gis and arc gis
Introduction to gis and arc gis
 
Gis applications
Gis applicationsGis applications
Gis applications
 
Slope Modeling & Terrain Analysis (EPAN09)
Slope Modeling & Terrain Analysis (EPAN09)Slope Modeling & Terrain Analysis (EPAN09)
Slope Modeling & Terrain Analysis (EPAN09)
 
Data sources and input in GIS
Data  sources and input in GISData  sources and input in GIS
Data sources and input in GIS
 
introduction to gis technology and its applications
  introduction to gis technology and its applications  introduction to gis technology and its applications
introduction to gis technology and its applications
 
Basics to gis concepts unit i
Basics to gis concepts unit iBasics to gis concepts unit i
Basics to gis concepts unit i
 
Components of Remote Sensing
Components of Remote SensingComponents of Remote Sensing
Components of Remote Sensing
 
Applications of remote sensing in geological aspects
Applications of remote sensing in geological aspectsApplications of remote sensing in geological aspects
Applications of remote sensing in geological aspects
 
An introduction to geographic information systems (gis) m goulbourne 2007
An introduction to geographic information systems (gis)   m goulbourne 2007An introduction to geographic information systems (gis)   m goulbourne 2007
An introduction to geographic information systems (gis) m goulbourne 2007
 
GIS Data Types
GIS Data TypesGIS Data Types
GIS Data Types
 
Vertical aerial photographs
Vertical aerial photographsVertical aerial photographs
Vertical aerial photographs
 

Similar to Geoprocessing(Building Your Own Tool) and Geostatistical Analysis(An Introduction) Using Python Scripts

Stockage, manipulation et analyse de données matricielles avec PostGIS Raster
Stockage, manipulation et analyse de données matricielles avec PostGIS RasterStockage, manipulation et analyse de données matricielles avec PostGIS Raster
Stockage, manipulation et analyse de données matricielles avec PostGIS Raster
ACSG Section Montréal
 
Building Scalable Semantic Geospatial RDF Stores
Building Scalable Semantic Geospatial RDF StoresBuilding Scalable Semantic Geospatial RDF Stores
Building Scalable Semantic Geospatial RDF Stores
Kostis Kyzirakos
 
Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...
Texas Natural Resources Information System
 

Similar to Geoprocessing(Building Your Own Tool) and Geostatistical Analysis(An Introduction) Using Python Scripts (20)

Abstract
AbstractAbstract
Abstract
 
SAADATMAND_PYTHON
SAADATMAND_PYTHONSAADATMAND_PYTHON
SAADATMAND_PYTHON
 
RS and GIS TW- 1&2.pdf
RS and GIS TW- 1&2.pdfRS and GIS TW- 1&2.pdf
RS and GIS TW- 1&2.pdf
 
Geoprocessing
GeoprocessingGeoprocessing
Geoprocessing
 
Sorting_project_2.pdf
Sorting_project_2.pdfSorting_project_2.pdf
Sorting_project_2.pdf
 
dev_int_96
dev_int_96dev_int_96
dev_int_96
 
design_doc
design_docdesign_doc
design_doc
 
Opensource gis development - part 2
Opensource gis development - part 2Opensource gis development - part 2
Opensource gis development - part 2
 
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal OgudahGis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
Gis and Ruby 101 at Ruby Conf Kenya 2017 by Kamal Ogudah
 
Spatial
SpatialSpatial
Spatial
 
Seminar on gis analysis functions
Seminar on gis analysis functionsSeminar on gis analysis functions
Seminar on gis analysis functions
 
Development Infographic
Development InfographicDevelopment Infographic
Development Infographic
 
Salient KeypointSelection for Object Representation
Salient KeypointSelection for Object RepresentationSalient KeypointSelection for Object Representation
Salient KeypointSelection for Object Representation
 
C42011318
C42011318C42011318
C42011318
 
Stockage, manipulation et analyse de données matricielles avec PostGIS Raster
Stockage, manipulation et analyse de données matricielles avec PostGIS RasterStockage, manipulation et analyse de données matricielles avec PostGIS Raster
Stockage, manipulation et analyse de données matricielles avec PostGIS Raster
 
Building Scalable Semantic Geospatial RDF Stores
Building Scalable Semantic Geospatial RDF StoresBuilding Scalable Semantic Geospatial RDF Stores
Building Scalable Semantic Geospatial RDF Stores
 
Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...Covering the earth and the cloud the next generation of spatial in sql server...
Covering the earth and the cloud the next generation of spatial in sql server...
 
GIS Ppt 5.pptx: SPACIAL DATA ANALSYSISIS
GIS Ppt 5.pptx: SPACIAL DATA ANALSYSISISGIS Ppt 5.pptx: SPACIAL DATA ANALSYSISIS
GIS Ppt 5.pptx: SPACIAL DATA ANALSYSISIS
 
Introduction to image processing and pattern recognition
Introduction to image processing and pattern recognitionIntroduction to image processing and pattern recognition
Introduction to image processing and pattern recognition
 
2008-03-04 - Geoprocessing with ArcGIS.pdf
2008-03-04 - Geoprocessing with ArcGIS.pdf2008-03-04 - Geoprocessing with ArcGIS.pdf
2008-03-04 - Geoprocessing with ArcGIS.pdf
 

More from Nepal Flying Labs

Poster Presentation "Generation of High Resolution DSM Usin UAV Images"
Poster Presentation "Generation of High Resolution DSM Usin UAV Images"Poster Presentation "Generation of High Resolution DSM Usin UAV Images"
Poster Presentation "Generation of High Resolution DSM Usin UAV Images"
Nepal Flying Labs
 
WHAT'S THERE IN GEOMATICS ENGINEERING???
WHAT'S THERE IN GEOMATICS ENGINEERING???WHAT'S THERE IN GEOMATICS ENGINEERING???
WHAT'S THERE IN GEOMATICS ENGINEERING???
Nepal Flying Labs
 

More from Nepal Flying Labs (16)

Use of Drones in Humanitarian Action and Disaster Management
Use of Drones in Humanitarian Action and Disaster ManagementUse of Drones in Humanitarian Action and Disaster Management
Use of Drones in Humanitarian Action and Disaster Management
 
Nepal Flying Labs - Getting to Scale
Nepal Flying Labs - Getting to ScaleNepal Flying Labs - Getting to Scale
Nepal Flying Labs - Getting to Scale
 
WeRobotics and Flying Labs: Uses of Drones in Humanitarian and Social Good p...
WeRobotics and Flying Labs:  Uses of Drones in Humanitarian and Social Good p...WeRobotics and Flying Labs:  Uses of Drones in Humanitarian and Social Good p...
WeRobotics and Flying Labs: Uses of Drones in Humanitarian and Social Good p...
 
Presentation on Drones and Open Street Maps
Presentation on Drones and Open Street MapsPresentation on Drones and Open Street Maps
Presentation on Drones and Open Street Maps
 
Usages and Challenges of using DRONES in Reconstruction Efforts of NEPAL
Usages and Challenges of using DRONES  in Reconstruction Efforts of NEPALUsages and Challenges of using DRONES  in Reconstruction Efforts of NEPAL
Usages and Challenges of using DRONES in Reconstruction Efforts of NEPAL
 
Poster Presentation "Generation of High Resolution DSM Usin UAV Images"
Poster Presentation "Generation of High Resolution DSM Usin UAV Images"Poster Presentation "Generation of High Resolution DSM Usin UAV Images"
Poster Presentation "Generation of High Resolution DSM Usin UAV Images"
 
Generation of high resolution DSM using UAV Images
Generation of high resolution DSM using UAV Images  Generation of high resolution DSM using UAV Images
Generation of high resolution DSM using UAV Images
 
Using arc map to create package map along with a report file [metadata]
Using arc map to create package map along with a report file [metadata]Using arc map to create package map along with a report file [metadata]
Using arc map to create package map along with a report file [metadata]
 
Analysis of suggested Sites for Construction of a Shopping Mall at Banepa,Kavre
Analysis of suggested Sites for Construction of a Shopping Mall at Banepa,KavreAnalysis of suggested Sites for Construction of a Shopping Mall at Banepa,Kavre
Analysis of suggested Sites for Construction of a Shopping Mall at Banepa,Kavre
 
Survey and Design of Gravity Fed Water supply system at a DadaGaun ,Banepa
Survey and Design of Gravity Fed Water supply system at a DadaGaun ,BanepaSurvey and Design of Gravity Fed Water supply system at a DadaGaun ,Banepa
Survey and Design of Gravity Fed Water supply system at a DadaGaun ,Banepa
 
MODIS (Moderate Resolution Imaging Spectrometer)
MODIS (Moderate Resolution Imaging Spectrometer)MODIS (Moderate Resolution Imaging Spectrometer)
MODIS (Moderate Resolution Imaging Spectrometer)
 
FROM BIG BANG TO THE PRESENT TIME
FROM BIG BANG TO THE PRESENT TIMEFROM BIG BANG TO THE PRESENT TIME
FROM BIG BANG TO THE PRESENT TIME
 
MEASUREMENT OF SURFACE TEMPERATURE OF A GLACIER USING AN UNMANNED AERIAL VEHI...
MEASUREMENT OF SURFACE TEMPERATURE OF A GLACIER USING AN UNMANNED AERIAL VEHI...MEASUREMENT OF SURFACE TEMPERATURE OF A GLACIER USING AN UNMANNED AERIAL VEHI...
MEASUREMENT OF SURFACE TEMPERATURE OF A GLACIER USING AN UNMANNED AERIAL VEHI...
 
TWO MOST COMMON GEOGRAPHIC INFORMATION SERVICE STANDARDS 19116:2004 AND ISO ...
TWO MOST COMMON GEOGRAPHIC INFORMATION SERVICE STANDARDS 19116:2004 AND  ISO ...TWO MOST COMMON GEOGRAPHIC INFORMATION SERVICE STANDARDS 19116:2004 AND  ISO ...
TWO MOST COMMON GEOGRAPHIC INFORMATION SERVICE STANDARDS 19116:2004 AND ISO ...
 
3D MODELLING OF KATHMANDU UNIVERSITY
3D MODELLING OF KATHMANDU UNIVERSITY3D MODELLING OF KATHMANDU UNIVERSITY
3D MODELLING OF KATHMANDU UNIVERSITY
 
WHAT'S THERE IN GEOMATICS ENGINEERING???
WHAT'S THERE IN GEOMATICS ENGINEERING???WHAT'S THERE IN GEOMATICS ENGINEERING???
WHAT'S THERE IN GEOMATICS ENGINEERING???
 

Recently uploaded

Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
cupulin
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
PS-Policies-on-Enrolment-Transfer-of-Docs-Checking-of-School-Forms-and-SF10-a...
PS-Policies-on-Enrolment-Transfer-of-Docs-Checking-of-School-Forms-and-SF10-a...PS-Policies-on-Enrolment-Transfer-of-Docs-Checking-of-School-Forms-and-SF10-a...
PS-Policies-on-Enrolment-Transfer-of-Docs-Checking-of-School-Forms-and-SF10-a...
nhezmainit1
 

Recently uploaded (20)

AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Pharmaceutical Biotechnology VI semester.pdf
Pharmaceutical Biotechnology VI semester.pdfPharmaceutical Biotechnology VI semester.pdf
Pharmaceutical Biotechnology VI semester.pdf
 
PS-Policies-on-Enrolment-Transfer-of-Docs-Checking-of-School-Forms-and-SF10-a...
PS-Policies-on-Enrolment-Transfer-of-Docs-Checking-of-School-Forms-and-SF10-a...PS-Policies-on-Enrolment-Transfer-of-Docs-Checking-of-School-Forms-and-SF10-a...
PS-Policies-on-Enrolment-Transfer-of-Docs-Checking-of-School-Forms-and-SF10-a...
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 

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
  • 6. GetParameterAsText() GetParameterAsText reads the user input for the output file location (for example) as a text string. …String = arcpy.GetParameterAsText(index)
  • 7. GetParameter() GetParameter reads user input and returns an object (e.g., Boolean). …..Object = arcpy.GetParameter(0)
  • 8. arcpy.GetMessages(index) Returns a geoprocessing tool message by its index position.
  • 9. arcpy.AddMessage() Creates a geoprocessing informative message that can be accessed with any of the GetMessages functions. arcpy.AddMessage(arcpy.GetMessages(index))
  • 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
  • 12. DEMO 1:SIMPLE SRCIPT TOOL DEMO 2:ITERATION ON SCRIPT TOOL
  • 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.
  • 23. • DEMO[With Change in Ellipse Parameters]
  • 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.