ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

Surface Length

  • Resumen
  • Uso
  • Sintaxis
  • Muestra de código
  • Entornos
  • Información de licenciamiento

Resumen

Calculates the surface length for each polyline or polygon feature based on a raster, triangulated irregular network (TIN), or terrain dataset surface.

The surface length information is stored as an attribute of the input feature class.

Heredado:

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

Uso

  • Use a smaller sampling distance to increase the accuracy of the surface length calculations.

  • Use Surface Length Field parameter to give the length field a custom name.

  • Only polyline and polygon feature classes are valid inputs for this tool.

Sintaxis

arcpy.ddd.SurfaceLength(in_surface, in_feature_class, {out_length_field}, {sample_distance}, {z_factor}, {method}, {pyramid_level_resolution})
ParámetroExplicaciónTipo de datos
in_surface

The input raster, TIN, or terrain dataset whose values will be used for interpolation.

TIN Layer; Raster Layer; Terrain Layer
in_feature_class

The input polygon or polyline feature class.

Feature Layer
out_length_field
(Opcional)

The name of the attribute field to contain the surface length.

String
sample_distance
(Opcional)

The surface spacing at which the length is calculated. By default, the sampling distance is the natural densification of a TIN or the cell size of a raster.

Double
z_factor
(Opcional)

The factor multiplied by input surface values to store new values in the length field. The Z factor is used to convert z-units to match x,y units.

Double
method
(Opcional)

The interpolation method. For raster surfaces, the only option is BILINEAR. Select LINEAR or NATURAL_NEIGHBORS.

String
pyramid_level_resolution
(Opcional)

La tolerancia Z o la resolución del tamaño de la ventana del nivel de pirámide de terreno que utilizará esta herramienta. El valor predeterminado es 0, o resolución completa.

Double

Salida derivada

NombreExplicaciónTipo de datos
output_feature_class

Muestra de código

SurfaceLength example 1 (Python window)

En el siguiente ejemplo se muestra cómo usar esta herramienta en la ventana de Python.

import arcgisscripting
gp = arcgisscripting.create()

gp.CheckOutExtension("3D")
gp.workspace = "C:/data"
gp.SurfaceLength_3d("elevation_tin", "lines.shp", "Length3D")

Entornos

  • Espacio de trabajo actual
  • Espacio de trabajo temporal
  • Extensión

Información de licenciamiento

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

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

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

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal