ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Visualize Space Time Cube in 3D

  • Summary
  • Illustration
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Visualizes the variables stored in a netCDF cube created with the Create Space Time Cube tool and the Emerging Hot Spot Analysis tool. Output from this tool is a three-dimensional representation uniquely rendered based on the variable and theme chosen.

Illustration

Visualizing the space-time cube in 3D

Usage

  • This tool can only accept netCDF files created by the Create Space Time Cube tool.

  • To visualize the space-time cube in 3D, you must use either ArcGlobe or ArcGIS Pro. For optimal 3D visualization, ArcGIS Pro is recommended.

  • The VALUE theme allows you to see the raw numbers associated with aggregation.

  • If you have run Emerging Hot Spot Analysis on a particular variable, you also have the option of visualizing HOT_AND_COLD_SPOT_RESULTS. This theme shows you the statistical significance of each bin based on the space time hot spot analysis run in Emerging Hot Spot Analysis .

  • Any Summary Fields that were aggregated will also have the option of visualizing the ESTIMATED_BINS so you can see exactly which bins were estimated based on your decisions in Create Space Time Cube.

  • If the data is not drawing, you may need to manually generate the data cache. You can do this by right-clicking the output layer and selecting Generate Data Cache. When the Generate Cache window pops up, click OK.

    Generate Data Cache

Syntax

VisualizeSpaceTimeCube3D(in_cube, cube_variable, display_theme, output_features)
ParameterExplanationData Type
in_cube

The netCDF cube that contains the variable to be displayed. This file must have an .nc extension and must have been created using the Create Space Time Cube tool.

File
cube_variable

The numeric variable in the netCDF cube that you want to explore. The cube will always contain the COUNT variable. Any Summary Fields in the cube will also be available if they were included in the cube creation process.

String
display_theme

The characteristic of the Cube Variable that you want to display. VALUE will always contain an option for every cube. ESTIMATED_BINS are only available for the Summary Fields that were included in the cube creation process. HOT_AND_COLD_SPOT_RESULTS will only be available for Cube Variables for which Emerging Hot Spot Analysis has been run.

  • VALUE —The numeric value of the cube variable chosen
  • HOT_AND_COLD_SPOT_RESULTS —The statistical significance of each bin based on the space-time hot spot analysis run in Emerging Hot Spot Analysis
  • ESTIMATED_BINS —Displays the bins with estimated values
String
output_features

The output feature class results. This feature class will be a three-dimensional map representation of the display variable chosen that can be displayed in a 3D scene.

Feature Class

Code sample

VisualizeSpaceTimeCube3D example 1 (Python window)

The following Python window script demonstrates how to use the VisualizeSpaceTimeCube3D tool.

arcpy.env.workspace = r"C:\STPM"
arcpy.VisualizeSpaceTimeCube3D_stpm("Homicides.nc", "COUNT", "HOT_AND_COLD_SPOT_RESULTS", "Homicides_Count_HS.shp")
VisualizeSpaceTimeCube3D example 2 (stand-alone Python script)

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

# Display Space Time Cube of homicide incidents in a metropolitan area

# Import system modules
import arcpy

# Set geoprocessor object property to overwrite existing output, by default
arcpy.overwriteOutput = True

# Local variables...
workspace = r"C:\STPM"

try:
    # Set the current workspace (to avoid having to specify the full path to the feature classes each time)
arcpy.env.workspace = workspace

# Display Space Time Cube of homicide with the hot and cold spots with crime counts
# Process: Visualize Space Time Cube in 3D 
cube = arcpy.VisualizeSpaceTimeCube3D_stpm("Homicides.nc", "COUNT", "HOT_AND_COLD_SPOT_RESULTS", " Homicides_Count_HS.shp")

except:
    # If any error occurred when running the tool, print the messages
    print(arcpy.GetMessages())

Environments

  • Current Workspace
  • Scratch Workspace
  • Output Coordinate System
  • Geographic Transformations

Licensing information

  • ArcGIS Desktop Basic: Yes
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics

  • How Create Space Time Cube works
  • How Emerging Hot Spot Analysis works
  • Visualizing the Space Time Cube
  • How Hot Spot Analysis (Getis-Ord Gi*) works
  • An overview of the Space Time Pattern Mining toolbox

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal