ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

Split Features

  • 概要
  • 使用法
  • 構文
  • コードのサンプル
  • 環境
  • ライセンス情報

概要

Splits features for any number of polyline or polygon target feature classes using the cutting features and inserts points on the cutting feature.

使用法

  • Cutting features must have at least one feature selected.

  • Target features will be divided into multiple features at any point where they intersect the source features.

  • Source features will have new vertices added at every point where they intersect the target features.

構文

arcpy.defense.SplitFeatures(cutting_features, target_features, use_target_z)
パラメーター説明データ タイプ
cutting_features

The source features used to split target features at intersection points of the feature class geometries.

Feature Layer
target_features
[target_features,...]

The features that will be divided by the cutting features.

Feature Layer
use_target_z

Determines the source of the z-value from the source or target.

  • USE_TARGET_Z —Uses the z-value from the source or target.
  • DONT_USE_TARGET_Z —Does not use the z-value. This is the default.
Boolean

派生した出力

名前説明データ タイプ
out_feature_layerFeature Layer

コードのサンプル

SplitFeatures example (stand-alone script)

This script demonstrates how to use SplitFeatures.

# Name: SplitFeatures_Example.py
# Description: Split road features by AOI polygons
# Requirements: ArcGIS Defense Mapping solution

# Import the Arcpy module
import arcpy

# Check out Defense Mapping extension
arcpy.CheckOutExtension('defense')

# Set up the gp environment
arcpy.env.overwriteOutput = 1
arcpy.env.workspace = r"C:\Data\MGCP_TRD4.gdb"
arcpy.env.scratchWorkspace = r"C:\Data\SplitFeatures.gdb"

# Declare paths to AOI features and polyline features
AOIFeatures = r"C:\Program Files (x86)\ArcGIS\EsriDefenseMapping\Desktop10.2\ReferenceData\MapIndex.mdb\MapIndex\TLM50_Index"
polylineFeautres = r"C:\Data\MGCP_TRD4.gdb\MGCP\RoadL"

# Create feature layers of the AOI
arcpy.management.MakeFeatureLayer(AOIFeatures, "AOIFeatures")

# Select specific AOIs
selection = "NRN = 'E732X57714'"
arcpy.management.SelectLayerByAttribute("AOIFeatures", "NEW_SELECTION", selection)

# Execute Split Features tool
arcpy.defense.SplitFeatures("AOIFeatures", polylineFeautres, "USE_TARGET_Z")

環境

このツールは、ジオプロセシング環境を使用しません。

ライセンス情報

  • Basic: いいえ
  • Standard: 次のものが必要 Defense Mapping
  • Advanced: 次のものが必要 Defense Mapping

関連トピック

  • An overview of the Features toolset

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS

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

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2021 Esri. | プライバシー | リーガル