Closed ajuang closed 4 months ago
In the function documentation they say they are using tempID for default but they don't set featIdx as a kwarg.
so you'll need to add the name of the column like this:
drive_vectors = ma.generate_feature_vectors(inR, mcp, inD, drive_time_thresholds, 'tempID')
TypeError Traceback (most recent call last) in ()
1 drive_time_thresholds = [60, 120, 180, 240] # minutes
----> 2 drive_vectors = ma.generate_feature_vectors(inR, mcp, inD, drive_time_thresholds)
3 drive_vectors.to_file(os.path.join('/content/drive/Shareddrives/Applied Data Science/Engagements/Stanford Community Health Resilience Project/Travel Time/drive_vectors.shp'))
TypeError: generate_feature_vectors() missing 1 required positional argument: 'featIdx'
I am getting this error when trying to generate drive time vectors