Gbfs2osm
Jump to navigation
Jump to search
| Gbfs2osm | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Author: | Émilio Gonzalez (Res260) | |||||||||||||||||||
| License: | MIT License | |||||||||||||||||||
| Platforms: | Linux, macOS, and Windows | |||||||||||||||||||
| Status: | Active | |||||||||||||||||||
| Version: | (2025-07-28) | |||||||||||||||||||
| Website: | https://github.com/Res260/gbfs2osm | |||||||||||||||||||
| Source code: | https://github.com/Res260/gbfs2osm | |||||||||||||||||||
| Programming language: | Python | |||||||||||||||||||
|
General Bikeshare Feed Specification (GBFS) to .osm converter CLI. |
||||||||||||||||||||
| ||||||||||||||||||||
gbfs2osm is a python command line interface (CLI) tool that reads a General Bikeshare Feed Specification (GBFS) endpoint and converts it to a .osm file. It was created to make importing data from bikeshare services into OpenStreetMap easier.
Before using, make sure to read the Automated Edits code of conduct and the Import Guidelines.
Features
- Creates a
amenity=bicycle_rentaltag for each station - Includes these tags automatically:
bicycle_rental=docking_stationname=*using the station namecapacity=*ref:gbfs={system_id}:{station_id}network=*brand=*operator=*operator:phone=*operator:website=*network:wikidata=*operator:wikidata=*fee=yespayment:credit_cards=yesif "CREDITCARD" is in "rental_methods" in the GBFS feedpayment:app=yesif "PHONE" is in "rental_methods" in the GBFS feed
- Supports by default editing existing
amenity=bicycle_rentalif it is in a 20 meters radius of the GBFS station coordinates.- Outputs a warning if multiple bikeshare stations are found in OSM near the same location. This is helpful for spotting duplicated
amenity=bicycle_rentalnodes. - By default, only overwrites
capacity=*andref:gbfs=*tags if other are present, but this can be configured and any field can be overridden if needed.
- Outputs a warning if multiple bikeshare stations are found in OSM near the same location. This is helpful for spotting duplicated