What's new in version 2.2.0

New

Guides

Samples

Module Changes

arcgis.gis

  • Adds classes:
  • User
  • UserManager
    • create()
      • Adds parameters:
        • email_text for custom messages
      • Adds note to password parameter to explain restriction for sending email
      • Adds text explanations and links to supporting documentation of the introduction and parameter table
  • RoleManager
  • ContentManager
    • clone_items()
      • Adds full support for StoryMap , WebScene, Survey123 and ExperienceBuilder items
      • Ensures support for legacy ArcGIS Dashboards Classic items
      • Adds keyword arguments description table:
        • Adds option for keyword argument:
          • copy_code_attachment
    • add()
      • Enhances performance when updating file-base items with large files
    • import_data()
      • Improves performance by refactoring:
        • methods into subpackage for cleaner processing
        • refactoring private methods to use memory structures
  • GroupManager
  • Group
    • migration
      • Adds hyperlink to GroupMigrationManager object returned by property
  • GroupMigrationManager
    • Adds text explanation and code snippet to initializer documentation
    • Adds explanation, hyperlinks and code snippets for methods
  • Item
    • Adds link to full list of available properties in reference documentation
    • Adds properties:
    • download()
      • Enhances performance on large downloads when authenticating through proxies
    • reassign_to()
      • Allows User object for the target_owner argument
    • update()
      • Enhances performance when updating file-base items with large files
      • Updates code snippet to use correct object type
    • export()
      • Updates error reporting
      • Fixes internal private methods to properly handle rest responses
    • share()
      • Updates documentation to clarify parameters
      • Adds validation for
        • input types before making calls to endpoints
        • calling user privileges to ensure permissions are valid

arcgis.gis.admin

arcgis.gis.server

  • Service
    • Adds support for new datatypes:
      • esriFieldTypeBigInteger
      • esriFieldTypeTimeOnly
      • esriFieldTypeDateOnly
      • esriFieldTypeTimestampOffset

arcgis.gis.nb

arcgis.gis.workflowmanager

arcgis.features

arcgis.features.manage_data

arcgis.features.managers

arcgis.raster

arcgis.raster.analytics

arcgis.raster.functions

arcgis.raster.orthomapping

  • Adds classes:
  • Methods enhanced to accept Mission object as inputs

arcgis.raster.utils

  • Adds support for using FeatureLayer objects as input for mask environment parameters

arcgis.geocoding

arcgis.geoenrichment

  • Adds verification for necessary capabilities when using functionality only available with specific versions
  • create_report()
    • Adds error handling
  • enrich()
    • Adds parameter:
      • sanitize_columns

arcgis.geometry

arcgis.graph

  • apply_edits()
    • Adds note about supported values for input dictionaries

arcgis.mapping

arcgis.realtime

arcgis.widgets

  • MapView
    • Adds check to ensure organization's custom basemap's settings are compatible with Map Viewer

arcgis.apps

  • Adds submodule:
    • expbuilder
      • Adds ability to work with Experience Builder items using the API
  • storymap
    • Adds content_list property to simplify retrieving elements:
      • Sidecar
      • StoryMap
    • Adds ability to create Sidecar, Swipe, and Timeline nodes from scratch
    • Storymap
      • Adds support for initializing classic Esri Story Map items
    • Sidecar

arcgis.learn

Fixes

  • Fixes BUG-000155321 where using pip to install API led to incorrect version of ipywidgets dependency
  • Fixes issue with arcgis.gis.admin module improperly loading when installing with pip on non-Windows machines

Guides

Samples

Module Changes

arcgis.gis

  • GIS
    • Improves support for Multi-IWA authentication
    • Fixes issue when expiration argument not getting applied if internal variables not set
  • Item
    • Fixes General Exception error when accessing the layers property for Multi-IWA authenticated Web GIS
    • update()
      • Fixes issue where access key in item_properties failed to update
    • copy_item()
      • Fixes issue where tags doesn't properly format when entered as a list
    • Fixes issue in Jupyter Notebooks where item types did not display with proper icons
    • add_comment()
      • Fixes BUG-000156789 Too many failures error message when using method in ArcGIS Notebooks
  • ContentManager
    • add()
      • Fixes issue where access key in item_properties failed to get added properly
      • Fixes builtins.KeyError: 'privateUrl' error on ArcGIS Enterprise for Kubernetes
    • clone_items()
      • Fixes BUG-000150518 where Web App Builder application fails to clone between 10.9 and 10.9.1 Enterprise organizations
      • Fixes BUG-000158101 where cloning from ArcGIS Online to Enterprise configured for IWA authentication failed with Exception: a general error
      • Fixes KeyError: 'owner' when cloning Web Map items with specific content
      • Fixes handling of Esri-owned content which should not be cloned between organizations
      • Fixes BUG-000160370 where ArcGIS Solutions Citizen Problem Reporter or Problem Manager applications failed to clone
    • delete_items()
    • search()
      • ENH-000159413 Fixes documentation and messaging issue and adds link to authoritative source when results contain more than 10,000 items
    • import_data()
      • Fixes Public Repo Issue #1658 where MissingSchema error raised when mapping address to country or subnational area
  • Group Fixes issue where administrator could not operate method
    • notify()
      • Updates code snippet to properly reflect input required for users argument
  • GroupManager
    • create()
      • Fixes failure when membership_access argument is provided as None
  • Layer
    • from_item()
      • Corrects input types accepted for the item argument
  • UserManager
    • org_search()
      • Public Repo Issue #1500 - fixes issue where permissions error was returned instead of 0 when logged in anonymously
    • assign_categories()
      • Fixes formatting issue so assignment displays and filters properly when viewing users in browser interface
    • create()
      • Fixes error if default groups are set in the organization's default settings
      • Fixes NoneType error if role argument not provided and New Member Defaults not set
  • PortalDataStore
    • register()
      • Updates text_param argument syntax in the code snippet to correct punctuation for boolean value
    • publish_layers()
      • Removed documentation specifying method could run asynchronously

arcgis.gis.admin

  • AGOLUsageReports
    • generate_report()
      • Updates documentation for:
        • supported report_type options
        • duration argument to specify requirements
        • specific requirements of the start_time argument
  • KubernetesAdmin
    • Fixes issue where certificate manager failed to load (gis.admin.security.certificates)
  • UX
    • Fixes issues when None or empty stings passed in as arguments for some settings
    • featured_content
      • Fixes bug where Exception raised when trying to set a specific group
    • summary
      • Fixes failure when calling on new Enterprise organizations
    • set_banner()
      • Fixes issue where enumeration values did not appear in parameter table
  • KubeServiceDirectory
    • publish_sd()
      • Fixes issue where incorrectly formatted service_config was being passed

arcgis.gis.server

  • Fixes issue where objects authenticated with MultiIWA were not handling servers properly
  • Server
    • Fixes UnboundLocalError when folder argument is a folder that does not exist:
    • publish_sd()
      • Fixes issue where update of configuration not occurring properly

arcgis.gis.nb

arcgis.gis.workflowmanager

arcgis.gis.tasks

  • TaskManager
    • create()
      • Updates documentation with missing explanation and options for the task_type parameter
  • Task
    • update()
      • Updates documentation with missing explanation and options for the task_type parameter

arcgis.features

arcgis.features.managers

arcgis.features.manage_data

arcgis.raster

  • Raster
    • export_image()
      • Fixes ValueError message when exporting locally even though method functions properly
  • ImageryLayer
    • Ensure that 64-bit integer values are handled correctly because of improper datetime handling
    • query()
      • Fixes incorrect output returned if time_filter argument is a datetime.date object

arcgis.raster.analytics

  • generate_raster()
    • Fixes issue where output remained constant because of mosaic rule configuration
  • convert_raster_to_features()
    • Correct return value in reference documentation
  • copy_raster()
    • Fixes Failed to execute error because of improper handling if token not present in token-based authentication

arcgis.raster.functions.RFT

  • Fixes issue with incorrect rendering when RFT module is used on a layer

arcgis.geocoding

arcgis.geoenrichment

  • create_report()
    • Fixes issue where error reported incorrectly when point geometry used as study_area with out_name argument
  • enrich()
    • Fixes Attribute_Error when using analysis_variables argument
    • Fixes Exception: Unable to complete operation error when using an extent object as study_area argument
    • Fixes issue where study_area defined with Walking travel mode does not get correctly enriched
    • Fixes failure when study_areas argument is a Polygon passed in as a dictionary
  • Country()
    • enrich()
      • Fixes method to ensure extent, list of BufferStudyArea, Geometry, and GeoAccessor objects are accepted as input

arcgis.geometry

arcgis.mapping

arcgis.widgets

  • MapView
    • Fixes BUG-000157292 where gis.map() failed to authenticate when run in Enterprise notebooks
    • add_layer()
      • Fixes visualization issue when opacity is in options argument
      • Fixes ValueError when adding output from geocoding (input passed in as a dictionary)
    • zoom_to_layer()
      • Fixes issue where method would not work on MapImageLayer or MapRasterLayer objects

arcgis.apps

  • storymap
    • Storymap
      • credits
        • Fixes issue where child nodes were missing after setting
      • save()
        • Fixes issue where Text node was improperly formatted causing StoryMap to render blank
    • Map
      • set_viewpoint()
        • enhance scale argument to accept dictionary for custom scales
  • survey123
    • generate_report()
      • Updates reference documentation with more explanation and code snippets
    • Survey
      • Fixes issue when initializing object with relate FeatureService with non-zero layer indexing
  • hub
    • Hub
      • Adds GIS parameter to replace username and password for initialization
    • SiteManager
      • add()
        • Fixes issue with creating sites no longer needing to be a registered app
      • clone()
        • Fixes issue where default values is now set when one was not available in organization properties
    • InitiativeManager
      • clone()
        • Fixes hyperlinks for note and parameter table
      • add()
        • Fixes hyperlink for return value

arcgis.learn

  • Fixes GPU utilization during CPU training for multiple models:
    • PSETAE, FeatureClassifier, SuperResolution, ImageCaptioner, Pix2PixHD
  • Fixes issue with per_class_metrics() method returning all classes even when setting ignore_classes argument
  • Data Preparation Methods
    • prepare_tabulardata()
      • Fixes error when both explanatory_variables and explanatory_rasters arguments are provided
      • Fixes issue when using preprocessors argument where explanatory_variables cannot be passed without using transformation
      • Fixes error for MascRCNN output when exported data contains white space in the class_value key
  • Automated Machine Learning
    • AutoML
      • Fixes bug when initializing with fairness_metric keyword argument
      • predict()
        • Fixes incorrect results because of application of fit_transforms instead of transforms during training
      • Fixes issue during training when using mixed data containing images
      • Fixes UnboundLocalError when using data argument prepared with explanatory_variables and variable_predict
      • Fixes NameError when using multiclass classification
      • fairness_score()
        • Fixes ValueError when using sensitive_feature and visualize arguments
  • Object Classification Models
    • FeatureClassifier
      • Fixes RuntimeError when using timm backbone
      • Fixes NameError on show_batch() when number of rows exceeds number used to train data
  • Object Detection Models
    • Fixes errors when initializing modles with specific backbones
    • MaskRCNN
      • Fixes issue where invalid JSON including NaN in the average precision returned on successful model training
      • fit()
        • Fixes issue where inferencing giving output of 0 length or Null geometries
    • MMDetection
      • Fixes issue URLError when initializing with fcos model
    • EfficientDET
      • Fixes failure on initializing when labels directory contains non-file types
      • save()
        • Adds missing metric information to appropriate files for average_precision_score information
  • Pixel Classification Models
  • Image Translation Models
    • Pix2Pix
      • Fixes AttributeError issue with initializing on outdated datasets
    • Pix2PixHD
      • compute_metrics()
        • Fixes visualization issue when model trained with DSM (1 band) to RGB (3 band) data and per_class_metrics()
    • SuperResolution
      • from_model()
        • Fixes RuntimeError in loading state_dict error when using on Linux platforms
  • Feature, Tabular, anad Timeseries models
    • Fixes TypeError on show_results() because of incorrect input format on internal functions
    • PSETAE
      • Fixes incorrect initialization of model when using prepare_data() output prepared with channels_of_interest or classes_of_interest arguments
  • Unstructured Text Models
    • Fixes import errors when trying to import submodule on Ubuntu systems
    • arcgis.learn.text module
      • TextClassifier
        • Fixes issue where wrong confidence value was returned if batch_size was greater than 1
  • Inferencing Methods
    • detect_objects
      • Fixes error if the tile size varies while inferencing
  • Model Management

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close