ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

Surface Length

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

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.

Héritage :

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

Utilisation

  • 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.

Syntaxe

arcpy.ddd.SurfaceLength(in_surface, in_feature_class, {out_length_field}, {sample_distance}, {z_factor}, {method}, {pyramid_level_resolution})
ParamètreExplicationType de données
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
(Facultatif)

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

String
sample_distance
(Facultatif)

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
(Facultatif)

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
(Facultatif)

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

String
pyramid_level_resolution
(Facultatif)

Résolution de taille de fenêtre ou de tolérance z du niveau de pyramide de MNT qui sera utilisée par cet outil. La valeur par défaut est 0 (ou résolution maximale).

Double

Sortie dérivée

NomExplicationType de données
output_feature_class

Exemple de code

SurfaceLength example 1 (Python window)

L'exemple suivant illustre l'utilisation de cet outil dans la fenêtre Python.

import arcgisscripting
gp = arcgisscripting.create()

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

Environnements

  • Espace de travail courant
  • Espace de travail temporaire
  • Étendue

Informations de licence

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

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2021 Esri. | Confidentialité | Légal