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

Geoprocessing scripts for working with time-enabled layers and maps

  • Working with the data frame time
  • Working with the layer time

You can work with time-enabled layers and maps using arcpy.mapping scripts, which allow you to use the time information associated with the layers and maps for automating map outputs and performing further data managements and analysis tasks over time.

Working with the data frame time

You can access and work with the time properties of maps in Python scripts by using the DataFrameTime class. DataFrameTime provides the ability to set or modify the time properties of the map that were set using the time slider. Also, you can use this to automate the output from maps containing time-enabled layers.

  • Learn more about the DataFrameTime_class
  • Learn more about setting time properties on layers
  • Learn more about setting and modifying time slider properties

Working with the layer time

You can access the time information associated with time-enabled layers in Python scripts using the LayerTime class. Time information, such as the time fields containing the time values associated with the features, start and end time of the data, and the time-step interval, and so on, can be used for not only gaining knowledge about the time properties on the time-enabled layer but also for performing further data management and analysis tasks over time. Also, you can use several LayerTime properties together to loop through the data in your time-enabled layer based on time.

  • Learn more about the LayerTime_class
  • Learn more about enabling time on your data

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

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

About Esri

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