BlinkTagInc / gtfs-to-geojson

Generate geoJSON of transit route data from a GTFS file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gtfs to geojson

Alirezat0 opened this issue · 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

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.

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)