gtfs-to-geojson icon indicating copy to clipboard operation
gtfs-to-geojson copied to clipboard

gtfs to geojson

Open Alirezat0 opened this issue 2 years ago • 2 comments

Hi Mr.Nee, I have some issues with importing gtfs data to Mapbox firstly i should convert a zip gtfs data that I have to geojson file then I should add it to a map i created a config.json file then when I want to run (gtfs-to-geojson --configPath /path/to/your/config.json) i will get this error : in the following, I will send a pic of my error and my gtfs data for SanFransico Screenshot (287) all-transit-master.zip

Alirezat0 avatar Sep 07 '22 10:09 Alirezat0

It looks like there is an unknown ? character in your configPath command, right before the C:\. Try running just gtfs-to-geojson without any other parameters from the directory that has your config.json in it, this should automatically use the config.json file in that folder without you needing to specify the path.

brendannee avatar Sep 08 '22 07:09 brendannee

Hi Mr.Nee, yes, thanks that were an error I deleted the (?) now I got some other error and I have another question what exactly does this code(gtfs-to-geojson --configPath /path/to/your/config.json) do, should I first convert gtfs to json file then by this library convert it to geojson? or it converts my zipped gtfs to geojson directly? thanks for your time. Screenshot (288)

Alirezat0 avatar Sep 08 '22 08:09 Alirezat0