Open LorenzoStucchi opened 2 years ago
Hi @LorenzoStucchi, thanks for reporting this issue.
ohsome2lable --config xx/xx.yaml image
, this works for me, not fully sure about the context of your issue? image
command?
Best,
HaoHi @bobleegogogo
First, regarding the options, I think you should put it as
ohsome2lable --config xx/xx.yaml image
, this works for me, not fully sure about the context of your issue?
I used it in the indicated way, but before didn't work, then I reinstalled and now it works.
Second, just to get it a bit clear and try to focus on issue, are you getting this error when conducting
image
command?
I have improved the above description, with more info
Hi @LorenzoStucchi
Nice, so the first point is solved. I think it is probably due to one of the latest update in pip, while not sure if this is the reason.
For the second point, I saw that you are using img_api: sentinel
, did you also try other image source? such as the Bing image (then you need to apply for a token here: https://www.bingmapsportal.com/) in the default example? I think we have tested ohsome2label with Sentinle-hub API quite some time ago... while certainly this is not up-to-date.
Maybe It would be also great if you could sort this out and contribute to the project in this aspect?
For the second point, I saw that you are using
img_api: sentinel
, did you also try other image source? such as the Bing image (then you need to apply for a token here: https://www.bingmapsportal.com/) in the default example? I think we have tested ohsome2label with Sentinle-hub API quite some time ago... while certainly this is not up-to-date.
I test bing and the error is not present, so it is only related to the download from SentinelHub
Maybe It would be also great if you could sort this out and contribute to the project in this aspect?
I'll try in the next weeks, but I can not ensure that I will be able to have time to study it 😄
Hi @LorenzoStucchi, nice to know that at least bing works out!
I might need to update the part related to SentinelHub in future, just not sure when would I get some time for this ...
During the execution of the comand
ohsome2label --config config\config.yaml image
with the following fileconfig.ymal
:It provided the error below. I never use the operator <<, so I'm not confident in fixing it. From the guide seems that
n = 1 << int(tile.z)
could fix it, but this will produce other errors.I used python 3.6.8 and shapely 1.7.1, the suggested version of shapely (1.6.4) is not working and provides multiple errors. The 1.7.1 works in the command
vector
andlabel
.