Spline with Barriers (3D Analyst)

License Level:BasicStandardAdvanced

Summary

Interpolates a raster surface, using barriers, from points using a minimum curvature spline technique. The barriers are entered as either polygon or polyline features.

Learn more about how Spline with Barriers works

Usage

Syntax

SplineWithBarriers_3d (Input_point_features, Z_value_field, {Input_barrier_features}, {Output_cell_size}, Output_raster, {Smoothing_Factor})
ParameterExplanationData Type
Input_point_features
in_point_features

The input point features containing the z-values to be interpolated into a surface raster.

Feature Layer
Z_value_field

The field that holds a height or magnitude value for each point.

This can be a numeric field or the Shape field if the input point features contain z-values.

Field
Input_barrier_features
(Optional)

The optional input barrier features to constrain the interpolation.

Feature Layer
Output_cell_size
cell_size
(Optional)

The cell size at which the output raster will be created.

If a value of 0 is entered, the shorter of the width or the height of the extent of the input point features in the input spatial reference, divided by 250, will be used as the cell size.

Analysis Cell Size
Output_raster

The output interpolated surface raster.

Raster Layer
Smoothing_Factor
(Optional)

The parameter that influences the smoothing of the output surface.

No smoothing is applied when the value is zero and the maximum amount of smoothing is applied when the factor equals 1.

The default is 0.0.

Double

Code Sample

SplineWithBarriers example 1 (Python window)

This example inputs a point shapefile and interpolates the output surface as a TIFF raster.

import arcpy
from arcpy import env  
env.workspace = "C:/data"
arcpy.SplineWithBarriers_3d("ozone_pts.shp", "ozone", "ozone_barrier.shp",
                             2000, "C:/output/splinebarrierout.tif")
SplineWithBarriers example 2 (stand-alone script)

This example inputs a point shapefile and interpolates the output surface as a Grid raster.

# Name: SplineWithBarriers_3d_Ex_02.py
# Description: Interpolate a series of point features onto a 
#    rectangular raster, using optional barriers, using a 
#    minimum curvature spline technique.
# Requirements: Spatial Analyst Extension and Java Runtime Environment Version 5.0, or higher.

# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
inPointFeatures = "ca_ozone_pts.shp"
zField = "ozone"
inBarrierFeature = "ca_ozone_barrier.shp"
cellSize = 2000.0
outRaster = "C:/output/splinebout"

# Check out the ArcGIS 3D Analyst extension license
arcpy.CheckOutExtension("3D")

# Execute Spline with Barriers
arcpy.SplineWithBarriers_3d(inPntFeat, zField, inBarrierFeature,
                            cellSize, outRaster)

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: Requires 3D Analyst or Spatial Analyst
ArcGIS for Desktop Standard: Requires 3D Analyst or Spatial Analyst
ArcGIS for Desktop Advanced: Requires 3D Analyst or Spatial Analyst
3/7/2014