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

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

Extend Polygon Sides

Production Mapping ライセンスで利用できます。

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

概要

Extends the lengths and widths of polygon features until they meet a specified minimum value.

図

Extend Polygon Side example

使用法

    注意:

    このツールを実行すると、入力データが変更されます。詳しい説明および不適切なデータの変更を防ぐための方法については、「出力データセットを作成しないツール」をご参照ください。

  • A warning is raised if the input features are not in a projected coordinate system. This tool relies on linear distance units, which will create unexpected results in an unprojected coordinate system. It is strongly suggested that you run this tool on data in a projected coordinate system to ensure valid results. An error is raised and the tool will not process if the coordinate system is missing or unknown.

  • このツールを、バージョン対応登録されたデータに対して実行することはできません。

  • It is recommended that this tool only be used on regular, rectangular-shaped polygons, such as buildings.

  • Features with a longer side smaller than the value specified in the Minimum_Length (Minimum Length) parameter will have the longer side extended until it meets the minimum value.

  • Features with a shorter side smaller than the value specified in the Minimum_Width (Minimum Width) parameter will have the shorter side extended until it meets the minimum value.

  • At a minimum, the Minimum_Length (Minimum Length) or Minimum_Width (Minimum Width) parameter must have a value defined since the default is 0. If a value is not defined, the input polygon feature will not be processed.

  • This tool cannot be run during an edit session.

構文

arcpy.production.ExtendPolygonSides(Input_Polygon_Features, {Minimum_Length}, {Minimum_Width})
パラメーター説明データ タイプ
Input_Polygon_Features

The polygon features that will have their lengths and widths extended.

Feature Layer
Minimum_Length
(オプション)

The minimum size of the long side of the polygon. The default value is 0, meaning that the feature's length will not be extended.

Linear unit
Minimum_Width
(オプション)

The minimum size of the short side of the polygon. The default value is 0, meaning that the feature's width will not be extended.

Linear unit

コードのサンプル

ExtendPolygonSides example (stand-alone script)

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

# Name: ExtendPolygonSides_Example.py
# Description: Extends the sides of a building footprint until it is 150 feet
#   long and 100 feet wide
# Author: Esri
# Date: February 2014

# Import arcpy module
import arcpy

# Check out Production Mapping license
arcpy.CheckOutExtension("Foundation")

# set environment
arcpy.env.workspace="c:/data/LocalGovernment.gdb"

# Define variables
inFeatures="ReferenceData/BuildingFootprint"
where="FULLADDRESS='332 FORT HILL DR'"
minLength="150 feet"
minWidth="100 feet"

# make a feature layer
inFeatureLyr=arcpy.MakeFeatureLayer_management(inFeatures,"FacilityLayer",where)

# execute the ExtendPolygonSides function - best use against more rectangular features like buildings
arcpy.ExtendPolygonSides_production(inFeatureLyr,minLength,minWidth)

環境

  • 現在のワークスペース
  • テンポラリ ワークスペース

ライセンス情報

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

関連トピック

  • An overview of the Generalization toolset

ArcGIS Desktop

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

ArcGIS

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

Esri について

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