Defining an Area of Interest with ArcGIS API for Python

678
1
Jump to solution
03-15-2021 02:21 PM
barrylim
New Contributor III

Hello, I need to define an area of interest of a raster image and found the following code, but I dont understand it. Whats  the purpose of "latestWkid" and "wkid" and why are they always "4326"

 

City_areaofinterest = {'spatialReference': {'latestWkid': 4326, 'wkid': 4326}, 'type': 'extent',
'xmax': 16.57975, 'xmin': 16.17187, 'ymax': 48.32337, 'ymin': 48.10101}

arcgis.env.analysis_extent = {"xmin":16.17187,"ymin":48.10101,"xmax":16.57975,"ymax":48.32337,
"spatialReference":{"wkid":4326,"latestWkid":4326}}

 

Thx in advance!

0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor
1 Reply
DavidPike
MVP Frequent Contributor

Xander explains it here spatialReference - Esri Community

and in the documentation - spatialReference | ArcGIS for Developers