ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS Desktop

Ein vollständiges professionelles GIS

ArcGIS Enterprise

GIS in Ihrem Unternehmen

ArcGIS Developers

Werkzeuge zum Erstellen standortbezogener Apps

ArcGIS Solutions

Kostenlose Karten- und App-Vorlagen für Ihre Branche

ArcGIS Marketplace

Rufen Sie Apps und Daten für Ihre Organisation ab.

  • Dokumentation
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

ArcMap

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Erweiterungen

Import Variables by Spatial Join

Mit der Business Analyst-Lizenz verfügbar.

  • Zusammenfassung
  • Verwendung
  • Syntax
  • Codebeispiel
  • Umgebungen
  • Lizenzinformationen

Zusammenfassung

Joins external variables to the Territory Solution by spatial intersection.

Verwendung

  • Any Integer, SmallInteger, Double and Single field from an importing table can be used as in_variables.

Syntax

arcpy.td.ImportVariablesBySpatialJoin_TD(in_territory_solution_layer, in_layer, in_variables)
ParameterErklärungDatentyp
in_territory_solution_layer

The Territory Solution layer to which to import variables.

GP TD Layer
in_layer

The Source layer from which to import variables.

Feature Layer
in_variables
[in_variables,...]

The Set of fields to import from the input table.

Field

Codebeispiel

ImportVariablesBySpatialJoin_TD example (Python window)

The following Python window script demonstrates how to use the tool in immediate mode.

import arcgisscripting
gp = arcgisscripting.create()
gp.ImportVariablesBySpatialJoin_TD("new layer", "C:/layer.lyr", "AREA;TOTPOP_CY")
ImportVariablesBySpatialJoin_TD example 2 (stand-alone script)

The following stand-alone script demonstrates how to use the tool.

# Import system modules
import arcgisscripting
gp = arcgisscripting.create()

# Set local variables
solution = "new layer"
layer = "C:/layer.lyr"
variables = "AREA;TOTPOP_CY"

# Execute tool
gp.ImportVariablesBySpatialJoin_TD(solution, layer, variables)

Umgebungen

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Lizenzinformationen

  • Basic: Erfordert Business Analyst
  • Standard: Erfordert Business Analyst
  • Advanced: Erfordert Business Analyst

Verwandte Themen

  • An Overview of the Setup Territory Solution Toolset
  • Create Territories
  • Create Territory Solution
  • Import Variables By Attribute Join
  • Import Territories From Database

ArcGIS Desktop

  • Startseite
  • Dokumentation
  • Support

ArcGIS

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

Über Esri

  • Über uns
  • Karriere
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Wir sind an Ihrer Meinung interessiert.
Copyright © 2021 Esri. | Datenschutz | Rechtliches