Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > 3D Analyst toolbox > Terrain toolset > Tools

Add Terrain Points (3D Analyst)

Release 9.3
Last modified February 9, 2011
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

NOTE: This topic was updated for 9.3.1.


This adds multipoints to an embedded terrain feature class by appending them or by using them to replace existing multipoints that fall within the same extent.


Usage tips

Command line syntax
An overview of the Command Line window
AddTerrainPoints_3d <in_terrain> <terrain_feature_class> <in_feature_class> {APPEND|REPLACE}

Parameter Explanation Data Type
<in_terrain>

The terrain dataset to be modified

Terrain Layer
<terrain_feature_class>

The embedded feature class to which points will be added

String
<in_feature_class>

The feature class containing the points to be added

Feature Layer
{APPEND|REPLACE}

Indicates whether points are appended to the target or used to replace those in the target

String
Data types for geoprocessing tool parameters


Command line example

AddTerrainPoints_3D d:\workspace\gdb.mdb\dataset\myterrain lidarpoints d:\workspace\gdb.mdb\dataset\newpoints append

Scripting syntax
About getting started with writing geoprocessing scripts
AddTerrainPoints_3d (in_terrain, terrain_feature_class, in_feature_class, method)

Parameter Explanation Data Type
in_terrain (Required)

The terrain dataset to be modified

Terrain Layer
terrain_feature_class (Required)

The embedded feature class to which points will be added

String
in_feature_class (Required)

The feature class containing the points to be added

Feature Layer
method (Optional)

Indicates whether points are appended to the target or used to replace those in the target

String

Data types for geoprocessing tool parameters


Script example

# Purpose: Add data points to an embedded terrain (append or replace).

# 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: Add data points to an embedded terrain
    gp.addterrainpoints_3d ("napa_terrain.mdb/napa_terrain/napa_terrain_justpointsembed", "napa_points", "napa_terrain.mdb/napa_buildtest/mass", "APPEND")
    # Note: use backslashes to break up long lines if needed

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

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.