Closed s-boeck closed 3 years ago
Seems to be within the LSIB dataset that is used, i.e. ee.FeatureCollection("USDOS/LSIB_SIMPLE/2017"). If I try to filter by name on 'South Sudan' it does not return anything, even though it is really listed as such (see example below where I can find it by filtering on object ID, but only knew which ID it was after using inspector on complete dataset):
https://code.earthengine.google.com/93a12d66d9f1433cb574003b2f341cd7
Should probably notify the GEE team and/or LSIB data provider?
Regardless, it might also be interesting to switch to the FAO GAUL dataset? This seems to be a bit more accurate (e.g. for Cambodia, it also includes some of the islands that are not included with LSIB) and also has multiple administrative levels (e.g. provinces, districts).
As @ArjenHaag mentioned this is an issue with the underlying EE dataset that the function relies on. The hf.country_bbox("South Sudan")
is a helper function to get an ee.Geometry bounding box around the country. To replicate this functionality for South Sudan, you can simply define the region using the EE API:
region = ee.Geometry.Rectangle([23.4371, 3.4862, 35.9486, 12.2381])
Running
I receive this ERROR message
Doesn't complain when changing country_bbox to Cambodia
Best regards, Sebastian