ni1o1 / transbigdata

A Python package develop for transportation spatio-temporal big data processing, analysis and visualization.
https://transbigdata.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
455 stars 115 forks source link

FileNotFindError in plotmap.py #55

Closed liq77 closed 2 years ago

liq77 commented 2 years ago

There were some problems when I was trying to set imgsavepath, it seems like “filepath = searchfile('mapboxtoken.txt')” in line 68 doesn't work. when I typing the following code in my jupyternotebook.

import transbigdata as tbd tbd.set_imgsavepath(r'/home/liqi/CodeSpace/Map_tile/')

I don't know if it was caused by miniconda virtual environment or something else.

Screenshots image

ni1o1 commented 2 years ago

Can you update to transbigdata version 0.4.11 and try again, this issue should be resovled. 0.4.11 change the way to store the mapbox settings. mapboxtoken and imgsavepath are now store at config.ini in transbigdata source code folder.

liq77 commented 2 years ago

thanks a lot