node-gtfs
node-gtfs copied to clipboard
The bounding_box_side_m option does not guarantee stop order by distance
Hi, I think it would make sense to order getStops return array order by distance in case this option is used. Distance from the input stop_lat and stop_lon.
I guess an simple SQL clause could suffice ?
What do you think ?
Great suggestion. Try out the latest release and let me know if this does what you had in mind: https://github.com/BlinkTagInc/node-gtfs/releases/tag/4.15.13