ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Surface Spot

  • Summary
  • Illustration
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Calculates surface values for each point of a point feature class by interpolating from a raster, TIN, or terrain dataset surface.

Calculated values are added to the input feature class attributes.

Legacy:

This is a deprecated tool that has been superseded by the Add Surface Information tool.

Illustration

Surface Spot illustration

Usage

  • Ensure the input surface and the input feature class have overlapping extents.

  • Use the Z Factor parameter to convert the output field to the desired units.

Syntax

arcpy.ddd.SurfaceSpot(in_surface, in_feature_class, {out_spot_field}, {z_factor}, {method}, {pyramid_level_resolution})
ParameterExplanationData Type
in_surface

The input raster, TIN, or Terrain dataset surface to be used for interpolation.

Terrain Layer; TIN Layer; Raster Layer
in_feature_class

The input point feature class to which the interpolated values will be added.

Feature Layer
out_spot_field
(Optional)

The name of the attribute field to be added to the input feature class. By default, the field name will be Spot.

String
z_factor
(Optional)

The factor multiplied by the surface values to convert them to new values added to the input feature class. Used to convert z units to match x,y units.

Double
method
(Optional)

Algorithm used to calculate surface values.

String
pyramid_level_resolution
(Optional)

The resolution of the terrain dataset pyramid level to use for geoprocessing. The default is 0, full resolution.

Double

Derived Output

NameExplanationData Type
output_feature_class

Feature Layer

Code sample

Surface Spot example 1 (Python window)

The following Python Window script demonstrates how to use the Surface Spotfunction in immediate mode.

import arcgisscripting
gp = arcgisscripting.create()

gp.CheckOutExtension("3D")
gp.workspace = "C:/data"
gp.SurfaceSpot_3d("elevation_tin", "points.shp", "SPOT", 3.28)

Environments

  • Current Workspace
  • Scratch Workspace
  • Extent

Licensing information

  • Basic: Requires 3D Analyst
  • Standard: Requires 3D Analyst
  • Advanced: Requires 3D Analyst

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal