Modify Underlying Polygon (Production Mapping)

ライセンス レベル:BasicStandardAdvanced

サマリ

Determines which polygon features are directly below a line feature. Based on whether the type of feature is valid, which is determined by the subtype or feature class, the tool expands the feature to ensure it meets minimum distance requirements. If it does not meet the minimum distance requirement, the part of the polygon feature under the line is removed and replaced with an appropriate type of feature.

Modify Underlying Polygon example

使用法

構文

ModifyUnderlyingPolygon_production (Input_Line_Features, Buffer_Distance, Input_Features_Under_Line, {Keep_features_underneath_lines}, {Replace_Features}, {Replace_Value})
パラメータ説明データ タイプ
Input_Line_Features

Lines that serve as a reference point for the polygons under them. The tool looks behind these lines to find polygons that need to be modified or deleted.

Feature Layer
Buffer_Distance

The minimum distance the edge of the valid polygon features should be from the line. If the polygon is closer than the minimum distance, parts will be deleted until it is within the buffer distance. If the polygon is farther away than the minimum distance, it is expanded until it meets the buffer distance.

Linear units
Input_Features_Under_Line

The polygons that will be checked to see if they have features that lie under the lines.

Feature Layer
Keep_features_underneath_lines
(オプション)

Indicates whether the types of features directly under the lines, based on either the subtype or feature class, are allowed to be under the line or should be replaced.

  • KEEP_FEATURESThe feature type is valid. Valid features less than the buffer distances from the line will be expanded to the buffer distance.
  • REPLACE_FEATURESThe feature type is invalid and should not be within the buffer distance of the line. Parts of the features within the buffer distance will be removed and replaced with the features from Replace_Features. This is the default.
Boolean
Replace_Features
(オプション)

The polygon features that will fill the buffer distance under the line if the features in Input_Features_Under_Line are not valid.

Feature Class
Replace_Value
(オプション)

The subtype code or description to be assigned to the features in the Replace_Features feature class.

String

コードのサンプル

ModifyUnderlyingPolygon (stand-alone script)

This script modifies facility features under roads.

# Name: ModifyUnderlyingPolygon_Example.py
# Description: Executes Modify Underlying Polygon against LocalGovernment
# sample data
# 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/RoadCenterline"
inFeatureLyr="RoadLayer"
inPolys="ReferenceData/FacilitySite"
inPolysLyr="FaciltyLayer"
bufferIncrease="100 Feet"
replace="REPLACE_FEATURES"

# create feature layers for ModifyUnderlyingPolygon
arcpy.MakeFeatureLayer_management(inFeatures,inFeatureLyr)
arcpy.MakeFeatureLayer_management(inPolys,inPolysLyr)

# execute ModifyUnderlyingPolygon
arcpy.ModifyUnderlyingPolygon_production(inFeatureLyr,bufferIncrease,inPolysLyr,replace)

環境

関連トピック

ライセンス情報

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