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
PKI
andIWA
- 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
expiration
as an optional parameter to customize lifespan of a token User
- Adds
expire_password()
method - Addresses ENH-000137836 with
landing_page
property for customizing start page Group
- Adds
application()
method UserManager
- Adds custom messaging to
invite()
with newmessage_text
parameter - Addresses ENH-000141984 with additional information in the parameter table descriptions for
user_type
andlevel
ContentManager
import_data()
- Adds
service_name
parameter 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
Server
object usingprofile
keyword
- Adds support for creating
ServiceManager
- Addresses ENH-000142533 through support for
folder
name in theJSON
used for theservice
argument 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
DataStoreManager
federate_data_item()
- Adds
path
parameter
- 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
SpatialDataFrame
class from the API.NOTE: Code using this class will no longer work.
FeatureLayer
- Adds
estimates
property 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_name
parameter based on ArcGIS API for Python Community Idea to control name of output service - Adds
sanitize_columns
parameter
- Adds
- Adds error logging to export methods (
arcgis.features.analysis
- Adds
overwrite
functionality through thecontext
argument for use in conjunction with theoutput_name
argument 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
Tables
tocreate_view()
Version
reconcile()
- Adds capability to run asysnchronously (using
future
argument) - Adds new parameters:
conflict_detection
future
- Adds capability to run asysnchronously (using
arcgis.raster
- Adds documentation for
folder
parameter tosave()
methods for: ImageryLayer
- New Methods:
- New Properties:
- Adds
context
parameter support for: get_samples()
- Adds support for
slice_id
parameter
- Adds support for
query()
- Adds support for
return_extent_only
parameter
- Adds support for
- Adds
rendering_rule
parameter support for: - Adds support for the
envelope
geometry type as thegeometry
argument
arcgis.raster.analytics
arcgis.raster.functions
- New Functions:
aggregate()
- Optimizes performance when using
PERCENTILE
as theaggregate_function
argument
- Optimizes performance when using
segment_mean_shift()
- Adds new parameters:
boundaries_only
max_num_pixels_per_segment
- Adds new parameters:
arcgis.raster.utils
upload_imagery_to_agol_userstore()
- Adds support for
pjg
andpzp
formats
- Adds support for
arcgis.network
- RouteLayer
solve()
- Adds new parameters:
return_traversed_edges
return_traversed_junctions
return_traversed_turns
geometry_precision
geometry_precision_z
geometry_precision_m
- Adds new parameters:
- ServiceAreaLayer
solve_service_area()
- Adds new parameters:
geometry_precision
geometry_precision_z
geometry_precision_m
- Adds new parameters:
- ClosestFacilityLayer
solve_closest_facility()
- Adds new parameters:
return_traversed_edges
return_traversed_junctions
return_traversed_turns
geometry_precision
geometry_precision_z
geometry_precision_m
- Adds new parameters:
solve_od_cost_matrix
- Adds new parameters:
geometry_precision
geometry_precision_z
- Adds new parameters:
arcgis.geocoding
- Adds additional documentation to
batch_geocode
parameter descriptions and examples
arcgis.geometry
- Addresses ENH-000128519 to allow
union()
to accept dictionary input forspatial_ref
argument
arcgis.geoprocessing
arcgis.mapping
- New Classes
VectorTileLayer
- Adds
export_tiles()
method
arcgis.realtime
- New Submodules
arcgis.realtime.velocity.feeds
arcgis.realtime.velocity.input
- New Classes
BasicAuth
CertificateAuth
NoAuth
arcgis.apps
- workforce module
Assignment
- Adds ability for
async
editing toupdate()
if supported
- Adds ability for
- storymap module
- NEW VERSION: 2.0
- New classes to replace deprecated model:
StoryMap
class- 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
stratify
parameter option forprepare_textdata()
andprepare_data()
- Adds
- Object Detection Models
- Adds
test_time_augmentation
support
- Adds
- 3D Models
PointCNN
predict_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 augmentation
andsmooth 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_item
in 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_id
parameter) - Updates error messaging when using
GIS("home")
outside eitherArcGIS Pro
,ArcGIS Online
orNotebook 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
- Fixes the passing of tokens for numerous operations when logging in using
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
- Fixes Item id referencing in cloned results from
add()
- Fixes bug when adding a
big data file share
item type
- Fixes bug when adding a
GroupApplication
- Fixes incorrect documentation for
decline()
method
- Fixes incorrect documentation for
Item
- Fixes
publish()
failure forExcel
asfile_type
argument (xlsx
andxls
format) - Fixes BUG-000128231 where
dependent_upon()
ordependent_to()
would return a maximum of 10 items - Removes unsupported
overwrite
parameter fromexport()
. Addresses ArcGIS API for Python Community Post. - Fixes
download(file_name='filename)
to usefile_name
argument instead ofitem
name - Fixes
display(Item)
in Notebooks to uselocale
from user's profile to format date values
- Fixes
UserManager
User
Group
remove_users()
- Fixes
Public Repo #918
so the description of required input matches that of the method
- Fixes
argis.env
active_gis
- Fixes issue where values returns
None
under certain circumstances
- Fixes issue where values returns
arcgis.gis.admin
CreditManager
- Fixes BUG-000137704 with new
time_frame
parameter oncredit_usage()
- Fixes BUG-000137704 with new
Bundle
- Fixes BUG-000127555 where
users
property 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_failures
anddays_in_past
arguments
- Fixes BUG-000137691 where
Webhook
- Fixes BUG-000137691 where
update()
failed to alter thenumber_of_failures
anddays_in_past
components of the deactivation policy
- Fixes BUG-000137691 where
System
- Fixes BUG-000127575 where updates using
properties
do 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 given
error 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
directories
attribute to a property
- Updates
Server
- Fixes BUG-000124523 with additional explanations and examples for initializing functioning objects
arcgis.features
FeatureLayer
query()
- Fixes failure if
object_ids
argument passed as a list of integers - Fixes
Public Repo #1069
issue wherequery()
method returnedAttributeError
because method assumed existence ofobjectIdField
property
- Fixes failure if
append()
- Updates
upsert
parameter default toFalse
in method signature - Fixes parameter name inconsistency with
field_mappings
in parameter table
- Updates
GeoAccessor
- akaSpatially Enabled DataFrame
- Fixes BUG-000137005 where
project()
returnsFalse
at 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
Exception
when usingto_featureclass(overwrite=False)
when thefeature 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 nonArcPy
environment fails with anAttributeError
when dataframe contains null geoemetries
- Updates
- Fixes
SystemError
failure 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
FeatureLayerCollection
upload()
- Fixes failures in
ArcGIS Enterprise
for files larger than 9MB - Updates return value to an
item id
value
- Fixes failures in
arcgis.features.managers
SyncManager
- Fixes BUG-000130078 where
create()
did not create a replica with th correct number of features iflayer_queries
argument was not provided - Fixes BUG-000143357 where
create(aysnc=True, wait=True)
fails on checkingJob
status
- Fixes BUG-000130078 where
ParcelFabricManager
divide()
- Updates parameters sent by internal request
- Updates parameter table
analyze_least_squares_adjustment()
- Fixes parameter table
FeatureLayerCollectionManager
- Fixes BUG-000136260 where
overwrite()
of hostedTables
failed withIndexError: list index out of range
- Fixes BUG-000134349 where
overwrite()
of a hostedFeatureLayer
on an IWA-authenticated portal returned aToken Required (499)
error - Fixes BUG-000126935 where
create_view()
fails to read the origin hostedFeatureLayer
pop-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 lock
error withdifferences()
method
- Fixes
AttachmentManager
- Fixes
Error: Large attachment file is not allowed
error with [add()
](Error: Large attachment file is not allowed) when file size exceeds 10MB - Fixes
Public Repo #732
wheresearch(as_df=True)
crashes on aKeyError
if the result has no attachments
- Fixes
arcgis.features.analysis
- Fixes various broken links within API reference documentation
overlay_type
parameter inoverlay_layers()
arcgis.raster
ImageryLayer
- Fixes issue where
rendering_rule
andmosaic_rule
were not honored during initialization save()
- Fixes
A general error occured
issue whenfor_viz
isTrue
- Fixes
- Fixes issue where
RasterCollection
- Fixes
ImportError: cannot import name 'median' from 'arcgis.raster.functions'
when usingmedian()
- Fixes issue where the
operator
andcalendar_field
arguments 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
ArcPy
environments
arcgis.raster.analytics
- Updates the description of the
percentile_interpolation_type
parameter for: copy_raster
- Updates
md_to_upload
parameter 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 upload
error 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
AttributeError
when callingcalculate_motion_statistics()
- Fixes
find_locations
- Fixes situation where
AttributeError
occurs when callinggeocode_locations()
- Fixes situation where
use_proximity
trace_proximity_events()
- Updates
entity_id_field
documentation to a required parameter
- Updates
create_buffers()
- Fixes
Both 'distance' and 'field' cannot be set at the same time.
error when setting afield
argument
- Fixes
arcgis.geocoding
- Updates misspelling of
max_location
tomax_locations
in 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
GeoJSON
did not properly handle rings with holes
- Fixes BUG-000128761 where feature created from
arcigs.geoprocessing
arcgis.mapping
- Working with 2D Maps
WebMap
add_layer()
- Fixes BUG-000127077 when the Web Map definition's
operationalLayers
itemId
differs from theFeatureLayer
id - Fixes issue where
item
used aslayer
argument overwrites thelayer
name property with theitem
title 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
items
failing withTypeError
if user has no feed items
- Fixes
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 hostedFeatureLayerCollections
with multiple layers - Fixes BUG-000139238 where widget
title
displayed 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 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
- 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
stratify
keyword 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: _emd
when saving checkpoints usingfit()
orsave()
- Fixes
IndexError: list index out of range
error withpredict(visualize=True)
for Multilabel RGB.png
or.jpg
formats
- Fixes
- Fixes errors with
save()
method when object created with some types of data for: - Fixes
normalization
anddenormalization
issues by using updated statistics for:
- Pixel Classification Models
MMSegmentation
- Fixes display of a solid black chip when inferencing in
ArcGIS Pro
from model created with data containing non-contiguous classes - Fixes
KeyError: loss_seg
error when callingfit()
- Fixes display of a solid black chip when inferencing in
- Feature, Tabular and Timeseries models
AutoML
- Fixes
predict_proba()
ifexplanatory variables
argument inprepare_tabulardata()
contains atext
field - Fixes
ValueError
when using a dataframe with 20 samples or fewer and aneval_metric
argument 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_dir
argument 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