Showing content from https://developers.arcgis.com/python/latest/guide/release-notes-241/ below:
What's new in version 2.4.1.1 | ArcGIS API for Python
arcgis.gis
ContentManager
clone_items()
- Fixes incorrect output when cloning text based items
- Fixes errors when cloning content with WKT spatial references
- Fixes
_ItemCreateException
when cloning feature layers with editor tracking enabled
- BUG-000174140 Fixes failures when cloning Form items created in Survey123 Connect with editor tracking enabled
- BUG-000175735 Fixes issues where folder and search_existing_items arguments were not read correctly with StoryMap themes
- BUG-000174859 Fixes issue when cloning previously cloned ArcGIS Enterprise items to another ArcGIS Enterprise deployment
- Fixes issue when cloning Form items to ArcGIS on Kubernetes deployments
arcgis.gis.admin
arcgis.features
FeatureLayer
query()
- Fixes infinite looping and incorrect results when using result_record_count argument
arcgis.apps
arcgis.apps.itemgraph
create_dependency_graph()
- Updates error handling for corrupted content and accommodates larger number of items
- Updates internal processing to accommodate items which were incorrectly not written to output
- Fixes incorrect inclusion of items outside an organization for various graphs
import_list()
- Fixes error when importing views based on previously published feature layers
arcgis.apps.survey123
Survey
publish()
- Fixes
InvalidDefinition
error caused by incorrect definitions for EditorTrackinInfo
arcgis.learn
What's new in version 2.4.1 New
- Enhances documentation for arcgis.map module classes with type hinting
- New modules:
- See What's New in 2.4.1 for additional details
arcgis.apps
- arcgis.apps.itemgraph
- New module designed to allow for cloning between organizations when in disconnected environments. The module provides functions and classes to allow building dependency graphs for items and downloading them. The download contains all necessary information to upload the items into another deployment.
- Functions
- Classes
- New classes:
- OfflineContentManager
arcgis.graph
module
- See the API Reference for new data classes categorized by type that ensure valid inputs for the numerous specific types of objects that can be used as arguments for members within the module.
Guides
Samples
Module Changes arcgis.gis
GIS
- Adds support for login profiles to cache OAuth refresh tokens, supporting persistent authentication of 3rd party identity providers
Item
- New properties:
- New methods:
move()
- Adds support for Folder objects
content_status
- BUG-000170973 - Updates documentation for available options and adds link to requirements
download()
- Adds validation and internal processing to improve performance
register()
ContentManager
import_table()
- Adds support for folder parameter
analyze()
- Adds documentation note to file_type parameter that geojson support is available for ArcGIS Online
add()
- Adds note about support for overwrite
Folders
Folder
add()
- New parameter
- upload_file_size - to support user import for larger part size for large files
- stream - to support rare casses when ArcGIS Enterprise does not allow streaming uploads
delete()
- Adds documenation for return value
UserManager
User
delete()
- Updates warning message when attempting to delete a User who still owns items
folders
- Updates reference documentation with code snippet
items()
- Updates reference documentation with explanation and code snippet
GroupMigrationManager
OrgRecycleBin
- Adds reference documentation and code snippets for content() method
ViewManager
- Adds code snippet for initialization and updates reference documentation for methods
arcgis.gis Enumerations
arcgis.gis Dataclasses
SpatialFilter
- Updates documentation with code snippets and explanation
- Adds ability to import directly
arcgis.gis.admin
arcgis.gis.server
arcgis.gis.agonb
arcgis.gis.workflowmanager
arcgis.gis.tasks
- Adds code snippets and formatting for all members
- New properties:
arcgis.features
FeatureLayer
query()
- Improves performance by adding multiprocessing and parameter refinement internally
edit_features()
- Updates reference documentation with examples of returned values
append()
- Updates reference documentation with notes for further reading and how to find supported formats
- Spatially Enabled DataFrame -
GeoAccessor
- Adds documentation on how to control spatial processing engine for applicable methods
plot()
- Adds check to use existing renderer if present in DataFrame
OrientedImageryLayer
- Adds Table of Contents heading and documentation
arcgis.features.analysis
find_point_clusters()
- Updates documentation with version availability information for time_field, search_time_interval, and search_time_unit parameters
arcgis.features.managers
arcgis.raster.functions
arcgis.notebook
arcgis.geometry
SpatialReference
- Adds support for wkt2 format when initializing object
- Updates internal inheritance to remove unnecessary members from objects
arcgis.graph
arcgis.layers
arcgis.apps
- New Module:
storymap
- New Enumerations:
- Adds new parameters make_copyable and no_seo to save() methods for following classes:
Image
Map
expbuilder
arcgis.learn
- Adds dlpk support to TimeSeries models
- Adds wavelength parameter to support vit-based Dynamic One-For-All backbones to:
- DeepLab, FasterRCNN, MaskRCNN, SingleShotDetector, FeatureClassifier, HEDEdgeDetector
- Adds mixed_precision training for:
- SingleShotDetector, RetinaNet, FAsterRCNN, YOLOv3, RTDetrV2
- Data Preparation Methods
- Automated Machine Learning
AutoDL
- Adds RTDetrV2, SamLoRA, and Mask2Former as options for network argument
- Object Classification Models
- 3D Models
- Feature, Tabular, and Timeseries models
- Enhances exception messaging if attempting to load older, incompatible models
MLModel
- Implements the tabpfn model as option for model_type
- Raster Time Series Models
PSETAE
- Adds backbone=None upon initialization
- Model Management
- New class:
train_model()
- Adds support for cloud store paths as the output_name argument
Fixes
- Public Repo #2166 - Updates exception handling to include missing class so complete messaging appears
Guides
- Updates to numerous guides for Map methods
Samples
Module Changes arcgis.gis
GIS
- BUG-000173116 - Fixes
KeyError
regaring role values when initializing with a public account
- Fixes issue with recursion occurring on objects created using the generate token endpoint
- Fixes population of internal User information for connections, such as using API Key, do not have explicit user
- Fixes incorrect URL used for initialization with "home" keyword in a Notebook Server notebook
- Fixes issues with initialization of objects using OAuth:
- Fixes issue with duplicate imports leading to failures with interactive OAuth authorization
- Fixes incorrect
SSLError
returned when initializing with publicly defined certificate
Item
- BUG-000171384 - Fixes error where tables property returned empty list when item is a Map Service
- Fixes error when accessing layers in ArcGIS Notebooks using "home" authentication
download()
- Fixes failures to download json structure for specific item types, such as Web Experiences, lacking specific headers
publish()
- Public Repo Issue #2152 - Fixes incorrect behavior of waiting for job to finish on asynchronous operation
- Fixes issue where Date Only fields were not handled appropriately
remap_data()
- Fixes incorrect results issue with force=True if services had differing number of layers
update()
- BUG0-000172092 - Fixes issue where thumbnail was being overwritten
GroupManager
clone()
- Fixes
KeyError: 'membershipAccess'
when cloning between ArcGIS Online organization
Group
update()
- Fixes
TypeError...unexpected keyword argument 'auto_join'
error
GroupMigrationManager
load()
- Fixes "Item does not exist error" on job result when items within the EPK item are skipped or fail to import
SharingGroupManager
list()
- Fixes situation where only 5 groups were being returned regardless of whether item was shared with more
ContentManager
- clone_items()
- Public Repo Issue #2146 - Fixes issue where features failed to clone if layer id is not 0
- BUG-000171865 - Fixes issue where only first item clones when cloning multiple dashboard items simultaneously
- Public Repo Issue #1872 - Fixes
IndexError
when cloning items with an empty string as the name value
- Fixes error when cloning items referencing services whose associated item has been deleted
- Fixes issue with results not added after cloning Quick Capture items
- Public Repo Issue #2147 - Fixes ItemCreateException when attempting to clone multiple items with copy_global_ids=True if any of the items do not contain global_id values
- Public Repo Issue #2151 - Fixes error when cloning tile layer items using the copy_data=False argument failed with ItemCreateException
- Fixes issue where copy_data=False was incorrectly creating hosted service items
Folder
add()
- Fixes issue where Date Only fields were not handled appropriately
- Fixes empty results when adding Geoprocessing Service item if url is in the dictionary used for item_properties argument
UserManager
- create()
- Fixes Unable to create <user_name> error on ArcGIS for Kubernetes deployments if New Member Defaults are not set
User
- BUG-000173279 - Changes how users are initialized when returned in searches so that the role property hydrates with custom role names
items()
- Fixes issue where incorrect total number of results returned
APIKey
update()
- BUG-000170593 - Fixes Error Code 500 issue when update privileges on the APIKey
ViewManager
create()
- Updates documentation for set_item_id parameter to note suppported platform and version
RoleManager
clone()
- Fixes
AttributeError
regarding no name attribute
arcgis.gis Dataclasses
SpatialFilter
as_json()
- Fixes
UnboundLocalError
because internal Spatial Reference variable handled incorrectly
arcgis.gis.admin
arcgis.gis.server
DataStoreManager
validate()
- BUG-000172692 - Fixes incorrect return value of False on valid datastores
Service
- Fixes missing documentation
Server
- Fixes
AttributeError
when initiliazing using the portal_connection argument
LogManager
query()
- Fixes issue where no results are returned if end_time argument provided as a string
arcgis.features
FeatureLayer
query()
- Fixes
Cannot access local variable
error if only OBJECTID field is set in out_fields argument
- BUG-000171499 - Fixes issue with incorrect number of results returned on referenced services with result_record_count argument
edit_features()
- Fixes
Invalid 'editsUploadFormat' parameter
error when running asynchronously on ArcGIS Enterprise
- Spatially Enabled DataFrame -
GeoAccessor
insert_layer()
- Fixes issue on ArcGIS Enteprise where layer schema was inserted but features were not
to_featureclass()
- BUG-000171826 - Fixes issue where null values for Int32 or Float64 datatypes were converted to strings
to_featurelayer()
- Fixes
AttributeError: 'GIS' object has not attribute 'is_arcgisonline'
error
- Fixes
Overwrite unsuccessful
error and messaging when originated from a FeatureSet
- Updates internal processing to improve performance on large files
compare()
from_featureclass()
- Fixes
TypeError
when location argument is an arcpy.mp.Layer object
- Fixes
KeyError
when using a subset for the fields argument in arcpy environments
- Public Repo Issue #2241 - Fixes issues with reading projection information incorrectly depending upon avaialble Geometry Engines
from_layer()
- Fixes issue with duplicate records returned on Feature Layer objects hosted in ArcGIS Enteprise created with this method
FeatureCollection
from_featureset()
- Updates url endpoint for Esri Symbol Page link in symbol parameter description
arcgis.features.managers
FeatureLayerCollectionManager
- Fixes
AttributeError: 'dict' object has no attribute 'result'
errors with definition calls to ArcGIS Online
update_definition()
- Fixes
Invalid definition
error when updating editorTrackingInfo
create_view()
- BUG-000169543 - Fixes
PropertyMap instance has no _serviceItemId_
error on ArcGIS Enterprise resulting in an empty view
overwrite()
- BUG-000173138 - Fixes
Error getting Item Info from Datastore
error when using on hosted tables published from service definition files
FeatureLayerManager
- Fixes issue where layer failed to refresh after calls updating the definition
AttachmentManager
count()
- Fixes
KeyError: 'count'
when calling method
search()
- Fixes situation where all records were returned instead of specific results
arcgis.raster.orthomapping
Project
- Fixes issue where gis argument was not used for initialization
arcgis.geoenrichment
encrich()
- BUG-000171775 - Fixes
AttributeError
with the KeyFacts data collection
arcgis.geometry
- BUG-000173067 - Fixes issue where importing "*" from module overrides GIS object
Geometry
arcgis.layers
arcgis.map
MapContent
add()
- Fixes issue where FeatureSets were not displaying if OBJECTID field was not in the fields list
PopupManager
- Updates support for working with table objects
arcgis.apps
survey123
Survey
publish()
- Fixes 500 Error with Spatial Reference WKIDs when publishing on ArcGIS Enteprise
- Fixes
Invalid definition
error when publishing
update_report_template()
- Fixes
TypeError
when using operation
workforce
storymap
Table
- Fixes issue where strings were not being accepted as input for cells
Briefing
copy_content()
- Fixes issue where Briefing objects and _express map dependents were not copied correctly into second briefing
expbuilder
WebExperience
- Fixes error when initializing on ArcGIS Enteprise if the gis object created from a url ending in "/home"
upload()
- Fixes error with offline Experiences with no image resource file
arcgis.learn
- Deprecates the overwrite parameter in
save()
methods for all models
- Fixes overutilization of GPU memory during inferencing for numerous models
- Fixes
ValueError
when using Language Pack to classify pixels
- Fixes
URLError
when usig _from_model() to load models if the torch cache is cleared or unavailable
- Fixes issue with weight loading on Prithvi models
- Fixes issue with output not appearing in notebooks if models are trained before optimized with lr_find()
- Data Preparation Methods
prepare_data()
- Fixes error with ClimaX data on Linux Operating Systems
- Fixes
WellKnownBandNames
error if the EMD key is not available
- Fixes
AssertionError
when using ClimaX models for forecasting monthly
- Updates vague description for path argument to clarify when lists are necessary
prepare_textdata()
- Updates class_mapping parameter description with applicability information
- Automated Machine Learning
AutoDL
- Adds RTDetrV2, SamLoRA, and Mask2Former as options for network argument
- Deprecates support for OCRNet as option for network argument
fit()
- Fixes issue when using default backbone in advanced mode
AutoML
- Fixes error training models because of hard-coded extraneous data
- Object Classification Models
- Object Detection Models
RetinaNet
- Fixes training and optimization crashes on machines with only a CPU
- Pixel Classification Models
- Fixes incorrect NoData cells display issue with show_results() on Multispectral edge detection models
BDCNEdgeDetector
- Fixes
RuntimeError
when training or optimizing with specific timm backbones
MMDetection
fit()
- Fixes
RuntimeError
failure when training with _mixed_precision
DETReg
lr_find()
- Fixes
RuntimeError
when called with mixed_precision
MultiTaskRoadExtractor
- Fixes training and optimization
RuntimeErrors
on initial run with models initialized from linknet backbones
- Deprecates support for using linknet backbones with multiple GPUs
- Image Translation Models
WNet_cGAN
lr_find()
- Fixes
Out of memory
error when using data prepared with batch_size=None
- 3D Models
SQNSeg
fit()
- Fixes NaN validation errors and training losses with _mixed_precision
- Object Tracking Models
SiamMask
save()
- Fixes
AssertionError
when called on models trained with mixed_precision
- Feature, Tabular, and Timeseries models
- Fixes
AttributeError
caused by Pandas datetime on TimeSeries models when using show_results() or show_batch()
MLModel
from_model()
- Fixes
Invalid data type
error when setting emd_path to a Deep Learning Package item
- Fixes
AttributeError
stemming from version mismatch with sklearn when loading from older models in emd_path argument
predict()
- Fixes
TypeError
when explain=True on Tree-based models
- Fixes
ValueError
when mitigating with fairness arguments on Regression models
- Raster Time Series Models
ClimaX
- Fixes inferencing failures on models trained with multidimensional data in ArcGIS Pro
PSETAE
- Fixes
NotADirectory
error and issue dropping last point when training
from_model()
- Fixes
TypeError
when loading from model trained with mixed_precision
- Unstructured Text Models
- Inferencing Methods
classify_objects()
- Fixes
RuntimeError
when a partial input feature is selected during extent setting
- Model Management
train_model()
- Fixes
ZeroDevisionError
if batch size is larger than the number of chips in the data
- Fixes intermittend job crashes when run on ArcGIS Enterprise on Linux
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4