FelixSchrock
Emerging Contributor

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

 

 

 

 

0 Kudos