Surface Spot (3D Analyst)
Récapitulatif
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.
![Héritage Héritage](rsrc/legacy.png)
This is a deprecated tool. To learn more about how this tool works click here to view archived documentation. This functionality has been added to the Add Surface Information tool.
Illustration
![]() |
Utilisation
-
Ensure the input surface and the input feature class have overlapping extents.
-
Use the {z_factor} argument to convert the output field to the desired units.
Syntaxe
Paramètre | Explication | Type de données |
in_surface |
The input raster, TIN, or Terrain dataset surface to be used for interpolation. | Tin Layer; Raster Layer; Terrain Layer |
in_feature_class |
The input point feature class to which the interpolated values will be added. | Feature Layer |
out_spot_field (Facultatif) |
The name of the attribute field to be added to the input feature class. By default, the name is Spot. | String |
z_factor (Facultatif) |
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 (Facultatif) |
Algorithm used to calculate surface values. | String |
pyramid_level_resolution (Facultatif) |
The resolution of the terrain dataset pyramid level to use for geoprocessing. The default is 0, full resolution. | Double |
Exemple de code
The following Python Window script demonstrates how to use the Surface Spot function 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)