04-15-2021
01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
Dear Community,
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.
Code:
gis = GIS(verify_cert = False)
items = gis.content.search("Hansen", item_type="Imagery Layer", max_items=2)[0]
layer = items.layers[0]
layer.url
layer.properties.name
-> arc_errorCode.txt
Does someone experience similar problems and found a solution to this issue?
Thanks,
Felix
Solved! Go to Solution.