ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

ConvertIntersectingPolygons

Disponible con licencia de Production Mapping.

  • Resumen
  • Debate
  • Sintaxis
  • Muestra de código

Resumen

Converts polygons that intersect one layer into the features that are part of another layer.

Debate

With this function, you can convert overlapping polygons to features from a secondary feature class. The secondary features are compared to the primary features to determine where they are merged with the primary features. The secondary features that share the largest common boundary with the primary features are merged.

Sintaxis

ConvertIntersectingPolygons (primary_feature_layer, secondary_feature_layer_list)
ParámetroExplicaciónTipo de datos
primary_feature_layer

The feature layer that is going to be compared to the secondary feature classes.

Layer
secondary_feature_layer_list
[secondary_feature_layer_list,...]

The feature layers that will be compared to the primary feature class. Features that intersect the primary features are converted to it.

Layer

Muestra de código

ConvertIntersectingPolygons example

This sample converts industrial features to building features when the two intersect.

import arcpy
import arcpyproduction
from arcpyproduction import generalization

# set environment
arcpy.env.workspace="c:/Data/Austin.gdb"

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

# Define variables
inFeatures="TopographicMap/IndustrialA"
inFeatLayer="industrial"
inIntersecting="TopographicMap/BuildingA"

# Create feature layers
inFeatLayer=arcpy.MakeFeatureLayer_management(inFeatures,"industrial")

# Execute the ConvertIntersectingPolygons function
generalization.ConvertIntersectingPolygons(inFeatLayer,[inIntersecting])

Temas relacionados

  • Introduction to arcpyproduction.generalization

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal