创建空间平衡点 (地统计分析)

许可等级:BasicStandardAdvanced

摘要

基于包含概率生成一组采样点,进而获得空间平衡的采样设计。此工具通常用于通过对采样位置提出建议来设计监控网络,以及使用包含概率栅格定义特定位置的优先级。

用法

语法

CreateSpatiallyBalancedPoints_ga (in_probability_raster, number_output_points, out_feature_class)
参数说明数据类型
in_probability_raster

此栅格定义感兴趣区域内每个位置的包含概率。位置的值范围为 0(低包含概率)到 1(高包含概率)。

Raster Layer; Mosaic Layer
number_output_points

指定要生成的采样位置的数量。

Long
out_feature_class

输出要素类包含所选采样位置及其包含概率。

Feature Class

代码实例

CreateSpatiallyBalancedPoints 示例 1(Python 窗口)

基于输入包含概率栅格创建一组空间平衡点。

import arcpy
arcpy.env.workspace = "C:/gapyexamples/data"
arcpy.CreateSpatiallyBalancedPoints_ga("ca_prob", "10", "C:/gapyexamples/output/csbp")
CreateSpatiallyBalancedPoints 示例 2(独立脚本)

基于输入包含概率栅格创建一组空间平衡点。

# Name: CreateSpatiallyBalancedPoints_Example_02.py
# Description: This tool generates a set of sample points based on inclusion
#   probabilities. The resulting sample design is spatially balanced, meaning
#   that the spatial independence between samples is maximized, making the 
#   design more efficient than sampling the study area at random.
# Requirements: Geostatistical Analyst Extension

# Import system modules
import arcpy

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

# Set local variables
inProb = "ca_prob"
numberPoints = 10
outPoints = "C:/gapyexamples/output/csbp"

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

# Execute CreateSpatiallyBalancedPoints
arcpy.CreateSpatiallyBalancedPoints_ga(inProb, numberPoints, outPoints)

环境

相关主题

许可信息

ArcGIS for Desktop Basic: 需要 Geostatistical Analyst
ArcGIS for Desktop Standard: 需要 Geostatistical Analyst
ArcGIS for Desktop Advanced: 需要 Geostatistical Analyst
5/10/2014