eskerda / pybikes

bike sharing + python = pybikes
https://citybik.es
GNU Lesser General Public License v3.0
552 stars 166 forks source link

api to load stations based on location #301

Closed MichalPP closed 9 months ago

MichalPP commented 6 years ago

I try to make a bikesharing router, demo here (I try to mimic OSRM backend, so any js library working with osrm will work)

currently, I download all data every several minutes, store them in my postgis DB and run the service. which is little bit not efficient.

do you have an api which would return a json of all stations around a lat/lon point (with a custom limit in meters and bikesharing companies)? if you store data in postgresql/postgis, it's very easy to make.

MichalPP commented 6 years ago

@eskerda do you think this is doable?

eskerda commented 6 years ago

@MichalPP it's doable but requires some (very possible) changes on our current infrastructure. Can't give you an estimate on when it's going to be possible though

eskerda commented 9 months ago

Unrelated to pybikes