Convert Polygons (Production Mapping)

ライセンス レベル:BasicStandardAdvanced

サマリ

Deletes polygon features that are below a minimum size.

Convert Polygons functionality

使用法

構文

ConvertPolygons_production (Input_Polygon_Features, Minimum_Size, Compare_Features)
パラメータ説明データ タイプ
Input_Polygon_Features

The layer that contains polygons to be deleted.

Feature Layer
Minimum_Size

Polygons smaller than this will be deleted.

Areal unit
Compare_Features
[Compare_Features,...]

The polygon features to which the input features are compared. If the input feature is smaller than the minimum size, it becomes part of the input features.

Feature Class

コードのサンプル

ConvertPolygons example (stand-alone script)

The following sample script deletes a single building feature and replaces it with the AgricultureA feature class.

# Name: ConvertPolygonExample.py
# Description: Deletes polygons below a specified minimum size
# Author: Esri
# Date: July 2013

# Import arcpy module
import arcpy

# Check out Production Mapping license
arcpy.CheckOutExtension("Foundation")
arcpy.env.workspace="c:/Data/LocalGovernment.gdb"

# Define variables
inPolygons = "ReferenceData/FacilitySite"
inPolylyr="Facility"
where="FCODE='Park'"
size = '3000 SquareFeet'
compareFeatures = "ReferenceData/BuildingFootprint"

# Create feature layer for input features
arcpy.MakeFeatureLayer_management(inPolygons,inPolylyr)

# Compare the workspaces
arcpy.ConvertPolygons_production(inPolylyr,size,compareFeatures)

環境

関連トピック

ライセンス情報

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