BlinkTagInc / gtfs-to-geojson

Generate geoJSON of transit route data from a GTFS file.
MIT License
114 stars 23 forks source link

gtfs to geojson #16

Closed Alirezat0 closed 1 year ago

Alirezat0 commented 2 years ago

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

brendannee commented 2 years ago

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.

Alirezat0 commented 2 years ago

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)