Visitar URL original
What's new in version 2.4.4 | ArcGIS API for Python | Esri Developer

New

  • New methods and objects added to arcgis.ai module
    • Accesses beta ArcGIS Online services for analyzing files, extracting text from images, transcribing audio files and generating synthesized speech
  • New Rust-powered arcgis-geometry package
    • Processes geometry object operations with a Rust engine for faster performance and more secure, reliable memory management
    • Installed by default in 2.4.4 environments adn requires no code updates
    • Client-side processing removes need to have the ArcPy library for some methods
  • New Module:
    • arcgis.gis.video
      • Provides classes, methods and properties for administration capabilities on ArcGIS Video Server
  • Beta Transtion
  • OfflineContentManager
    • Support for KnowledgeGraph items added to import and export methods
    • Support for running methods asynchronously to boost performance
  • arcgis.gis.graph
    • Support for Synchronization functionality added

Guides

Module Changes

arcgis.gis

  • Updates processing for private, internal functions to avoid unnecessary processing and private URL resolution
  • Public Repo Issue #2542 Adds warning messages when configuring environments specifically with gdal library
  • User
  • UserManager
    • New Methods:
      • all()
        • Adds ability to return all users when total in organization exceeds 10000
    • search()
      • Updates documentation note to specify number of users returned if no argument entered for query
      • Improves performance with updates to internal caching mechanism
  • ContentManager
    • create_service()
      • New Parameters:
        • groups - Works to share service with groups if access is set to shared in the item_properties
  • OfflineContentManager
    • Adds support for KnowledgeGraphs as items that can be exported and imported
    • export_items()
      • Updates internal logic to better define item structures to enable capability of export of most item types
      • New Parameters:
        • run_async
        • async_workers
    • import_content()
      • New Parameters:
        • run_async
        • async_workers
  • Item
    • publish()
      • BUG-000184773 Improves performance with removal of unnecessary internal processing calls
    • update()
      • New Parameters:
        • groups - Works to share service with groups if access is set to shared in the item_properties
  • SharingManager
  • ItemProperties
    • Updates to internal processing for more accurate conversion between data objects and reading of object values
  • ItemTypeEnum
    • Deprecates the TILES_PACKAGE_3D member in favor of new options
    • New Members:
      • TILES_PACKAGE_3D_GAUSSIAN
      • TILES_PACKAGE_3D_OBJECT
      • TILES_PACKAGE_3D_MESH
  • PortalDataStore
  • ViewManager
    • create_join_layer()
      • Adds reference documentation specifying return type
    • get_definitions()
      • Adds reference documentation specifying return value when operation is run on item that is not a view service
    • update()
      • Adds reference documentation specifying return value

arcgis.gis.admin

arcgis.gis.agonb

arcgis.gis.mission

  • LogManager
    • query()
      • Updates internal logic so start_time and end_time properly handle string and datetime.datetime values

arcgis.gis.nb

  • WebAdaptorManager
    • Adds code examples for properties and methods
    • config
      • Raises RuntimeError when the configuration update endpoint returns an unsuccessful or unexpected status response
  • WebAdaptor
    • Adds code examples for properties and methods
  • LogManager
    • query()
      • Updates internal logic so start_time and end_time properly handle string and datetime.datetime values
  • SiteManager
    • Adds code example for object initialization
  • Runtime
    • Adds initialization code example
    • Adds text and code examples to properties and methods
  • DirectoryManager
    • Adds explanation and object initialization code example

arcgis.gis.workflowmanager

arcgis.gis.video

arcgis.features

arcgis.features.analysis

  • Adds documentation for new return type when estimate=True for any functions that support it
  • Updates code examples to include import statements, data retrieval and other context before calling functions

arcgis.features.analyze_patterns

arcgis.features.managers

arcgis.features.enrich_data

arcgis.raster

  • ImageSource
    • Updates supported raster_type_name list:
      • Removes Aerial
      • Adds Altum, RedEdge
    • Adds support for spatial reference
  • RasterCollection
    • from_stac_api()
      • Enhances context parameter with 3 new options:
        • paginationMode
        • maxItems
        • maxPages
      • Enhances query parameter so that the bbox option accepts FeatureLayer and Geometry objects

arcgis.raster.analytics

arcgis.raster.functions.gbl

  • Numerous updates to API Reference documentation, particularly adding code examples for many functions

arcgis.raster.realitymapping

  • ArcGIS Reality Server product transitioned from beta to General Availability
    • note: Scripts written in 2.4.3 may need modified to accommodate necessary API changes based on overall product updates.
    • Mission
      • reconstruct_surface()
        • Updates to documentation to clarify output types
        • RAPID added as an option for the quality argument
        • New Parameters:
          • output_products
      • compute_sensor_model()
        • Updates documentation for the context parameter description

arcgis.network

arcgis.network.analysis

arcgis.geometry

  • Updates internal processing on object methods to use the new Rust-powered arcgis-geometry package
    • faster performance
    • more efficient memory management
    • more secure and reliable processing
  • Adds deprecation notice that Geometry objects will no longer inherit from the Python dictionary object, so bracket notation will no longer be supported

arcgis.graph

arcgis.layers

arcgis.map

arcgis.apps

arcgis.ai

arcgis.learn

arcgis.datapipelines

  • Adds support for using in ArcGIS Enterprise
    • Removes documentation references to product only being supported in ArcGIS Online

Fixes

Module Changes

arcgis.gis

  • GIS
    • Updates error messaging if entering a non-existent profile for the profile argument
  • Item
  • ContentManager
    • clone_items()
      • ENH-000178319 Updates method to preserve _content_status, delete protection, and migrate categories
    • create_service()
      • BUG-000186870 Fixes AttributeError: 'SharingGroupManager' object has no attribute 'update' error when setting access:shared in the item_properties argument. See new groups parameter for ContentManager.create_service() and Item.update()
  • User
    • Fixes issue in Jupyter Lab notebooks where code completion was not available
    • reassign_to()
      • BUG-000185255 Fixes issue where method inadvertently reassigned groups the user was a member of and not just groups owned by the user to the target_username
  • UserManager
    • search()
      • BUG-000183570 Fixes issue that more than 10000 users could not be returned by providing a new all() method
  • Folder
    • add()
      • BUG-000186625 Fixes issue where large file uploads were failing to configure valid item from all parts
      • Fixes UnboundLocalError for "calculate_upload_size" when setting stream=False
    • list()
      • Fixes issue iterating over items if any orphaned items are in the folder

arcgis.gis.admin

arcgis.gis.server

  • LogManager
    • query()
      • Fixes incorrect output when setting export=True while also not setting an out_path

arcgis.gis.agonb

arcgis.gis.mission

  • LogManager
    • query()
      • Fixes incorrect output when setting export=True while also not setting an out_path

arcgis.gis.nb

  • LogManager
    • query()
      • Fixes incorrect output when setting export=True while also not setting an out_path

arcgis.features

arcgis.features.managers

arcgis.features.analysis

  • Updates API Reference with code examples for numerous functions

arcgis.raster.realitymapping

  • ArcGIS Reality Server product transitioned from beta to General Availability
    • note: Scripts written in 2.4.3 may need modified to accommodate necessary API changes based on overall product updates.
    • Project
      • Fixes issue when using AERIAL_DIGITAL for the sensor_type argument
      • create_mission()
        • Fixes error where gis argument was not being read correctly
      • missions
        • Fixes TypeError: string indices must be integers, not 'str'` error when accessing property

arcgis.notebook

  • NotebookJob
    • running()
      • Fixes issue on ArcGIS for Kubernetes where a currently running job was returning False
  • get_secret()
    • Fixes internal processing for default value when returning Notebook secrets

arcgis.geometry

  • Fixes invalid literal ValueError when setting ARCGIS_IO_ENGINE to Shapely
  • centroid
    • Fixes issue where incorrect value was returned in ArcPy environments

arcgis.geoprocessing

  • import_toolbox()
    • Fixes failure to import toolboxes from ArcGIS Online that were created by Model Builder

arcgis.layers

arcgis.map

  • Improves performance with load times for:

arcgis.apps

  • storymap
    • Storymap
      • save
        • Fixes issue where typeKeywords property for items was not being update correctly
  • itemgraph
    • create_dependency_graph()
      • Updates handling of service URLs to create more accurate and comprehensive graphs
      • Updates processing to better distinguish between GUID and Item ID values
  • expbuilder
    • WebExperience
      • save()
        • BUG-000185104 Fixes issue where saving a cloned Experience item carried over the source-<item_id> keyword, causing subsequent clones of the original item to fail
  • survey123
    • Fixes issue in disconnected environments where create() and publish() calls were attempting to access external internet

arcgis.learn

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