The ArcGIS API for Python occasionally deprecates functionalities, scheduling for their eventual removal from future releases. The API reference itself clearly identifies these deprecated features. To ensure your applications continue to function flawlessly and avoid compatibility issues, proactively migrate your code away from them.
Deprecation Candidates
These classes, functions, and modules in the ArcGIS API for Python are deprecated and may cause compatibility issues in future versions:
arcgis.apps
Module
arcgis.apps.dashboard
- entire module deprecated at version 2.1.0. This sub-module may be removed at a future major releaseWebExperience.clone
- deprecated in 2.3.0 will be removed in 2.4.2. Pass in the Web Experience item togis.content.clone_items()
instead.StoryMap.get
- deprecated in 2.2.0 will be removed in 2.4.2.get
method has been deprecated, usecontent_list
property instead.StoryMap.nodes
- deprecated in 2.2.0 removed in 2.4.0. Thenodes
property has been deprecated, usecontent_list
property instead.StoryMap.cover_date
- deprecated in 2.4.0 removed in future major release. Use thedate
property in the Cover class.StoryMap.cover
- deprecated in 2.4.0 removed in future major release. Use the Cover class.StoryMap.navigation
- deprecated in 2.4.0 removed in future major release. Use the Navigation class.Briefing.cover
- deprecated in 2.4.0 removed in future major release. Use the Cover class.Collection.cover
- deprecated in 2.4.0 removed in future major release. Use the Cover class.Swipe.properties
- deprecated in 2.4.0 removed in future major release. Use thecontent
property instead.Swipe.edit
- deprecated in 2.4.0 removed in future major release. Use thecontent
property setter instead.MapAction
- deprecated in 2.4.0 removed in future major release. Use theMediaAction
class instead.JournalStoryMap
- deprecated in 2.0.0 removed in 2.4.0. Template was removed from the ArcGIS platform.Hub.initiatives
- deprecated in 2.4.0 removed in a future release. UseHub.sites
instead.
arcgis.learn
Module
categorize_features
- deprecated in 1.7.1 and will be removed in a future major release (For example: 2.x to 3.x). Please usearcgis.learn.classify_objects
instead.
arcgis.gis.agonb
Module
Container.terminate
- deprecated in 2.3.0 will be removed in 2.4.0. UseContainer.shutdown
instead.
arcgis.gis.nb
Module
Container.terminate
- deprecated in 2.3.0 will be removed in 2.4.0. UseContainer.shutdown
instead.
arcgis.gis
Module
ContentManager.add
- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). UseFolder.add
instead.ContentManager.create_folder
- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). Usegis.content.folders.create
instead.ContentManager.delete_folder
- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). UseFolder.delete()
instead.ContentManager.rename_folder
- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). UseFolder.rename()
instead.ContentManager.dependency_manager
- deprecated in 2.4.0 will be removed in a future release.Item.share
- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). UseItem.sharing
instead.Item.shared_with
- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). UseItem.sharing
instead.Item.unshare
- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). UseItem.sharing
instead.arcgis.gis.UserManager.create
- thelevel
parameter is deprecated at 2.4.0 and will be removed from the method signature in a future release.
arcgis.mapping
Module
MapImageLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapImageLayer
class instead.MapImageLayerManager
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapImageLayerManager
class instead.EnterpriseMapImageLayerManager
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.EnterpriseMapImageLayerManager
class instead.VectorTileLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.VectorTileLayer
class instead.VectorTileLayerManager
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.VectorTileLayerManager
class instead.Object3DLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.Object3DLayer
class instead.IntegratedMeshLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.IntegratedMeshLayer
class instead.Tiles3DLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.Tiles3DLayer
class instead.Point3DLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.Point3DLayer
class instead.VoxelLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.VoxelLayer
class instead.PointCloudLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.PointCloudLayer
class instead.BuildingLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.BuildingLayer
class instead.SceneLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.SceneLayer
class instead.SceneLayerManager
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.SceneLayerManager
class instead.EnterpriseSceneLayerManager
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.EnterpriseSceneLayerManager
class instead.MapServiceLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapServiceLayer
class instead.MapFeatureLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapFeatureLayer
class instead.MapTable
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapTable
class instead.MapRasterLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapRasterLayer
class instead.WMTSLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.WMTSLayer
class instead.CSVLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.CSVLayer
class instead.GeoRssLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.GeoRssLayer
class instead.KMLLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.KMLLayer
class instead.WMSLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.WMSLayer
class instead.GeoJSONLayer
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.GeoJSONLayer
class instead.OGCCollection
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.OGCCollection
class instead.OGCFeatureService
- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.OGCFeatureService
class instead.
Deprecation Removals
Several classes, functions, and methods have been completely removed from the ArcGIS API for Python. This means your code relying on them will no longer function properly. For a smooth transition, consult the API documentation to find alternative approaches and update your code accordingly.
arcgis.geoanalytics
Module
The entire geoanalytics module has been deprecated on ArcGIS Enterprise and removed at ArcGIS Enterprise 11.4. If you need the geoanalytics modules, please use version 2.3.x or prior.
See ArcGIS GeoAnalytics for Server Deprecation Notice for further details. Support for the arcgis.geoanalytics module will continue to be provided through the built-in Python API included with ArcGIS Enterprise 11.3 and earlier installations.
analyze_patterns
module removed in 2.4.0. All functions within this module have been removed. Use version 2.3.x if this functionality is still needed.data_enrichment
module removed in 2.4.0. All functions within this module have been removed. Use version 2.3.x if this functionality is still needed.find_locations
module removed in 2.4.0. All functions within this module have been removed. Use version 2.3.x if this functionality is still needed.manage_data
module removed in 2.4.0. All functions within this module have been removed. Use version 2.3.x if this functionality is still needed.summarize_data
module removed in 2.4.0. All functions within this module have been removed. Use version 2.3.x if this functionality is still needed.use_proximity
module removed in 2.4.0. All functions within this module have been removed. Use version 2.3.x if this functionality is still needed.arcgis.geoanalytics.get_datastores
was removed in 2.4.0. Use version 2.3.x if this functionality is still needed.arcgis.geoanalytics.define_output_datastore
was removed in 2.4.0. Use version 2.3.x if this functionality is still needed.arcgis.geoanalytics.is_supported
was removed in 2.4.0. Use version 2.3.x if this functionality is still needed.
arcgis.mapping
Module
WebMap
- removed in 2.4.0. Usearcgis.map.Map
instead.WebScene
- removed in 2.4.0. Usearcgis.map.Scene
instead.forms
- removed in 2.4.0. Use dataclasses found inarcgis.map.forms
module instead.renderer
- removed in 2.4.0. Use dataclasses found inarcgis.map.renderers
and methods inarcgis.map.SmartMappingManager
.OfflineMapAreaManager
- removed in 2.4.0. Use thearcgis.map.OfflineMapAreaManager
.
arcgis.geocoding
Module
suggest
- The distance parameter is deprecated and removed at 2.4.0. The parameter is no longer supported. Please use thesearch_extent
parameter instead to control the search area.
arcgis.widgets
Module
MapView
- removed in 2.4.0. Use eitherarcgis.map.Map
orarcgis.map.Scene
instead.
arcgis.gis.server
Module
Mode.update
- deprecated in 1.7.1 removed in 2.4.0. UseMode.update_mode
instead.
arcgis.gis.admin
Module
Security.ssl property
- deprecated in 2.1.0 removed in 2.4.0. UseMachine.ssl_certificate
instead.UX.enable_comments
- deprecated in 2.1.0 removed in 2.4.0. This applies to the getter and setter of the property.UX.set_background
-deprecated in 2.1.0 removed in 2.4.0. This applies to the getter and setter of the property.UX.set_banner
- deprecated in 2.1.0 removed in 2.4.0. This applies to the getter and setter of the property.UX.default_extent
- deprecated in 2.1.0 removed in 2.4.0. This applies to the getter and setter of the property.UX.default_basemap
- deprecated in 2.1.0 removed in 2.4.0. This applies to the getter and setter of the property.UX.vector_basemap
- deprecated in 2.1.0 removed in 2.4.0. This applies to the getter and setter of the property.
arcgis.raster
Module
calculate_distance
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation (or arcgis.raster.functions.gbl.distance_allocation for allocation output) instead.calculate_travel_cost
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation (or arcgis.raster.functions.gbl.distance_allocation for allocation output), instead.cost_allocation
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation instead.cost_backlink
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation with value specified for output_back_direction_raster_name, instead.cost_distance
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation instead.cost_path
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.optimal_path_as_raster instead.costpath_as_polyline
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.analytics.optimal_path_as_line instead.determine_travel_costpath_as_polyline
- deprecated in 1.8.1 removed in 2.4.0. lease use arcgis.raster.functions.gbl.distance_accumulation followed by arcgis.raster.analytics.optimal_path_as_line instead.euclidean_allocation
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_allocation instead.euclidean_back_direction
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation with value specified for output_back_direction_raster_name, instead.euclidean_direction
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_allocation instead with value specified for output_source_direction_raster_name, instead.euclidean_distance
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_allocation instead.least_cost_path
- deprecated in 1.9.0 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation and arcgis.raster.functions.gbl.optimal_path_as_raster instead.optimum_travel_cost_network
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.analytics.optimal_region_connections instead.path_distance
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation instead.path_distance_back_link
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation with value specified for output_back_direction_raster_name, instead..path_distance_allocation
- deprecated in 1.8.1 removed in 2.4.0. Please use arcgis.raster.functions.gbl.distance_accumulation.
arcgis.features
Module
UtilityNetworkManager.query_overrides
- deprecated in 2.1.0 removed in 2.4.0.UtilityNetworkManager.apply_overrides
- deprecated in 2.1.0 removed in 2.4.0.FeatureLayerCollectionManager.create_view
-preserve_layer_ids
is default True at 2.4.0.
arcgis.gis
Module
Group.invite_by_email
- deprecated in 1.5.1 removed in 2.4.0. UseGroup.invite
instead.