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.gis Module
ContentManager.add- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). UseFolder.addinstead.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.createinstead.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.sharinginstead.Item.shared_with- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). UseItem.sharinginstead.Item.unshare- deprecated in 2.3.0 will be removed in a future major release (example: 2.x to 3.x). UseItem.sharinginstead.arcgis.gis.UserManager.create- thelevelparameter is deprecated at 2.4.0 and will be removed from the method signature in a future release.UserManager.create- thelevelparameter is depreacted at 2.4.0 and will be removed from the method signature in a future release.
arcgis.apps Module
arcgis.apps.dashboard- entire module deprecated at version 2.1.0. This sub-module will be removed at 2.4.3.StoryMap.get- deprecated in 2.2.0 will be removed in 2.4.2.getmethod has been deprecated, usecontent_listproperty instead.StoryMap.nodes- deprecated in 2.2.0 removed in 2.4.0. Thenodesproperty has been deprecated, usecontent_listproperty instead.StoryMap.cover_date- deprecated in 2.4.0 removed in future major release. Use thedateproperty in the Cover class.Swipe.properties- deprecated in 2.4.0 removed in future major release. Use thecontentproperty instead.Swipe.edit- deprecated in 2.4.0 removed in future major release. Use thecontentproperty setter instead.MapAction- deprecated in 2.4.0 removed in future major release. Use theMediaActionclass 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.sitesinstead.
arcgis.features.managers Module
UtilityNetworkManager.export_subnetwork- deprecated the "result_type" parameter at 2.4.1. Please use "result_types" instead.UtilityNetworkManager.trace- deprecated the "result_type" parameter at 2.4.1. Please use "result_types" 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_objectsinstead.
arcgis.gis.nb Module
Container.terminate- deprecated in 2.3.0 will be removed in 2.4.0. UseContainer.shutdowninstead.NotebookDataAccess.create_folder- deprecated in 2.4.2. Removed in future release. UseNotebookFolder.create_folder()instead.NotebookDataAccess.files- deprecated in 2.4.2. Removed in future release. UseNotebookFolder.filesinstead.NotebookDataAccess.upload- deprecated in 2.4.2. Removed in future release. UseNotebookFile.upload()instead.NotebookFile.erase- deprecated in 2.4.2. Removed in future release. UseNotebookFile.delete()instead.
arcgis.layers Module
BasemapServices- deprecated in 2.4.2, removed in future release. Usearcgis.map.BasemapStylesServiceinsteadBasemapService- deprecated in 2.4.2, removed in future release. Usearcgis.map.BasemapStyleinstead.
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_patternsmodule 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_enrichmentmodule 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_locationsmodule 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_datamodule 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_datamodule 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_proximitymodule 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_datastoreswas removed in 2.4.0. Use version 2.3.x if this functionality is still needed.arcgis.geoanalytics.define_output_datastorewas removed in 2.4.0. Use version 2.3.x if this functionality is still needed.arcgis.geoanalytics.is_supportedwas removed in 2.4.0. Use version 2.3.x if this functionality is still needed.
arcgis.mapping Module
The entire module was deprecated in 2.4.0 and has been removed in 2.4.2. Install the arcgis-mapping package and use the arcgis.map module instead.
WebMap- removed in 2.4.0. Usearcgis.map.Mapinstead.WebScene- removed in 2.4.0. Usearcgis.map.Sceneinstead.forms- removed in 2.4.0. Use dataclasses found inarcgis.map.formsmodule instead.renderer- removed in 2.4.0. Use dataclasses found inarcgis.map.renderersand methods inarcgis.map.SmartMappingManager.OfflineMapAreaManager- removed in 2.4.0. Use thearcgis.map.OfflineMapAreaManager.MapImageLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapImageLayerclass instead.MapImageLayerManager- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapImageLayerManagerclass instead.EnterpriseMapImageLayerManager- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.EnterpriseMapImageLayerManagerclass instead.VectorTileLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.VectorTileLayerclass instead.VectorTileLayerManager- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.VectorTileLayerManagerclass instead.Object3DLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.Object3DLayerclass instead.IntegratedMeshLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.IntegratedMeshLayerclass instead.Tiles3DLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.Tiles3DLayerclass instead.Point3DLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.Point3DLayerclass instead.VoxelLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.VoxelLayerclass instead.PointCloudLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.PointCloudLayerclass instead.BuildingLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.BuildingLayerclass instead.SceneLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.SceneLayerclass instead.SceneLayerManager- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.SceneLayerManagerclass instead.EnterpriseSceneLayerManager- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.EnterpriseSceneLayerManagerclass instead.MapServiceLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapServiceLayerclass instead.MapFeatureLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapFeatureLayerclass instead.MapTable- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapTableclass instead.MapRasterLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.MapRasterLayerclass instead.WMTSLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.WMTSLayerclass instead.CSVLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.CSVLayerclass instead.GeoRssLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.GeoRssLayerclass instead.KMLLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.KMLLayerclass instead.WMSLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.WMSLayerclass instead.GeoJSONLayer- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.GeoJSONLayerclass instead.OGCCollection- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.OGCCollectionclass instead.OGCFeatureService- deprecated in 2.4.0 removed in 2.4.2. Use thearcgis.layers.OGCFeatureServiceclass instead.
arcgis.geocoding Module
suggest- The distance parameter is deprecated and removed at 2.4.0. The parameter is no longer supported. Please use thesearch_extentparameter instead to control the search area.
arcgis.widgets Module
MapView- removed in 2.4.0. Use eitherarcgis.map.Maporarcgis.map.Sceneinstead.
arcgis.gis.server Module
Mode.update- deprecated in 1.7.1 removed in 2.4.0. UseMode.update_modeinstead.
arcgis.gis.admin Module
Security.ssl property- deprecated in 2.1.0 removed in 2.4.0. UseMachine.ssl_certificateinstead.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.gis.agonb Module
Container.terminate- deprecated in 2.3.0. Removed in 2.4.0. UseContainer.shutdowninstead.
arcgis.raster Module
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.Raster.cmap- removed in 2.4.0. Usearcgis.raster.functions.colormapto apply colormap on the Raster object before adding it to map.Raster.vmin- removed in 2.4.0. Usearcgis.raster.functions.stretchto apply colormap on the Raster object before adding it to map.Raster.vmax- removed in 2.4.0. Usearcgis.raster.functions.stretchto apply colormap on the Raster object before adding it to map.Raster.opacity- removed in 2.4.0. Please set the opacity inoptionsparameter in the add method of the map widget.
arcgis.features.managers 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_idsis default True at 2.4.0.
arcgis.gis Module
Group.invite_by_email- deprecated in 1.5.1 removed in 2.4.0. UseGroup.inviteinstead.Folder.add()-overwriteitem_property is removed at 2.4.2. Useitem.updateto update the source file for anIteminstead.ContentManager.dependency_manager- removed in 2.4.2.arcgis.gis.sharingSubmoduleDependencyManagerremoved in 2.4.2.
arcgis.apps Module
arcgis.apps.storymapSubmoduleStoryMap.get()removed at 2.4.2.StoryMap.cover- deprecated in 2.4.0 removed in 2.4.2. Use the Cover class.StoryMap.navigation- deprecated in 2.4.0 removed in 2.4.2. Use the Navigation class.Briefing.cover- deprecated in 2.4.0 removed in 2.4.2. Use the Cover class.Collection.cover- deprecated in 2.4.0 removed in 2.4.2. Use the Cover class.
arcgis.apps.expbuilderSubmodule-
WebExperience.clone- Removed in 2.4.2. Pass in the Web Experience item togis.content.clone_items()instead.
-
arcgis.learn Module
TensorFlow- removed as dependency in 2.4.2.
Dependencies
fionaremoved as a dependency in 2.4.2.