Raster Domain (3D Analyst)

Writes the interpolation zone of the input raster surface into a new 3-D polyline or 3-D polygon feature class.

Learn more about how Raster Doman (3D Analyst) works


Illustration

TinDomain and RasterDomain illustration

Usage tips

Syntax

RasterDomain_3d (in_raster, out_feature_class, out_geometry_type)
Parameter Explanation Datatype
Input Raster (Required)

The input raster.

Raster Layer
Output Feature Class (Required)

The output feature class.

Feature Class
Output Feature Class Type (Required)

The output geometry type.

String
Data types for geoprocessing tool parameters

Script Example

# Purpose: Get a raster interpolation zone feature class (polyline or polygon).

# Create the Geoprocessor object
import arcgisscripting
gp = arcgisscripting.create()

#Check out the 3D Analyst extension
gp.CheckOutExtension ("3D")

try:
    # Set the workspace (to avoid having to type in the full path to the data every time)
    gp.workspace = "D:/Docs1/GP/GPOutput"

    # Select the 3D Analyst Toolbox
    gp.toolbox = "3D"

    # Process: get a raster interpolation zone feature class
    gp.rasterdomain_3d ("elev_grid", "RasterDomain.shp", "POLYGON")

except:
    # If an error occurred while running the tool print the error messages
    print gp.GetMessages()

See Also

  • An overview of the 3D Analyst Conversion toolset
  • TIN Domain (3D Analyst)