ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Справка
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Картографическая платформа вашей организации

ArcGIS Desktop

Полноценная профессиональная ГИС

ArcGIS Enterprise

ГИС предприятия

ArcGIS Developers

Инструменты для встраивания приложений с местоположениями

ArcGIS Solutions

Бесплатные шаблоны карт и приложений для отрасли

ArcGIS Marketplace

Получение приложения и данных для вашей организации.

  • Документация
  • Поддержка
Esri
  • Войти
user
  • Мой профиль
  • Выход

ArcMap

  • На главную
  • Начало работы
  • Карта
  • Анализ
  • Управление данными
  • Инструменты
  • Дополнительные модули

Setup Store Using Existing Data

Доступно с лицензией Business Analyst.

  • Сводка
  • Использование
  • Синтаксис
  • Пример кода
  • Параметры среды
  • Информация о лицензиях

Сводка

Imports stores that are in a shapefile format (already geocoded) and identifies them as stores for further analysis.

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

  • The existing store layer must be a point feature class.

Синтаксис

arcpy.ba.SetupStoreByExistingData(InputFeatureLayer, NameField, StoreIDField, WayToSpecifyStoreIDField, CreateNewFeatureClass, OutputFeatureClass, {UsePictureSymbol}, {ImagePath}, {PictureSymbolSize})
ПараметрОбъяснениеТип данных
InputFeatureLayer

The existing layer that contains your stores.

Feature Layer
NameField

Selects a field to be used to identify the store name.

Field
StoreIDField

The name used to identify the store ID.

String
WayToSpecifyStoreIDField

Selects an existing store ID field or creates a new field.

  • USE_EXISTING —Uses the existing Store ID Field. This is the default.
  • CREATE_NEW —Creates a new store ID field.
Boolean
CreateNewFeatureClass

Generates a new feature class based on the existing layer or uses the existing layer.

  • True —Creates a new feature class.
  • False —Does not create a new feature class. The original layer will be used. This is the default
Boolean
OutputFeatureClass

The feature class that will contain the store points.

Feature Class
UsePictureSymbol
(Дополнительный)

Inserts custom store symbology into point feature class.

  • True —Inserts custom symbology.
  • False —Will not insert custom symbology. This is the default.
Boolean
ImagePath
(Дополнительный)

The file location containing the custom store symbology.

File
PictureSymbolSize
(Дополнительный)

Set the symbol size by points.

Long

Пример кода

SetupStoreByExistingData example (stand-alone script)

# Name: SetupStoreByExistingData.py
# Description: Creates a customer layer using an existing point layer. 
# 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")

try:
# Acquire extension license
  arcpy.CheckOutExtension("Business")

# Defines the parameters for the Setup Store Using Existing Data tool
  InputFeatureLayer = "C:/temp/sf_stores.shp"
  NameField = "NAME"
  StoreIDField = "STORE_ID"

# Sets up a new store layer based on an existing layer
  arcpy.SetupStoreByExistingData_ba(InputFeatureLayer, NameField, StoreIDField)

# Release extension license
arcpy.CheckInExtension("Business")

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

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

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

  • Basic: Требуется Business Analyst
  • Standard: Требуется Business Analyst
  • Advanced: Требуется Business Analyst

Связанные разделы

  • An overview of the Store Setup toolset

ArcGIS Desktop

  • На главную
  • Документация
  • Поддержка

ArcGIS

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

Об Esri

  • О нас
  • Карьера
  • Блог Esri
  • Конференция пользователей
  • Саммит разработчиков
Esri
Расскажите нам, что вы думаете.
Copyright © 2022 Esri. | Конфиденциальность | Правовая информация