You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code below executed successfully, and the shapefile layer for Ukraine was displayed. However, I got this error: AttributeError: 'QgsRasterDataProvider' object has no attribute 'set_ee_object', after the execution of the code. What could be the reason for the error?.
import ee
ee.Initialize()
from ee_plugin import Map
countries = ee.FeatureCollection("USDOS/LSIB_SIMPLE/2017")
country = countries.filter(ee.Filter.eq('country_na', 'Ukraine'))
Map.addLayer(country, { 'color': 'orange' }, 'feature collection layer')
The text was updated successfully, but these errors were encountered:
Thanks, @TaiwoGabriel. I can confirm the error, but it only happens in that kind of collection; temporarily, you can ignore it (the error is just getting the layer info). meanwhile, we can find a workaround for that.
The code below executed successfully, and the shapefile layer for Ukraine was displayed. However, I got this error: AttributeError: 'QgsRasterDataProvider' object has no attribute 'set_ee_object', after the execution of the code. What could be the reason for the error?.
import ee
ee.Initialize()
from ee_plugin import Map
countries = ee.FeatureCollection("USDOS/LSIB_SIMPLE/2017")
country = countries.filter(ee.Filter.eq('country_na', 'Ukraine'))
Map.addLayer(country, { 'color': 'orange' }, 'feature collection layer')
The text was updated successfully, but these errors were encountered: