Grids (Business Analyst)

Уровень лицензии:BasicStandardAdvanced

Краткая информация

Generates an equidistant vector based grid network for a specified area.

Learn more about how Grids works

Рисунок

Grids example

Использование

Синтаксис

Grids_ba (ExtentWay, GridSize, {MeasureUnits}, OutputFeatureClass, {ExtentSourceLayer}, {Extent}, {BDSFeatureClass}, {GridSymbolizationField}, {SelectedSummarizations}, {UseOnlineData})
ПараметрОбъяснениеТип данных
ExtentWay

How the extent for which the grids will be defined.

  • Enter the coordinates manuallyDefines the bounding envelope coordinates manually.
  • Get extent from the layerDefines the bounding coordinates based on a selected layer.
String
GridSize

The unit used to determine the size of each grid.

Double
MeasureUnits
(дополнительно)

The units used with the distance values. By default, the units defined in the Business Analyst preferences will be selected.

  • Decimal Degrees
  • Feet
  • Kilometers
  • Meters
  • Miles
  • Nautical Miles
  • Yards
String
OutputFeatureClass

The feature class that will contain the grid features.

Feature Class
ExtentSourceLayer
(дополнительно)

The input feature class used to define the extent of the grid network.

Feature Layer
Extent
(дополнительно)

Custom bounding units for the grid extent. Enter the Y minimum and maximum and the X minimum and maximum.

Envelope
BDSFeatureClass
(дополнительно)

Input feature class that will contain the available layers that can be appended to the output feature class (grid).

Feature Layer
GridSymbolizationField
(дополнительно)

Defines the variable that will be thematically mapped in the output feature class.

String
SelectedSummarizations
[SelectedSummarizations,...]
(дополнительно)

Allows you to select from an available list of variables in the Layer to Aggregate input feature class to append to the output feature class.

String
UseOnlineData
(дополнительно)

Selects how the Business Analyst data used in the analysis will be accessed.

  • TRUEAllows a user to acess online Business Analyst data.
  • FALSEA user will only have access to locally loaded Business Analyst data. This is the default.
Boolean

Пример кода

Grids Example (Stand-alone Script)
# Name: Grinds.py
# Description: Generates a 1-mile grid output layer based on current map extent.
# Author: Esri

# Import system modules
import arcview
import arcpy

arcpy.AddToolbox("C:\Program Files (x86)\ArcGIS\Desktop10.2\Business Analyst\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business") 
 
# Define input and output parameters for the Grids tool
  OutPath = "C:/temp/grids.shp"
  Extent = "C:/temp/Boundary.shp"
 
# Create grid based trade areas
  arcpy.Grids_ba("Get extent from the layer", 1, "Miles", OutPath, Extent)
 
# Release extension license 
  arcpy.CheckInExtension("Business")
 
except:
  print arcpy.GetMessages(2)

Параметры среды

Этот инструмент не использует параметры среды геообработки

Связанные темы

Информация о лицензировании

ArcGIS for Desktop Basic: Требует Business Analyst
ArcGIS for Desktop Standard: Требует Business Analyst
ArcGIS for Desktop Advanced: Требует Business Analyst
4/27/2014