<\/P>
Hello Kelley,
Thanks a lot for providing all the materials. I am working on a similar study for my graduate course project. I tried to run the code
selected = landsat.filter_by(where="(Category = 1) and (CloudCover<0.03)", time=[datetime(2016, 1, 1), datetime(2019, 12, 31)], geometry=arcgis.geometry.filters.intersects(aoi_geom))
from Sample Notebook: Coastline extraction using Landsat-8 (Image Server) as source
But I got a key error & an attribute error. I understand the error but need some assistance to resolve it as I am new to ArcGIS API for Python.
I would appreciate your help.
Thanks
Hi Shivani, thank you for noticing the cause of the problem.
Hi Felix,
Are you using Python API playground portal as gis in the notebook? If this is the case, currently Python API Playground doesn't has configured RA server.
Hello. Thank you for providing detailed material.
I encountered an exception when I try to run code #19 in
Sample Notebook: Coastline extraction using Landsat-8 (Image Server) as source
b2_poly = convert_raster_to_feature(dra2, field='Value', output_type='Polygon', simplify=True, output_name=None, gis=gis2)
OutputCatalogPath failed. Error: <built-in method GetOutputCatalogPath of HostedGP object object at 0x0000000038F3BD08> returned NULL without setting an error {"messageCode": "RA_120212", "message": "ConvertRasterToFeature failed. OutputCatalogPath failed. Error: <built-in method GetOutputCatalogPath of HostedGP object object at 0x0000000038F3BD08> returned NULL without setting an error."} Failed to execute (ConvertRasterToFeature). Failed.
Is there any workaround?
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.