I wish to use a deforestation imagery layer from Global Forest Watch (GFW) in the Python API for tracking forest change. The layer is hosted by GFW and it can be found when searching for content in API.
Unfortunately, I cannot access it. The API prompts an error (SSL certification error). The error code is attached to this post in a .txt file.
gis = GIS(verify_cert = False)
items = gis.content.search("Hansen", item_type="Imagery Layer", max_items=2)
layer = items.layers
Does someone experience similar problems and found a solution to this issue?
Solved! Go to Solution.
Thanks for the reply. So I assume that this layer cannot be used anymore.
There is also the possibility to download the "raw" data in .tif file format. (here is the download link: https://storage.googleapis.com/earthenginepartners-hansen/GFC-2020-v1.8/download.html)
Is it possible to import those .tif files as an Imagery Layer in the ArcGIS Python API?
Or would I have to transform the .tif files in some other format before I can access them in the API?
TIFF is a heavy image, so I won't recommend calling it directly over the web.
In case your organization has ArcGIS Enterprise license, you can publish Image service.
Else, if you have an ArcGIS subscription account, you may test ArcGIS Image for ArcGIS Online (Pre-release) to host, serve and analyze imagery on the web. This pre-release is ideal for existing ArcGIS Online customers wishing to test and provide feedback on ArcGIS Image for ArcGIS Online. This activity may consume service credits.