ArcGIS Desktop

  • Documentación
  • Soporte

  • 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 for 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

Setup Store Using Existing Data

Disponible con licencia de Business Analyst.

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

Resumen

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

Uso

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

Sintaxis

SetupStoreByExistingData_ba (InputFeatureLayer, NameField, StoreIDField, WayToSpecifyStoreIDField, CreateNewFeatureClass, OutputFeatureClass, {UsePictureSymbol}, {ImagePath}, {PictureSymbolSize})
ParámetroExplicaciónTipo de datos
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
(Opcional)

Inserts custom store symbology into point feature class.

  • True —Inserts custom symbology.
  • False —Will not insert custom symbology. This is the default.
Boolean
ImagePath
(Opcional)

The file location containing the custom store symbology.

File
PictureSymbolSize
(Opcional)

Set the symbol size by points.

Long

Muestra de código

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.6\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")

     
except:
  print arcpy.GetMessages(2)

Entornos

Esta herramienta no utiliza ningún entorno de geoprocesamiento.

Información sobre licencias

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

Temas relacionados

  • An overview of the Store Setup toolset

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

Plataforma ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog interno
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2018 Esri. | Privacidad | Legal