Increase Polygon Area (Production Mapping)

Уровень лицензии:BasicStandardAdvanced

Краткая информация

Increases the areas of polygons until they meet a minimum size or larger. You can optionally limit the features to be enlarged based on whether they intersect another feature class.

Рисунок

Increase Area functionality

Использование

Синтаксис

IncreasePolygonArea_production (Input_Polygon_Features, Minimum_Size, Buffer_Increase, {Intersect_Features}, {Barrier_Features})
ПараметрОбъяснениеТип данных
Input_Polygon_Features

The polygon features to be enlarged.

Feature Layer
Minimum_Size

The minimum area that features must meet.

Areal unit
Buffer_Increase

The buffer value by which the area is increased for each feature. The buffer is applied until the feature reaches the minimum size.

Linear units
Intersect_Features
(дополнительно)

The feature class that intersects the input polygons. Input polygons that intersect are enlarged.

Feature Class
Barrier_Features
[Barrier_Features,...]
(дополнительно)

The feature class whose features serve as a boundary for the polygon features when they are enlarged. This ensures that the features do not cross a barrier when they are enlarged; for instance, a pond does not cross a road.

Feature Class

Пример кода

IncreasePolygonArea example (stand-alone script)

This sample script increases the area of parks until they are a minimum of 1,000 square feet.

# Name: IncreasePolygonArea_Example.py
# Description: Increases park area to a minimum of 1000 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/FacilitySite"
inFeatureLyr="FaciltyLayer"
where="FCODE='Park'"
minArea="10000 SquareFeet"
bufferIncrease="100 Feet"

# Create a parks feature layer
arcpy.MakeFeatureLayer_management(inFeatures,inFeatureLyr,where)

# Execute IncreasePolygonArea
arcpy.IncreasePolygonArea_production(inFeatureLyr,minArea,bufferIncrease)

Параметры среды

Связанные темы

Информация о лицензировании

ArcGIS for Desktop Basic: Нет
ArcGIS for Desktop Standard: Требует Production Mapping
ArcGIS for Desktop Advanced: Требует Production Mapping
4/27/2014