What's new in version 2.0.0

New

  • Optimizes performance throughout API through implemention of LazyLoading
  • Adds support for ArcGIS StoryMaps
  • New Module for support of ArcGIS Online server functionality:
  • New Package for enhanced and customizable security
    • arcgis.auth
    • optimizes security handling for multiple authentication schemes, including PKI and IWA
    • allows for extension of authentication mechanism to customize authentication handlers
    • allows for optimized generation of tokens to older Enterprise

Guides

Samples

Module Changes

arcgis.gis

  • GIS
    • Adds expiration as an optional parameter to customize lifespan of a token
  • User
  • Group
  • UserManager
    • Adds custom messaging to invite() with new message_text parameter
    • Addresses ENH-000141984 with additional information in the parameter table descriptions for user_type and level
  • ContentManager
    • import_data()
      • Adds service_name parameter to control resulting service name
    • add()
      • Adds Developer Summit Customer Request support for BytesIO and StringIO objects through the data parameter

arcgis.gis.admin

arcgis.gis.server

arcgis.gis.nb

arcgis.gis.workflowmanager

  • Updates API to align with ArcGIS Enterprise 10.9.1 release
  • New Class:

arcgis.features

arcgis.features.analysis

arcgis.features.managers

arcgis.raster

arcgis.raster.analytics

arcgis.raster.functions

arcgis.raster.utils

arcgis.network

arcgis.geocoding

  • Adds additional documentation to batch_geocode parameter descriptions and examples

arcgis.geometry

  • Addresses ENH-000128519 to allow union() to accept dictionary input for spatial_ref argument

arcgis.geoprocessing

arcgis.mapping

arcgis.realtime

arcgis.apps

arcgis.learn

Fixes

Guides

Samples

Module Changes

arcgis.gis

  • GIS
    • Fixes the passing of tokens for numerous operations when logging in using OAuth2 (using client_id parameter)
    • Updates error messaging when using GIS("home") outside either ArcGIS Pro, ArcGIS Online or Notebook Server environments
    • Fixes an issue with refreshing the built-in token in cases when an error is raised if the GIS is inactive for over 30 minutes
  • ContentManager
    • advanced_search()
      • Fixes BUG-000136456 where incorrect paging occured with a large result
      • Fixes BUG-000136242 where incorrect results returned when the max_items parameter is greater than 100
      • Changes as_dict parameter description to Optional
    • clone_items()
      • Fixes Item id referencing in cloned results from arcgis.apps.workforce Version 2.0 Projects
      • Fixes failure when cloning an empty feature service having no extent
      • Fixes failure when generalization of geometries is disabled
    • add()
      • Fixes bug when adding a big data file share item type
  • GroupApplication
    • Fixes incorrect documentation for decline() method
  • Item
  • UserManager
    • Updates error messaging for create() if user already exists
    • Fixes search() method to return correct results when using provider argument
  • User
    • Fixes BUG-000138293 where delete() failed if the User owned any groups
  • Group

argis.env

  • active_gis
    • Fixes issue where values returns None under certain circumstances

arcgis.gis.admin

  • CreditManager
  • Bundle
    • Fixes BUG-000127555 where users property returned all users instead of just those assigned the bundle
  • EnterpriseUsers
    • Fixes BUG-000123480 where create() fails when pre-creating accounts in ArcGIS Enterprise
  • WebhookManager
    • Fixes BUG-000137691 where create() fails to use the number_of_failures and days_in_past arguments
  • Webhook
    • Fixes BUG-000137691 where update() failed to alter the number_of_failures and days_in_past components of the deactivation policy
  • System
    • Fixes BUG-000127575 where updates using properties do not occur
  • License
    • Fixes all() returns an empty list in ArcGIS Enterprise
    • Fixes BUG-000144932 where assign() overwrites existing entitlements

arcgis.gis.server

arcgis.features

  • FeatureLayer
    • query()
      • Fixes failure if object_ids argument passed as a list of integers
      • Fixes Public Repo #1069 issue where query() method returned AttributeError because method assumed existence of objectIdField property
    • append()
      • Updates upsert parameter default to False in method signature
      • Fixes parameter name inconsistency with field_mappings in parameter table
  • GeoAccessor - aka Spatially Enabled DataFrame
    • Fixes BUG-000137005 where project() returns False at 1.9.1 when run with environments containing ArcPy
    • Fixes plot() failure when run on Spatial DataFrame created by chaining from query(as_df=True)
    • Fixes failure to raise an Exception when using to_featureclass(overwrite=False) when the feature class exists
    • Fixes Public Repo #293 where all export methods (to_feature_collection(), to_featureclass(), to_featurelayer(), to_featureset(), to_table()) altered the calling Spatially Enabled DataFrame
    • to_featurelayer()
      • Updates title parameter to optional
      • Fixes Public Repo #1068 where non ArcPy environment fails with an AttributeError when dataframe contains null geoemetries
    • Fixes SystemError failure with to_featureclass() in environments with ArcPy
    • Fixes validate() returning incorrect result after sanitize_column_names() run on the dataframe
  • FeatureLayerCollection
    • Fixes BUG-000134934 where query_domains() fails with The requested layer (layerId: queryDomains) was not found. (Error Code: 400)
  • FeatureLayerCollection
    • upload()
      • Fixes failures in ArcGIS Enterprise for files larger than 9MB
      • Updates return value to an item id value

arcgis.features.managers

arcgis.features.analysis

  • Fixes various broken links within API reference documentation

arcgis.raster

  • ImageryLayer
    • Fixes issue where rendering_rule and mosaic_rule were not honored during initialization
    • save()
      • Fixes A general error occured issue when for_viz is True
  • RasterCollection
    • Fixes ImportError: cannot import name 'median' from 'arcgis.raster.functions' when using median()
    • Fixes issue where the operator and calendar_field arguments of the following methods were case sensitive for objects created from a raster datastore
  • Fixes issue where the engine was not set properly in ArcPy environments

arcgis.raster.analytics

arcgis.raster.functions.gbl

  • zonal_statistics()
    • Updates link for additional information
    • Updates the description of the percentile_interpolation_type

arcgis.raster.utils

arcgis.network

arcgis.geoanalytics

arcgis.geocoding

  • Updates misspelling of max_location to max_locations in parameter table documentation for geocode()

arcgis.geoenrichment

arcgis.geometry

  • Fixes missing parameter table for distance() function
  • Polygon
    • Fixes BUG-000128761 where feature created from GeoJSON did not properly handle rings with holes

arcigs.geoprocessing

  • GPJob
    • Fixes BUG-000128866 where cancel() returns False event though operation succeeds

arcgis.mapping

arcgis.realtime

  • Fixes misspellings in introductory description
  • FeedsManager
    • Fixes items failing with TypeError if user has no feed items

arcgis.widgets

  • MapView
    • add_layer()
      • Fixes invalid token issue when using public image services
      • Fixes issue with the autocast renderer not displaying the desired symbology
    • draw()
      • Fixes failure to correctly display custom symbology

arcgis.apps

  • dashboard
    • Fixes Data Source error with dashboard items created with widgets referencing hosted FeatureLayerCollections with multiple layers
    • Fixes BUG-000139238 where widget title displayed improperly
    • Fixes add_row() and add_column() to properly orient multiple widgets
    • Indicator
      • Fixes BUG-000142039 where add_filter() method returns Exception: Please provide "start" and "end" values as parameters for an widget
      • Fixes issue where dashboard created with default values would not open if item layer initialized in the widget did not have a field named FID
    • Addresses BUG-00138507 by updating the add_column() parameter table description

arcgis.learn

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