koito19960406 / ZenSVI

This package is a one-stop solution for downloading, cleaning, analyzing street view imagery
https://zensvi.readthedocs.io/en/latest/
Creative Commons Attribution Share Alike 4.0 International
24 stars 4 forks source link

'organization_id' error message #83

Closed etoileboots closed 2 weeks ago

etoileboots commented 2 weeks ago

KeyError "['organization_id'] not in index" with the following code to download street view imagery:

from zensvi.download import MLYDownloader

mly_api_key = "api key" # removed for sake of privacy downloader = MLYDownloader(mly_api_key=mly_api_key)

with a place name that works on OpenStreetMap:

downloader.download_svi("/content/tbilisi_images", input_place_name="Tbilisi")

koito19960406 commented 2 weeks ago

@etoileboots Hi, thanks for pointing this out. This was due to some cases where there was no organization_id column in the returned json file. I fixed this in 770979fda417c9cbe3d5ce66534e3cc34f9c3764 and the new patch version v0.12.11 now works without an error.