New
- Adds
ujsonlibrary as a dependency for JSON parsing to improve performance
New Guides
- Working with geometries
- Enriching GIS data with Thematic Information
- Data Engineering Guides
- Install and set up
- Reconfigures Guide into:
- Deep Learning with ArcGIS
New Samples
- Org Administrators
- Clone StoryMap Version 2
- GIS Analysts and Data Scientists
- Prediction of energy generation from Solar Photovoltaic Power Plants using weather variables
- Detection of electric utility features and vegetation encroachments from satellite images using deep learning
- River Turbidity Estimation using Sentinel-2 data
- Mapping Infrastructural Damage due to Beirut Blast
- Coastline extraction using Landsat-8 multispectral imagery and band ratio technique
- Identifying country names from incomplete house addresses
- SAR to RGB image translation using CycleGAN
- Creating building models using point cloud classification
- Automatic road extraction using deep learning
arcgis.gis
- Adds
Workflow Managersubmodule - Adds support for
API Keyauthentication toGIS()object withapi_keykeyword - Adds
trust_envkeyword toGIS() - Adds
python-certifi-win32to API dependencies so certificates from the Windows certificate store are used byGIS UserManager- Adds code example for
roleparameter oncreate()documentation ContentManager- Adds support for
Workforce Version 2 Projectstoclone_items() - Adds
generate()method to create features fromCSV,shapefile,GPX, andGeoJSONfiles Group- Adds
search()method for searching group content add_users()- Adds
adminsparameter - Adds default value to
usernamesparameter
- Adds
- Adds
delete_group_thumbnail()method ResourceManager- Adds
export()method - Adds
accessparameter toadd()method - Updates
remove()fileparameter so if not specifed alldependenciesare removed DataStoreManager- Adds check to ensure
validate()returnsBooleanresult DataStore- Adds check to ensure
regenerate()returnsBooleanresult - Adds logic for application login with
client_idandclient_secret
arcgis.gis.admin
- Adds
generate_report()method toAGOLUsageReportsfor organizational usage monitoring
arcgis.gis.server
- Adds
propertiestoServerManager - allows publisher role the ability to obtain server ID information needed for datastore registration (
Enterprise 10.9) - Adds
Extensiondocumentation to APi Reference ReportManager- Adds code example to
create() - Adds code example to
quick_report()
arcgis.env
- Adds environment variables:
union_dimensionmatch_variables
arcgis.features
FeatureLayer- Adds note to
edit_features()to use only for small batches of edits - Adds
query_analytics()method for ArcGIS Online Hosted Layers only (ArcGIS Enterprisesupport forthcoming) Spatially Enabled DataFrame- Adds
from_feather()method forfeather format files FeatureLayerCollection- Adds code example to
extract_changes()API Reference - Adds
return_editsparameter toValidationManager.update_error()
arcgis.features.analysis
analyze_patternsfind_point_clusters()- Adds documentation
summarize_datasummarize_within()- Adds parameters:
bin_typebin_sizebin_size_unit
manage_datarun_python_script()forEnterprise 10.9- Adds parameters:
param_as_input
arcgis.features.managers
Versiondifferences()method- adds
momentsparameter - adds parameter table
- adds
- Adds
restore()method AttachmentManagerParcelFabricManager- Adds methods:
arcgis.raster
Raster- Adds new properties:
RAT
- Adds new methods:
get_colormap()set_colormap()get_statistics()set_statistics()get_histograms()set_histograms()append_slices()set_variable_attributes()summarize()
ImageryLayer- Adds
tiles_onlyproperty - Adds
render_tilesonly_layermethod - Raises errors for
propertiesandmethodsnot supported byTilesOnlylayers colormap()- Adds parameters:
rendering_rulevariable
- Adds parameters:
- Adds
get_histograms()method - Adds
statistics()method - Adds
RasterInfoClass
arcgis.raster.analytics
- Enhances API to utilize the hosted imagery and raster analysis capabilities available with the June 2020 ArcGIS Online
- Adds
tiles_onlykeyword argument to functions build_multidimensional_transpose()- Adds new parameter:
delete_transpose(Parameter available in ArcGIS Image Server 10.9 or higher)summarize_raster_within()- Adds new parameter:
percentile_interpolation_type(Parameter available in ArcGIS Image Server 10.9 or higher)- Enhanced the following functions to accept local datasets to create hosted imagery layers
create_image_collection()copy_raster()- Adds
merge_multidimensional_rasters()function (requires ArcGIS Image Server 10.9 or higher) calculate_density()- Adds
input_barriersparameter (requires in ArcGIS Image Server 10.9 and higher) optimal_path_as_line()- Adds
create_network_pathsparameter (requires in ArcGIS Image Server 10.9 and higher)
arcgis.raster.functions
- Adds new functions:
- detect_change_using_change_analysis_raster
- trend_to_rgb
- apparent_reflectance
- buffered
- rasterize_features
- reproject
- heat_index
- wind_chill
- aspect_slope
- contour
- compute_change
- aggregate
- bai
- nbr
- ndbi
- ndmi
- ndsi
- mndwi
band_arithmetic()- Adds new options for method:
- BAI
- NBR
- NDBI
- NDMI
- NDSI
- MNDWI
generate_trend()- Adds options for
regression_typeparameter:MANN-KENDALLSEASONAL-KENDALL
- Adds new parameter:
seasonal_period
focal_statistics()- Adds new options for
stat_type:- Median
- Majority
- Minority
composite_band()- Adds
cellsize_typeparameter geometric()- Adds new parameters:
tolerancedem
arcgis.raster.functions.gbl
- Adds new functions:
boundary_clean()(Parameter available in ArcGIS Image Server 10.9 or higher)zonal_statistics()- Adds new parameter:
percentile_interpolation_type(Parameter available in ArcGIS Image Server 10.9 or higher)kernel_density()- Adds
in_barriersparameter (Parameter available in ArcGIS Image Server 10.9 and higher)
argis.raster.functions.RFT
- Enhanced module to work with ArcGIS Online
arcgis.geoanalytics
summarize_datasubmodule- Adds time stepping parameters to
summarize_attributes()for10.9+releasestime_step_intervaltime_step_interval_unittime_step_repeat_intervaltime_step_repeat_interval_unittime_step_reference
- Adds time stepping parameters to
arcgis.geometry.functions
- Adds missing api reference documentation
arcgis.mapping
- Adds new classes
MapServiceLayerMapFeatureLayerMapRasterLayerMapTable- Adds support for polygons to the
extentparameter ofOfflineMapAreaManager.create() WebMap- Adds
get_layer()method - Adds
get_table()method - Adds support for setting a
basemapto the following layer types: (SeeWebMap Specification operationalLayers):ImageServiceVectorLayerVectorTileLayerWebTiledLayerWMSLayer
- Adds ability to allow user-defined extent in
save()
arcgis.mapping.ogc
GeoJSONLayer- Adds
dataparameter to allow plotting from a string or local file
arcgis.widgets
- Updates
MapViewto useJavaScript 4.17 - Adds note to
MapViewdocumentation clarifying proper configuration to avoid variousCORSerrors - Addresses many browser connection errors with the
gis.map()functionality - Example: BUG-000124898 - IWA authenticated portals returning authentication error
- Changes default basemap for anonymous access to the
OSM Basemap - Adds
embed()function to enable a live, interactive map widget in exported HTML notebooks - Adds
map widgetsupport toJupyterLab2.x releases - Adds
map widgetto extensions that can be installed withJupyterLab Extension Manager - Adds support for visualizing
SceneLayertypes PointCloudLayerPoint3DLayerObject3DLayerIntegratedMeshLayerBuildingLayer
arcgis.apps
- Adds new
Dashboardsubmodule - Adds new
urlbuilders: build_workforce_urlbulld_field_maps_url- Adds
updateFeaturesupport as option foractionsparameter inbuild_collector_url Workforce- Adds logic to enforce
integrationswith the same id both have assignment types - Adds logic enforcing layer and table order of feature service when created
- Adds validation logic to the
Assignmentclass forpriorityparameter
arcgis.learn
- New Table of Contents structure: (new classes and functions at 1.8.3 listed here)
Data Preparation MethodsObject Classification MethodsObject Detection ModelsPixel Classification ModelsImage Translation Models3D ModelsScanned MapsTabular and Feature Data ModelsUnstructured Text ModelsInferencing Methods (Image Server)compute_accuracy_for_object_detection()(Requires ArcGIS Image Server 10.9 or higher)
Model Management- Adds support for
.dlpkformat to thefrom_model()function in all models - Adds message to install
gdalif using multispectral data withprepare_data() - Adds support for
Meta Raster Format (MRF)tiles - Adds driver-related
Pytorchalong withtorch.cuda.is_available()when deciding between usingGPUandCPU - Adds documentation to the
resize_toparameter forprepare_data() - Adds
torch.cuda.get_device_capability()check - Adds
dice coefficientandsoft dice lossfor multiclassUNetClassifier,PSPNetClassifier, andDeeplabmodels - Adds
save_inference_fileparameter tosave()method of models - Adds ability to show intermediate results on Tensorboard during training for:
FeatureClassifierSingle Shot DetectorRetinanetUNetClassifierSuperResolutionFasterRCNNMaskRCNNPSPNetClassifierDeepLabMultiTaskRoadExtractor- Adds ability to override
ImageHeightsaved inUnetClassifier,MaskRCNNandFasterRCNNmodels to enable inferencing on larger image chips if GPU model allows SuperResolution
- Adds normalization in labels
- Adds denormalization while inferencing
- Adds
compute_metrics()method for accuracy metrics on validation sets - Adds
supported_datasetsproperty
- Adds ability to save
model_metric.html - Adds time spent per epoch
- Adds extension to support transformer models
- Adds
f1_score()description to API reference
- adds default transformations
FasterRCNN- Adds multispectrals support when
tensorboard=True - Adds
predict()method - Adds
predict_video() - Adds support for
kwargsparameter MLModel- Adds support for
unsupervised learning Clustering ModelsGaussian Mixture ModelsNovelty and Outlier Detection Models- Adds methods:
decision_function()feature_importances()predict()- renames
output_raster_folder_pathtooutput_raster_path - renames
predict_featurestoprediction_type - Adds multiband raster support
FeatureClassifier- Adds multi-label support for training
- Adds note to
oversampleparameter explaining supported datasets - Adds parameters to
save():compute_metricssave_optimizersave_inference_file
- Adds note to
predict()that it only supports RGB images - Adds
PointRendto improve performance for: DeepLabPSPNetClassiferMaskRCNNPointCNN- Updates how
transformsare applied on point cloud so both original data and trasformed data passed - Updates dependencies in
SciPyand removes dependencies ontransform3dandplotly-orca - Adds ability to preserve classcodes in file when using
predict_las()
Fixes
Guides
- Working with the Spatially Enabled DataFrame
- Updates Visualizing Spatial Data
- Managing ArcGIS Applications
- Updates Managing Workforce projects
- Deep Learning with ArcGIS
- Updates
fastailink with Object Detection Workflow witharcgis.learn - Updates to Working with Multispectral Data
- Updates to [Named Entity Extraction Workflow with
arcgis.learn](https://developers.arcgis.com/python/guide/how-named-entity-recognition-works) - Updates to Point Cloud Segmentation using PointCNN
Samples
- Power Users/Developers
- Updates to various samples:
- GIS analysts and data scientists
- Enhances
Deep Learning Samplesby providing training data - Fixes typos in
sdffield names for Data Summarization - Construction permits near Washington DC, part 2/2 - Adds data for Finding a New Home
- Plant species identification using a TensorFlow-Lite model within mobile devices
- Updates explanations
- Removes single band imagery
- Updates paths for data in Vehicle detection and tracking using deep learning
- Updates text for [
Chennai Floods 2015–A Geographic Analysis](https://developers.arcgis.com/python/sample-notebooks/chennai-floods-analysis/) to remove uninitelligble rendering
- Automate Road Surface Investigation Using Deep Learning
- Adds missing inference data to the
predictandpredict_videofunctions in - Removes hard-coded
lr_find()value
- Adds missing inference data to the
- Information extraction from Madison city crime incident reports using Deep Learning
- Fixes Table of Contents and hyperlinks
- Adds Save and load trained models section
- Updates Prerequisites and imports
- Updates model training data in Automate Building Footprint Extraction using Deep learning
- Updates to organization type and data paths in Land Cover Classification using Satellite Imagery and Deep Learning
- Land cover classification using sparse training data
- Updates no data explanations
- Removes data mapping
- [Increase image resolution using
SuperResolution](https://developers.arcgis.com/python/sample-notebooks/increase-image-resolution-using-superresolution)- Changed Meta Data Format when exporting training data to
Export Tiles - Fixes typo for output type
- Changed Meta Data Format when exporting training data to
arcgis.gis
- Fixes parameter names in
PortalDataStore.publish()code example for theconfigparameter - Fixes authentication error with
Python 3.7andNotebook Server - Clarifies documentation for
storageUsageparameter ofUserobjects - Fixes issue with ArcGIS online comments with certain unicode characters not getting returned properly
- Fixes error with
clone_items()onSurveyitems - Fixes
deprecation warningswhen import API inNotebook Server Item- Fixes documentation error in parameter table for
reassign_to() UserManager- Fixes
KeyError: UserTypeserror withcreate()whenuser_settingsconfigured improperly - Fixes token errors with public
GeometryandGeoprocessingservices affecting API andNotebook Server - Fixes BUG-000133849 -
dataresource is missing whenKMLorKMZfiles are added to ArcGIS Online ContentManager- Fixes BUG-000133739 -
clone_items()on hosted feature layer views returnsJSONDecodeError: Expecting value: line 1 column 1 (char 0)error GroupMigrationManger- Fixes to
inspect()andload()not recoginizing new items
arcgis.gis.admin
- Fixes error returning
ArcGIS Onlinehistory()when return type is aDataFrame
arcgis.gis.server
- Fixes issue where a "/" added to the server admin url creates invalid connection
- Fixes issue when creating
Serverobject without a Portal connection on a Federated Server - Fixes issue with mangled
URLwhen connecting to unfederated servers URL- NOTE: The
ServiceDirectorylist()orfind()methods should be used to createServerobjects
- NOTE: The
ReportManager- BUG-000133053
list()method returns error if a saved report created from ArcGIS Server manager exists on server - Fixes issue when
create()fails if existing reports named as integers - Fixes errors in
create()documentation for parameters:queriesfrom_valueto_value
- Fixes BUG-000134098 unexpected keyword argument
from_valueerror inquick_report() - Removes incorrect option from
sinceparameter documentation forquick_report()
arcgis.features
FeatureLayer- Fixes issue when
query()result isesriFieldTypeFloat - Fixes issue with
query(as_df=True)results onHosted Feature Layerwhen specifyingout_fieldsandDateTimefields are present FeatureLayerCollection- Fixes
extract_changes()returning no values Spatially Enabled DataFrame- Fixes issue when using
enrich()withsedfwith more than 100 records - Fixes bug with
to_featureclass()not supporting memory workspaces - Fixes performance issues when reading geometries
- Fixes
from_layer()method failing fortables - Fixes error with
set_geometry()not recognizing geometry columns if not named "SHAPE" - Fixes
plot()errors on small or null geometries in environments withArcPy - Fixes
buffer()method failing on projected geometries - Fixes
to_table()issue withCSVfiles FeatureSet- Fixes
from_geojson()resulting in malformed ring data for polygons - Fixes
from_geojson()failures onMultiPolygons
arcgis.features.analysis
analyze_patterns- Fixes
find_point_clusters()documentation manage_dataextract_data()- Fixes error when
output_nameparameter is a dictionary
- Fixes error when
dissolve_boundaries()- Fixes incorrect formatting in code example
generate_tesselation()- Fixes
extent_layerparameter documentation so parameter is optional
- Fixes
summarize_dataaggregate_points()- Fixes issue where polygon layer was required even though
bin_type,bin_size, andbin_size_unitwere specified
- Fixes issue where polygon layer was required even though
summarize_nearby()- Fixes incorrect format for
distancesparameter in documentation
- Fixes incorrect format for
find_locations()- Fixes failure when setting
distance bandanddistance_band_unitparameters withfind_hot_spots() - Fixes failure when setting
distance bandanddistance_band_unitparameters withfind_outliers()
arcgis.features.managers
SyncManager- Fixes error with
sync_replicated_items()failing to upload features if child is anArcGIS Enterprisereplica AttachmentManager- Fixes issue with
update()method not updating the attachment FeatureLayerCollectionManager- Fixes
create_view()to honor value forextentparameter - Fixes code differences in
overwrite()so results matchItem.publish(overwrite=True)inArcGIS Enterprise - Fixes BUG-000124231 - updating a feature layer from a CSV on
ArcGIS Enterprisereturns error message,Job Failed.
arcgis.raster
RasterCollection- Fixes errors with
filter_by_calendar_range()method ImageryLayer- Fixes
save()failure after usingapply()function on secured services
arcgis.raster.functions
- Adds
aggregate()function
arcgis.network
- Sets default values for optional parameters to
Noneto rely on service defaults whether inArcGIS OnlineandArcGIS Enterprise
arcgis.geoanalytics
- Fixes situation when a failed tool creates an empty
Itemin the organization - Fixes various tools to recognize the
output_datastorecontext parameter for writing output - Fixes
aggregate_points()to usecontextparameter find_locationsfind_dwell_locations()- Fix incorrect parameter names to correct names:
time_boundary_reftime_boundary_unit
arcgis.geocoding
- Updates
suggest()solocationparameteris optional
arcgis.geometry
- Fixes issue with various functions ignoring
inplaceparamter default value - Fixes issue with various functions not returning the
spatialReferencewith output - Fixes issue with
Polygonfailing if order of geometries used is not correct for EsriJSON format
arcgis.mapping
- Fixes BUG-000131799 - import_tiles() returns error:"'Response' object is not subscriptable" because of improper url construction
- Fixes error when
extentparameter forOfflineMapAreaManager.create()is abookmarkordictionary WebMap- Fixes
AttributeError: layerTypeerror when callingsave() - Fixes error on
save()ifWebMapobject had aFeatureLayerColletionadded withadd_layer() - Fixes issue with
add_layer()where onlylayersare added from an anItemorFeatureLayerCollectionthat has both layers and tables - Fixes issue with
add_table()trying to get a renderer when adding - Fixes BUG-000131725 - complex symbology is not preserved for
Map Serviceadded using theadd_layer()function - Fixes issue with
zoom_to_layer()function failing to display layer if called before map has fully loaded
arcgis.widgets
- Fixes
save()andupdate()methods to managetypeKeywordsfor offline map usage - Fixes
add_layer()error when adding arasterlayer fromMapService - Fixes error when adding
WMSlayers tomap widgetwithadd_layer() - Fixes drawing error with local
Rasterobjects - Fixes bug with
add_layer()with either localRasterorImageryLayeras input
arcgis.apps
- Updates
workforce moduleto account for Version 2 schema changes
arcgis.learn
- Disables saving optimizer by default (default value of
save_optimizerparameterFalsein models - Numerous documentation enhancements
- Fixes
fit()methods on multiple models when usingtensorboard=True - Fixes bug with
prepare_data()failing withMultispectraldata whengdalis not installed - Removes unnecessary warning messages when debugging is set
- Fixes issue where classcodes are not preserved in output raster when training data has non-contiguous classcode labels for
Pixel Classificationmodels - Fixes issue with inferencing when
prepare_data()dataset_typeparameter isChangeDetectionand training data is multispectral detect_objects()- Fixes warning messages when deciding between GPU or CPU
SuperResolution
- Fixes
prepare_dataissue when not creating labels when called without downsampling_factor - fixes issue with default transforms causing prediction errors
- fixes error when image data format is
tiff - fixes
chip_sizecausing artifacts while inferencing
- Fixes errors when
gdalwas not handling non-contiguous class segementation EntityRecognizer- Fixes issues with large loss values during model training
- Fixes per epoch metric calculation bug
- Fixes
lr_find()to run for at least one full epoch per learning rate - Fixes issue with
lr_find()output when data prepared withbatch_sizeof 2 - Fixes text column to be first column in
show_batch() FeatureClassifier- Fixes issue with
fit()not displaying results after training with multipsectral data - Fixes issues with
show_results()failing with smaller validation datasets - Fixes failures of
plot_hard_examples()with multilabel model - Fixes errors when running
fit()ifoversample=True - Fixes issues with
plot_losses() UnetClassifier- Fixes issue with incorrect exceptions raised when object craeted with no data
- Fixes missing model type information from output of
save() - Fixes
ValueErrorwithlr_find()andfit() - Fixes
show_results()tesnor shape error - Fixes class weights not used even after specifying
class_balancing=True - Fixes class weights not matching number of classes when data has been exported with one class having pixel value 0
- Fixes inconsistent
accuracy()results between fitting and loading PSPNetClassifier- Fixes missing model type information from output of
save() - Fixes inconsistent
accuracy()results between fitting and loading - Fixes
ValueErrorwithlr_find()andfit() - Fixes
NameErrorwhen intializing withuse_unetandunet_aux_lossboth set to True - Fixes class weights not used even after specifying
class_balancing=True - Fixes class weights not matching number of classes when data has been exported with one class having pixel value 0
- Fixes error with
lr_find()andVGGbackbones if model created withuse_unet=True - Fixes errors in
fit()on object created wtihVGGbackbone andpointrend=True DeepLab- Fixes class weights not used even after specifying
class_balancing=True - Fixes class weights not matching number of classes when data has been exported with one class having pixel value 0
- Fixes inconsistent
accuracy()results between fitting and loading MaskRCNN- Fixes situation with incorrect labels when multiband data is exported
FasterRCNN- Fixes
show_results()failing with multispectral data - Fixes issue with
save()raising exception instead of returning no boxes when using default parameters - Fixes
fit()method whentensorboard=True RetinaNet- Fixes to auto-detection routines to determine CPU or GPU hardware available
PointCNN- Fixes
predict_las()failing when output folder is not empty or has files withpredin name or.lasextension - Fixes issues with
lasandh5files remaining open after using - Fixes issue
predict_las()failing if.lasfiles have a period in the filename - Multiple fixes to documentation
SingleShotDetector- Fixes
predict()TypeErrorwhen using multispectral data - Fixes errors when initializing with
mobilnet_v2ordensenetbackbones - Fixes errows with
predict()when using multipsectral data andvisualize=True EntityRecognizer- Fixes issues with incorrect exceptions raised caling
fit()orlr_find()if object initialized without data - Fixes issue where saving checkpoint was not using the most apt value of validation loss when
early_stoppingis set totrue - Fixes issue where the HTML file with model metrices (
model_metrices.html) not getting saved when trainingUnetClassifer,PSPNetClassifier,DeepLab,SingelShotDetectorandRetinaNetmodels