sepal-contrib / sdg_15.3.1

monitor SDG indicators at plot level
MIT License
3 stars 3 forks source link

instead of .csv us a .shp format #35

Closed 12rambau closed 3 years ago

i-m-amit commented 3 years ago

We just need to change format identifier to .shp to get the result in .shp format I am getting some error when debugging.

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~/sdg_indicators_module/component/tile/sdg_15_3_1.py in start_process(self, widget, data, event)
     75         # create the csv result
     76         stats = cs.compute_zonal_analysis(self.aoi_io, self.io, self.output)
---> 77         self.result_tile.csv_btn.set_url(str(stats))
     78 
     79         # get the result map

AttributeError: 'DownloadBtn' object has no attribute 'set_url'
12rambau commented 3 years ago

It's because your version of sepal_ui is outdated. Thats why this task was assigned to me. I am currently working on it so please just comment the output.