Open behrisch opened 1 year ago
Hi Michael,
The following similar FutureWarnings when running the "get_line_dir" function in gtfs2osm.py:
/opt/homebrew/Cellar/sumo/tools/import/gtfs/gtfs2osm.py:338: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead lat_dif = float(line_dest[1]) - float(line_orig[1]) /opt/homebrew/Cellar/sumo/tools/import/gtfs/gtfs2osm.py:339: FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead lon_dif = float(line_dest[0]) - float(line_orig[0])
currently leads to an actual TypeError
Traceback (most recent call last):
File "/opt/homebrew/Cellar/sumo/tools/import/gtfs/gtfs2pt.py", line 465, in
Is this something you experienced before?
Thanks a million, Matteo
No I don't think so but thanks for mentioning it, I will try to solve it as well when tackling this one.
The following FutureWarnings occur: