ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS for Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Production Clip

获得 Production Mapping 许可后可用。

  • 摘要
  • 插图
  • 用法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

摘要

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

插图

Production Clip diagram

用法

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

语法

ProductionClip(input_geodatabase, clip_features)
参数说明数据类型
input_geodatabase

The geodatabase that contains the features to be clipped.

Workspace
clip_features

The features used to clip the Input Geodatabase.

Feature Layer

代码示例

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")

环境

  • 当前工作空间

许可信息

  • ArcGIS Desktop Basic: 否
  • ArcGIS Desktop Standard: 需要 Production Mapping
  • ArcGIS Desktop Advanced: 需要 Production Mapping

相关主题

  • An overview of the Editing toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2019 Esri. | 隐私政策 | 法律声明