Extend Polygon Sides (Production Mapping)

ライセンス レベル:BasicStandardAdvanced

サマリ

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

Extend Polygon Side example

使用法

構文

ExtendPolygonSides_production (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.

Linear unit
Minimum_Width

The minimum size of the short side of the polygon.

Linear unit

コードのサンプル

ExtendPolygonSides example (stand-alone script)

This script sample extends the length and width of parks until the height and width are both 1,000 feet.

# Name: ExtendPolygonSides_Example.py
# Description: Extends the sides of park polygons with an area of less than
# 10000 square feet.
# 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)

環境

関連トピック

ライセンス情報

ArcGIS for Desktop Basic: ×
ArcGIS for Desktop Standard: 次のものが必要 Production Mapping
ArcGIS for Desktop Advanced: 次のものが必要 Production Mapping
4/26/2014