Densify Sampling Network (Geostatisical Analyst)

Summary

Uses a predefined geostatistical kriging layer to determine where new locations are required or which can be removed.

Usage

Syntax

DensifySamplingNetwork_ga (in_geostat_layer, number_output_points, out_feature_class, {selection_criteria}, {threshold}, {in_weight_raster}, {in_candidate_point_features}, {inhibition_distance})
ParameterExplanationData Type
in_geostat_layer

Input a geostatistical layer resulting from a Kriging model.

Geostatistical Layer
number_output_points

Specify how many sample locations to generate.

Long
out_feature_class

The name of the output feature class.

Feature Class
selection_criteria
(Optional)

Methods to densify a sampling network.

String
threshold
(Optional)

The threshold value used to densify the sampling network, applicable only when STDERR_THRESHOLD or QUARTILE_THRESHOLD selection criteria are used.

Double
in_weight_raster
(Optional)

A raster used to determine which locations to weight for preference.

Raster Layer
in_candidate_point_features
(Optional)

Sample locations to pick from.

Feature Layer
inhibition_distance
(Optional)

Used to prevent any samples being placed within this distance from each other.

Linear unit

Code Sample

DensifySamplingNetwork example 1 (Python window)

Densify a sampling network based on a predefined geostatistical kriging layer.

import arcpy
arcpy.env.workspace = "C:/gapyexamples/data"
arcpy.DensifySamplingNetwork_ga("C:/gapyexamples/data/Kriging.lyr", 2,
                                 "C:/gapyexamples/output/outDSN")
DensifySamplingNetwork example 2 (stand-alone script)

Densify a sampling network based on a predefined geostatistical kriging layer.

# Name: DensifySamplingNetwork_Example_02.py
# Description: Densify a sampling network based on a predefined geostatistical
#              kriging layer. It uses, inter alia, the Standard Error of 
#              Prediction map to determine where new locations are required.
# Requirements: Geostatistical Analyst Extension

# Import system modules
import arcpy

# Set environment settings
arcpy.env.workspace = "C:/gapyexamples/data"

# Set local variables
inLayer = "C:/gapyexamples/data/Kriging.lyr"
numberPoints = 2
outPoints = "C:/gapyexamples/output/outDSN"

# Check out the ArcGIS Geostatistical Analyst extension license
arcpy.CheckOutExtension("GeoStats")

# Execute DensifySamplingNetworks
arcpy.DensifySamplingNetwork_ga(inLayer, numberPoints, outPoints)

Environments

Related Topics

Licensing Information

ArcView: Requires Geostatistical Analyst
ArcEditor: Requires Geostatistical Analyst
ArcInfo: Requires Geostatistical Analyst

6/24/2013