eskerda / pybikes

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

Add Slovnaftbajk, Bratislava #334

Closed andrewshadura closed 5 years ago

andrewshadura commented 5 years ago

Hi,

Bratislava’s got another bike sharing network, https://slovnaftbajk.sk/en/stations

andrewshadura commented 5 years ago

See also http://bikes.oobrien.com/bratislava/#zoom=13&lon=17.0922&lat=48.1202

eskerda commented 5 years ago

@andrewshadura Does it replace the current white bikes system in Bratislava or is it complementary?

andrewshadura commented 5 years ago

It does not, it is a separate system, both will continue to operate.

MichalPP commented 5 years ago

@andrewshadura should we use cyklokoalicia parsing output?

the easiest way would be to use output from cyklokoalicia/OpenSourceBikeShare function in command.php?action=map:markers. then, on pybikes only https://github.com/eskerda/pybikes/blob/master/pybikes/open_source_bike_share.py would have to be used again.

andrewshadura commented 5 years ago

Ehm, why? White Bikes are already in, we need to get the yellow bikes in too now :)

MichalPP commented 5 years ago

live data are here: https://routing.epsilon.sk/slovnaftbajk.php

the syntax is the same as OpenSourcebikeshare but with extra column slotcount

MichalPP commented 5 years ago

and what about green bikes?

andrewshadura commented 5 years ago

Oh, great, your data mining techniques are impressive :slightly_smiling_face: What are the green bikes? I’ve not heard of them (yet).

MichalPP commented 5 years ago

https://www.zelenybicykel.sk/ in Prievidza, the ones that reprogrammed OpenSourceBikeShare without forking it..

eskerda commented 5 years ago

live data are here: https://routing.epsilon.sk/slovnaftbajk.php

the syntax is the same as OpenSourcebikeshare but with extra column slotcount

I am happy to add this source, since we already support the Open Source Bike Share syntax, but is it canonical or, if not, do we have permission to use it? We always ask for permission on non-authoritative sources.

MichalPP commented 5 years ago

routing.epsilon.sk is my server, so you have permission to use it (it runs routing services like this )

data is gathered by cyklokoalicia (NGO based in Bratislava focusing on bicycle infrastructure, which also developed OpenSourceBikeShare), stand location (lat/lon) is from openstreetmap

eskerda commented 5 years ago

routing.epsilon.sk is my server, so you have permission to use it (it runs routing services like this )

data is gathered by cyklokoalicia (NGO based in Bratislava focusing on bicycle infrastructure, which also developed OpenSourceBikeShare), stand location (lat/lon) is from openstreetmap

Works for me! Thanks for the permission and for setting up the translation layer!

eskerda commented 5 years ago

@MichalPP I was now checking, https://routing.epsilon.sk/slovnaftbajk.php seems to only have 6 stations, compared to slovnaftbajk.sk which seems to have a lot more. Is that right?

MichalPP commented 5 years ago

yes, the stations are not yet fully loaded into OSM, give it a couple of days. the location on slovnaftbajk website is not very accurate (sometimes 100m off), so it's not an automatic import.

eskerda commented 5 years ago

Ah ok, now I get the OSM part. Cool integration!