ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

ConvertIntersectingPolygons

Disponible avec une licence Production Mapping.

  • Résumé
  • Discussion
  • Syntaxe
  • Exemple de code

Résumé

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

Discussion

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.

Syntaxe

ConvertIntersectingPolygons (primary_feature_layer, secondary_feature_layer_list)
ParamètreExplicationType de données
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

Exemple de code

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])

Rubriques connexes

  • Introduction to arcpyproduction.generalization

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS

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

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2021 Esri. | Confidentialité | Légal