ohsome2label icon indicating copy to clipboard operation
ohsome2label copied to clipboard

label erro with dev branch

Open bobleegogogo opened this issue 4 years ago • 2 comments

the command of "ohsome2label label" with default config gives me the following error:

bug

I think it is related to

https://github.com/GIScience/ohsome2label/blob/19f456ceabf2a5ffe2e83b29eed5fc707ffd8b27/ohsome2label/label.py#L354

@wuzyzy could you maybe check the dev branch?

bobleegogogo avatar Dec 01 '21 16:12 bobleegogogo

Yes, I change the pipeline. You should use ohsome2label tile before using ohsome2label label and ohsome2label download. Here is a function called get_tile_list in label.py, I divided it from gen_label . Cause I found that when I use the user-defined WMTS serveice for downloading satellite image, the old version cannot run to the end when the area of vector is exceed the region covered by the WMTS without a tile_list. Sorry I forgot to mention it in git commit. I think we should change the readme so users can use it correctly.

wuzyzy avatar Dec 02 '21 04:12 wuzyzy

Current status:

  • new function "viewer" in dev branch
  • new command link logic in dev branch --> ohsome2label vector, tile, image, label

Aim to solve:

  • bad annotation without valid image from the used WMTS
  • index error when having multiple classes objects/classes

Decision:

  • continue with seperated branch in dev
  • release main branch as https://pypi.org/project/ohsome2label/1.1.3/

bobleegogogo avatar Dec 02 '21 09:12 bobleegogogo