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

Dissolve By Attribute Range

Disponible con licencia de Business Analyst.

  • Resumen
  • Uso
  • Sintaxis
  • Muestra de código
  • Entornos
  • Información de licenciamiento

Resumen

Aggregates and dissolves features based on specified attributes.

Learn more about how Dissolve By Attribute Range works

Uso

  • The spatial reference of the output feature class will be the same as the layer containing attributes.

  • Current map layers can be used to define input features. When using layers, only the currently selected features are used in the dissolve operation.

  • The dissolved fields are written to the output feature class table.

  • One common use of this tool is to take the output of a thematic map and dissolve the features as a single polygon or feature.

  • You can use this tool to dissolve the output from Huff Models to create probabilistic trade areas based on probability ranges.

Sintaxis

arcpy.ba.DissolveByAttributeRange(InputFeatureLayer, IDField, ContoursValues, OutputFeatureClass, {SelectedFeaturesOnly}, {Donut})
ParámetroExplicaciónTipo de datos
InputFeatureLayer

Layer containing the values that will be dissolved.

Feature Layer
IDField

The attribute field containing the values to be dissolved.

Field
ContoursValues
[ContoursValues,...]

The range for each attribute to be dissolved. If using the Python function call, you can enter multiple values separated by semicolons (e.g. "250;500;1000;2000").

Double
OutputFeatureClass

The feature class that will contain the dissolved attributes.

Feature Class
SelectedFeaturesOnly
(Opcional)

Uses selected features to dissolve by attribute.

  • True —Dissolves selected features.
  • False —Dissolves all features.
Boolean
Donut
(Opcional)

Creates non-overlapping concentric rings, or donut bands.

  • True —Creates output polygons that are donut rings. For example, if three radii (1, 3, and 5 miles) are entered, three output bands would be created with 0–1, 1–3, and 3–5 mile rings.
  • False —Creates concentric rings.
Boolean

Muestra de código

DissolveByAttributeRange Example (Stand-alone Script)
# Name: DissolveByAttributeRange.py
# Description: Dissolves the boundaries of a trade area using current year total households
# Author: Esri

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox(r"C:\Program Files (x86)\ArcGIS\Desktop10.8\Business Analyst\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")

# Acquire extension license 
arcpy.CheckOutExtension("Business")
 
# Define input and output parameters for the Dissolve by Attribute Range tool
InputFeatureLayer = "C:/temp/Boundary.shp"
IDField = "TOTPOP_CY"
ContoursValues = "250;500;1000;2000"
OutputFeatureClass = "C:/temp/Output_Contours.shp"
SelectedFeaturesOnly = "false"
Donut = "false"

# Create trade areas by dissolving attributes
arcpy.DissolveByAttributeRange_ba(InputFeatureLayer, 
						IDField, 
						ContoursValues , 
						OutputFeatureClas, 
						SelectedFeaturesOnly, 
						Donut)
 
# Release extension license 
arcpy.CheckInExtension("Business")

Entornos

Esta herramienta no utiliza ningún entorno de geoprocesamiento.

Información de licenciamiento

  • Basic: Requiere Business Analyst
  • Standard: Requiere Business Analyst
  • Advanced: Requiere Business Analyst

Temas relacionados

  • An overview of the Trade Areas toolset

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 © 2022 Esri. | Privacidad | Legal