New
- Optimizes performance throughout API through implemention of
LazyLoading - Adds support for ArcGIS StoryMaps
- See What's the Difference? for background on ArcGIS StoryMaps and Classic Esri Story Maps
- New Module for support of ArcGIS Online server functionality:
arcgis.gis.agoserver- Classes:
- provides restore/backup functionality
- schedules rebuilding of cache
- modifies and updates feature service content
- modifies multiple service properties
- New Package for enhanced and customizable security
arcgis.auth- Subpackage
arcgis.auth.tools- Submodules
- Submodules
- Subpackage
- optimizes security handling for multiple authentication schemes, including
PKIandIWA - allows for extension of authentication mechanism to customize authentication handlers
- allows for optimized generation of tokens to older Enterprise
Guides
- Feature data and analysis
- Working with the Spatially Enabled DataFrame
- Mapping and visualization
- Part 1 - Introduction to using the map widget
- Part 2 - Navigating the map widget
- Part 3 - Visualizing spatial data on the map widget
- Part 4 - Visualizing time enabled data on the map widget
- Part 5 - Saving, embedding and exporting the map widget
- Deep Learning with ArcGIS
Samples
- GIS analysts and data scientists
- Predicting voters turnout for US election in 2016 using AutoML - Part I
- Predicting voters turnout for US election in 2016 using AutoML and spatial feature engineering - Part II
- Forecasting Air Temperature in California using ResCNN model
- Classify land cover to measure shrinking lakes
- Count cars in aerial imagery using deep learning
- Detecting Mussel Farms using Deep Learning
- Org Administrators
Module Changes
arcgis.gis
GIS- Adds
expirationas an optional parameter to customize lifespan of a token User- Adds
expire_password()method - Addresses ENH-000137836 with
landing_pageproperty for customizing start page Group- Adds
application()method UserManager- Adds custom messaging to
invite()with newmessage_textparameter - Addresses ENH-000141984 with additional information in the parameter table descriptions for
user_typeandlevel ContentManagerimport_data()- Adds
service_nameparameter to control resulting service name
- Adds
add()
arcgis.gis.admin
arcgis.gis.server
LogManager- Adds ability for
query()to return more than 10,000 records
- Adds ability for
Server- Adds support for creating
Serverobject usingprofilekeyword
- Adds support for creating
ServiceManager- Addresses ENH-000142533 through support for
foldername in theJSONused for theserviceargument tocreate_service()
- Addresses ENH-000142533 through support for
ServicesDirectory- Adds documentation to clarify return values for the
list()method- NOTE: Adds clarification for differences in types returned by other module
list()methods
- NOTE: Adds clarification for differences in types returned by other module
- Adds documentation to clarify return values for the
DataStoreManagerfederate_data_item()- Adds
pathparameter
- Adds
arcgis.gis.nb
- New Classes:
arcgis.gis.workflowmanager
- Updates API to align with ArcGIS Enterprise 10.9.1 release
- New Class:
arcgis.features
- Removes the deprecated
SpatialDataFrameclass from the API.
NOTE: Code using this class will no longer work.
FeatureLayer- Adds
estimatesproperty to return various statistics about the layer
- Adds
GeoAccessor- Adds error logging to export methods (
to_featurelayer()andto_featureclass()) to report on rows that do not export correctly to_featurelayer()- Adds
service_nameparameter based on ArcGIS API for Python Community Idea to control name of output service - Adds
sanitize_columnsparameter
- Adds
- Adds error logging to export methods (
arcgis.features.analysis
- Adds
overwritefunctionality through thecontextargument for use in conjunction with theoutput_nameargument for all analysis tools use_proximity- Adds parameter table to
connect_origins_to_destinations
- Adds parameter table to
arcgis.features.managers
ParcelFabricManager- Adds
reassign_features_to_record()method - Adds
analyze_least_squares_adjustment()parameter table FeatureLayerCollectionManager- Addresses ENH-000122763 with support for
Tablestocreate_view() Versionreconcile()- Adds capability to run asysnchronously (using
futureargument) - Adds new parameters:
conflict_detectionfuture
- Adds capability to run asysnchronously (using
arcgis.raster
- Adds documentation for
folderparameter tosave()methods for: ImageryLayer- New Methods:
- New Properties:
- Adds
contextparameter support for: get_samples()- Adds support for
slice_idparameter
- Adds support for
query()- Adds support for
return_extent_onlyparameter
- Adds support for
- Adds
rendering_ruleparameter support for: - Adds support for the
envelopegeometry type as thegeometryargument
arcgis.raster.analytics
arcgis.raster.functions
- New Functions:
aggregate()- Optimizes performance when using
PERCENTILEas theaggregate_functionargument
- Optimizes performance when using
segment_mean_shift()- Adds new parameters:
boundaries_onlymax_num_pixels_per_segment
- Adds new parameters:
arcgis.raster.utils
upload_imagery_to_agol_userstore()- Adds support for
pjgandpzpformats
- Adds support for
arcgis.network
- RouteLayer
solve()- Adds new parameters:
return_traversed_edgesreturn_traversed_junctionsreturn_traversed_turnsgeometry_precisiongeometry_precision_zgeometry_precision_m
- Adds new parameters:
- ServiceAreaLayer
solve_service_area()- Adds new parameters:
geometry_precisiongeometry_precision_zgeometry_precision_m
- Adds new parameters:
- ClosestFacilityLayer
solve_closest_facility()- Adds new parameters:
return_traversed_edgesreturn_traversed_junctionsreturn_traversed_turnsgeometry_precisiongeometry_precision_zgeometry_precision_m
- Adds new parameters:
solve_od_cost_matrix- Adds new parameters:
geometry_precisiongeometry_precision_z
- Adds new parameters:
arcgis.geocoding
- Adds additional documentation to
batch_geocodeparameter descriptions and examples
arcgis.geometry
- Addresses ENH-000128519 to allow
union()to accept dictionary input forspatial_refargument
arcgis.geoprocessing
arcgis.mapping
- New Classes
VectorTileLayer- Adds
export_tiles()method
arcgis.realtime
- New Submodules
arcgis.realtime.velocity.feedsarcgis.realtime.velocity.input- New Classes
BasicAuthCertificateAuthNoAuth
arcgis.apps
- workforce module
Assignment- Adds ability for
asyncediting toupdate()if supported
- Adds ability for
- storymap module
- NEW VERSION: 2.0
- New classes to replace deprecated model:
StoryMapclass- Elements:
Image,Video,Audio,Embed,Map,Text,Button,Gallery,Swipe,Sidecar,Timeline
- New classes to replace deprecated model:
JournalStoryMap- Adds deprecation warning since this is replaced with new architecture
- NEW VERSION: 2.0
arcgis.learn
- Data Preparation Methods
- Adds
stratifyparameter option forprepare_textdata()andprepare_data()
- Adds
- Object Detection Models
- Adds
test_time_augmentationsupport
- Adds
- 3D Models
PointCNNpredict_h5- Updates internal class mapping so works with previous Living Atlas models
- Adds
class_confidence - Adds batch support
- Image Translation Models
- New Class:
Superresolution- Adds smooth blending
Pix2Pix- Adds documentation and raises an error that model only works with image tile sizes that are multiples of 256
- Pixel Classification Models
- Adds support for
test time augmentationandsmooth interpolation MultiTaskRoadExtractor- Adds support for variable tile sizes
Fixes
Guides
- Removal of empty cells in numerous guides
- Get Started
- Clarifies instructions in Understanding Conda
- Adds Update note in Installation for ArcGIS Pro 2.5.x and later section in Install and set up
- Deep Learning with ArcGIS
- Remove empty cells from Geospatial deep learning with arcgis.learn
- Object Detection Workflow with arcgis.learn
- Updates parameters in
export_training_data - Updates path in
prepare_data - Updates secton title: Once a model has been trained, it can be added to ArcGIS Enterprise as a deep learning package by passing publish=True parameter
- Updates parameters in
- Performing newtork analyses
- Updates to links and text in Part 6 - Solve Location Allocation
Samples
- GIS analysts and data scientists
- Corrects misspellings in Translating Story Map from one language to another using Deep Learning
- Updates broken link in Extracting Slums from Satellite Imagery in the An example of ArcGIS dashboard tracking slums cell
- Fixes broken data link to
naip_itemin Detecting Swimming Pools using Satellite Imagery and Deep Learning - Updates output links in Coastline classification using Feature Classifier
Module Changes
arcgis.gis
GIS- Fixes the passing of tokens for numerous operations when logging in using
OAuth2(usingclient_idparameter) - Updates error messaging when using
GIS("home")outside eitherArcGIS Pro,ArcGIS OnlineorNotebook Serverenvironments - Fixes an issue with refreshing the built-in token in cases when an error is raised if the
GISis inactive for over 30 minutes
- Fixes the passing of tokens for numerous operations when logging in using
ContentManageradvanced_search()- Fixes BUG-000136456 where incorrect paging occured with a large result
- Fixes BUG-000136242 where incorrect results returned when the
max_itemsparameter is greater than 100 - Changes
as_dictparameter description to Optional
clone_items()- Fixes Item id referencing in cloned results from
arcgis.apps.workforceVersion 2.0 Projects - Fixes failure when cloning an empty feature service having no extent
- Fixes failure when generalization of geometries is disabled
- Fixes Item id referencing in cloned results from
add()- Fixes bug when adding a
big data file shareitem type
- Fixes bug when adding a
GroupApplication- Fixes incorrect documentation for
decline()method
- Fixes incorrect documentation for
Item- Fixes
publish()failure forExcelasfile_typeargument (xlsxandxlsformat) - Fixes BUG-000128231 where
dependent_upon()ordependent_to()would return a maximum of 10 items - Removes unsupported
overwriteparameter fromexport(). Addresses ArcGIS API for Python Community Post. - Fixes
download(file_name='filename)to usefile_nameargument instead ofitemname - Fixes
display(Item)in Notebooks to uselocalefrom user's profile to format date values
- Fixes
UserManagerUserGroupremove_users()- Fixes
Public Repo #918so the description of required input matches that of the method
- Fixes
argis.env
active_gis- Fixes issue where values returns
Noneunder certain circumstances
- Fixes issue where values returns
arcgis.gis.admin
CreditManager- Fixes BUG-000137704 with new
time_frameparameter oncredit_usage()
- Fixes BUG-000137704 with new
Bundle- Fixes BUG-000127555 where
usersproperty returned all users instead of just those assigned the bundle
- Fixes BUG-000127555 where
EnterpriseUsers- Fixes BUG-000123480 where
create()fails when pre-creating accounts inArcGIS Enterprise
- Fixes BUG-000123480 where
WebhookManager- Fixes BUG-000137691 where
create()fails to use thenumber_of_failuresanddays_in_pastarguments
- Fixes BUG-000137691 where
Webhook- Fixes BUG-000137691 where
update()failed to alter thenumber_of_failuresanddays_in_pastcomponents of the deactivation policy
- Fixes BUG-000137691 where
System- Fixes BUG-000127575 where updates using
propertiesdo not occur
- Fixes BUG-000127575 where updates using
License
arcgis.gis.server
DataStoreManager- Fixes BUG-000128581 where
federate_data_item()returned aTypeError - Fixes
TypeError: takes 1 positional argument but 2 were givenerror with method
- Fixes BUG-000128581 where
ServerManager- Fixes BUG-000137276 where
get()fails withAttributeError
- Fixes BUG-000137276 where
DirectoryManager- Fixes BUG-000126996 where
all()fails to return newly added directories
- Fixes BUG-000126996 where
SystemManager- Updates
directoriesattribute to a property
- Updates
Server- Fixes BUG-000124523 with additional explanations and examples for initializing functioning objects
arcgis.features
FeatureLayerquery()- Fixes failure if
object_idsargument passed as a list of integers - Fixes
Public Repo #1069issue wherequery()method returnedAttributeErrorbecause method assumed existence ofobjectIdFieldproperty
- Fixes failure if
append()- Updates
upsertparameter default toFalsein method signature - Fixes parameter name inconsistency with
field_mappingsin parameter table
- Updates
GeoAccessor- akaSpatially Enabled DataFrame- Fixes BUG-000137005 where
project()returnsFalseat 1.9.1 when run with environments containingArcPy - Fixes
plot()failure when run on Spatial DataFrame created by chaining fromquery(as_df=True) - Fixes failure to raise an
Exceptionwhen usingto_featureclass(overwrite=False)when thefeature classexists - Fixes
Public Repo #293where all export methods (to_feature_collection(),to_featureclass(),to_featurelayer(),to_featureset(),to_table()) altered the calling Spatially Enabled DataFrame to_featurelayer()- Updates
titleparameter to optional - Fixes
Public Repo #1068where nonArcPyenvironment fails with anAttributeErrorwhen dataframe contains null geoemetries
- Updates
- Fixes
SystemErrorfailure withto_featureclass()in environments withArcPy - Fixes
validate()returning incorrect result aftersanitize_column_names()run on the dataframe
- Fixes BUG-000137005 where
FeatureLayerCollection- Fixes BUG-000134934 where
query_domains()fails withThe requested layer (layerId: queryDomains) was not found. (Error Code: 400)
- Fixes BUG-000134934 where
FeatureLayerCollectionupload()- Fixes failures in
ArcGIS Enterprisefor files larger than 9MB - Updates return value to an
item idvalue
- Fixes failures in
arcgis.features.managers
SyncManager- Fixes BUG-000130078 where
create()did not create a replica with th correct number of features iflayer_queriesargument was not provided - Fixes BUG-000143357 where
create(aysnc=True, wait=True)fails on checkingJobstatus
- Fixes BUG-000130078 where
ParcelFabricManagerdivide()- Updates parameters sent by internal request
- Updates parameter table
analyze_least_squares_adjustment()- Fixes parameter table
FeatureLayerCollectionManager- Fixes BUG-000136260 where
overwrite()of hostedTablesfailed withIndexError: list index out of range - Fixes BUG-000134349 where
overwrite()of a hostedFeatureLayeron an IWA-authenticated portal returned aToken Required (499)error - Fixes BUG-000126935 where
create_view()fails to read the origin hostedFeatureLayerpop-up configuration
- Fixes BUG-000136260 where
FeatureLayerManager- Fixes documentation BUG-000137578 by adding note on restrictions for
truncate()method
- Fixes documentation BUG-000137578 by adding note on restrictions for
Version- Fixes
Object has no schema lockerror withdifferences()method
- Fixes
AttachmentManager- Fixes
Error: Large attachment file is not allowederror with [add()](Error: Large attachment file is not allowed) when file size exceeds 10MB - Fixes
Public Repo #732wheresearch(as_df=True)crashes on aKeyErrorif the result has no attachments
- Fixes
arcgis.features.analysis
- Fixes various broken links within API reference documentation
overlay_typeparameter inoverlay_layers()
arcgis.raster
ImageryLayer- Fixes issue where
rendering_ruleandmosaic_rulewere not honored during initialization save()- Fixes
A general error occuredissue whenfor_vizisTrue
- Fixes
- Fixes issue where
RasterCollection- Fixes
ImportError: cannot import name 'median' from 'arcgis.raster.functions'when usingmedian() - Fixes issue where the
operatorandcalendar_fieldarguments of the following methods were case sensitive for objects created from a raster datastore
- Fixes
- Fixes issue where the engine was not set properly in
ArcPyenvironments
arcgis.raster.analytics
- Updates the description of the
percentile_interpolation_typeparameter for: copy_raster- Updates
md_to_uploadparameter name tosource_mosaic_dataset
- Updates
arcgis.raster.functions.gbl
zonal_statistics()- Updates link for additional information
- Updates the description of the
percentile_interpolation_type
arcgis.raster.utils
upload_imagery_to_agol_userstore()- Fixes
RuntimeError: No supported files to uploaderror with valid extensions likeidx,bundlx, andmid
- Fixes
arcgis.network
RouteLayer- Fixes issue with
solve()failing in an IWA-authenticated GIS
- Fixes issue with
arcgis.geoanalytics
data_enrichment- Fixes
AttributeErrorwhen callingcalculate_motion_statistics()
- Fixes
find_locations- Fixes situation where
AttributeErroroccurs when callinggeocode_locations()
- Fixes situation where
use_proximitytrace_proximity_events()- Updates
entity_id_fielddocumentation to a required parameter
- Updates
create_buffers()- Fixes
Both 'distance' and 'field' cannot be set at the same time.error when setting afieldargument
- Fixes
arcgis.geocoding
- Updates misspelling of
max_locationtomax_locationsin parameter table documentation forgeocode()
arcgis.geoenrichment
- Fixes
get_countries()parameter table documentation
arcgis.geometry
- Fixes missing parameter table for
distance()function Polygon- Fixes BUG-000128761 where feature created from
GeoJSONdid not properly handle rings with holes
- Fixes BUG-000128761 where feature created from
arcigs.geoprocessing
arcgis.mapping
- Working with 2D Maps
WebMapadd_layer()- Fixes BUG-000127077 when the Web Map definition's
operationalLayersitemIddiffers from theFeatureLayerid - Fixes issue where
itemused aslayerargument overwrites thelayername property with theitemtitle property
- Fixes BUG-000127077 when the Web Map definition's
- Utility Functions for Mapping
export_map()- Fixes BUG-000136046 where functions fails to properly construct necessary urls
arcgis.realtime
- Fixes misspellings in introductory description
FeedsManager- Fixes
itemsfailing withTypeErrorif user has no feed items
- Fixes
arcgis.widgets
MapViewadd_layer()- Fixes invalid token issue when using public image services
- Fixes issue with the
autocastrenderer not displaying the desired symbology
draw()- Fixes failure to correctly display custom symbology
arcgis.apps
dashboard- Fixes
Data Source errorwith dashboard items created with widgets referencing hostedFeatureLayerCollectionswith multiple layers - Fixes BUG-000139238 where widget
titledisplayed improperly - Fixes
add_row()andadd_column()to properly orient multiple widgets Indicator- Fixes BUG-000142039 where
add_filter()method returnsException: Please provide "start" and "end" values as parametersfor an widget - Fixes issue where
dashboardcreated with default values would not open if item layer initialized in the widget did not have a field named FID
- Fixes BUG-000142039 where
- Addresses BUG-00138507 by updating the
add_column()parameter table description
- Fixes
arcgis.learn
- Data Preparation Methods
- Fixes an issue with Classification (Feature(single label), Pixel and Text(single label)) models where the split for training and validation datasets was affecting results when data contained classes with a small numbrer of rows
- See
stratifykeyword inprepare_textdata()andprepare_data()
- See
prepare_data()- Fixes slow performance when
dataset_type="PASCAL_VOC_rectanges" - Fixes
TypeError label_list_from_func() missing 1 required positional argument: 'val_split_pct'issue when path contains multiple folders with multiple labeled tles
- Fixes slow performance when
prepare_tabulardata()- Fixes overwrite of the original dataframe for
MLModel
- Fixes overwrite of the original dataframe for
- Fixes an issue with Classification (Feature(single label), Pixel and Text(single label)) models where the split for training and validation datasets was affecting results when data contained classes with a small numbrer of rows
- Object Classification Models
FeatureClassifier- Fixes
AttributeError: _emdwhen saving checkpoints usingfit()orsave() - Fixes
IndexError: list index out of rangeerror withpredict(visualize=True)for Multilabel RGB.pngor.jpgformats
- Fixes
- Fixes errors with
save()method when object created with some types of data for: - Fixes
normalizationanddenormalizationissues by using updated statistics for:
- Pixel Classification Models
MMSegmentation- Fixes display of a solid black chip when inferencing in
ArcGIS Profrom model created with data containing non-contiguous classes - Fixes
KeyError: loss_segerror when callingfit()
- Fixes display of a solid black chip when inferencing in
- Feature, Tabular and Timeseries models
AutoML- Fixes
predict_proba()ifexplanatory variablesargument inprepare_tabulardata()contains atextfield - Fixes
ValueErrorwhen using a dataframe with 20 samples or fewer and aneval_metricargument ofr2. See note in API reference description foreval_metric. - Fixes failure of
from_model()when using dataframe with 20 samples or fewer - Fixes peformance issues generating EDA graphs when running with
mode="Compete" - Fixes
Key Error: '[number] not in index'withshow_results()
- Fixes
- Image Translation models
- Fixes issue where
working_dirargument inprepare_data()was not saving models in correct location for:
- Fixes issue where
- Object Detection Models
MaskRCNN- Fixes mismatches for labels and images in multifolder training