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

VCS

  • Résumé
  • Discussion
  • Propriétés
  • Exemple de code

Résumé

Provides information about the vertical coordinate system (VCS) component of a SpatialReference object.

Discussion

Spatial references are comprised of a coordinate system and storage and processing parameters (tolerances and resolution settings). A VCS may also be included, containing information about the Z (or vertical) coordinates. For example, a point has a Z value of 100.0, but without knowing it's VCS information we are left with the following questions:

  • 100.0 from what? What is at 0.0?
  • 100.0 in what units? Meters, feet, miles?
  • 100.0 in which direction from 0.0?

Propriétés

PropriétéExplicationType de données
datumName
(Lecture/écriture)

The name of the vertical coordinate system's datum.

String
direction
(Lecture/écriture)

The positive direction of the z coordinates; 1 is upwards, -1 is downwards (in the direction of gravity).

Integer
factoryCode
(Lecture/écriture)

The factory code of the vertical coordinate system.

Integer
linearUnitName
(Lecture/écriture)

The name of the linear units.

String
name
(Lecture/écriture)

The name of the vertical coordinate system.

String
verticalShift
(Lecture/écriture)

The vertical shift of the vertical coordinate system.

Double

Exemple de code

import arcpy

# Create a Spatial Reference (Europe Equidistant Conic) with a VCS (EVRF_2007)
sr = arcpy.SpatialReference(102031, 5621)

# Use the SpatialReference as input to a tool
out = arcpy.management.CreateFeatureDataset(outgdb, "euro_fds", sr)

# Describe the output to confirm the VCS factoryCode
sr = arcpy.Describe(out[0]).spatialReference
print(sr.VCS.factoryCode)  # prints 5621

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