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

Production Clip

Disponible avec une licence Production Mapping.

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

Résumé

This tool takes a geodatabase and clip geometry, as well as any clip override representations, present on the features.

Illustration

Production Clip diagram

Utilisation

  • Everything will be clipped in the geodatabase that can be clipped. To get the best results, copy only the necessary data to another database before running the tool.

  • Clip Features must be polygons.

  • This tool works directly on the Input Geodatabase.

Syntaxe

arcpy.production.ProductionClip(input_geodatabase, clip_features)
ParamètreExplicationType de données
input_geodatabase

The geodatabase that contains the features to be clipped.

Workspace
clip_features

The features used to clip the Input Geodatabase.

Feature Layer

Exemple de code

The following stand-alone sample script demonstrates how to use ProductionClip tool.

# Name: ProductionClip_Example.py
# Description: Clips the underlying geometry as well as override geometry if applicable.  The tool clips an entire geodatabase.

# Import system modules
import arcpy

# Check out extension
arcpy.CheckOutExtension("Foundation")

# Define variables
input_geodatabase = r"C:\data\Edit_Sample.gdb"
clip_features = arcpy.MakeFeatureLayer_management(r"C:\data\Edit_Sample.gdb\10k_AOIs", "AOIs")
arcpy.SelectLayerByAttribute_management("AOIs", "NEW_SELECTION", "SheetID = 2104")

# Execute Production Clip
# All feature classes will be clipped in the geodatabase using the selected clip features
arcpy.ProductionClip_production(input_geodatabase, clip_features)

# Check in Production Mapping license
arcpy.CheckInExtension("Foundation")

Environnements

  • Espace de travail courant

Informations de licence

  • Basic: Non
  • Standard: Requiert Production Mapping
  • Advanced: Requiert Production Mapping

Rubriques connexes

  • An overview of the Editing toolset

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