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

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

Create An Empty Store Layer

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

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

Сводка

Generates a new empty point feature class (store layer). You can define fields to be created in the new empty layer.

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

  • When data is added to your map, it will be associated with the analysis extent that's active at the time. If the active analysis extent is a study area, the layer will be added to the group layer of that study area.

  • You can change the analysis extent at any time using Set Analysis Extent on the Business Analyst menu.

  • You can add new customer features (points) to the empty store layer by using the Edit toolbar in ArcMap. Once the layer is editable, you can pushpin (add) new points.

Синтаксис

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

The feature class that will contain the store points.

Feature Class
FldsCollection
[[Field Name, Alias Name, Field Type, Precision],...]

Fields to add to the output feature class.

String
NameField
(Дополнительный)

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

String
StoreIDField
(Дополнительный)

Selects a field to be used as the store ID field.

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

Inserts custom store symbology into point feature class.

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

The file location containing the custom store symbology.

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

The feature class that will contain the store points.

Long

Пример кода

CreateEmptyStoreLayer example (stand-alone script)

# Name: CreateEmptyStoreLayer.py
# Description: Creates an empty store 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 Create an Empty Store Layer tool
  OutputFeatureClass = "C:/temp/New_Store.shp"
  FldsCollection = "Name:ID|Alias:|Type:esriFieldTypeSmallInteger|Precision:1|Scale:0;Name:Address|Alias:|Type:esriFieldTypeString|Precision:40|Scale:0"
 
# Creates a new feature class (Store Layer) with empty attribute fields
  arcpy.CreateEmptyStoreLayer_ba(OutputFeatureClass, FldsCollection)
 
# 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. | Конфиденциальность | Правовая информация