BlinkTagInc / gtfs-to-geojson

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

stop_times.txt #20

Closed Daveee404 closed 1 year ago

Daveee404 commented 1 year ago

Hello

There is a file in the source zip: stop_times.txt. It is 380mb.

If I start the process with: lines-and-stops, it stucks at: Starting "GeoJSON creation for..." (After 10 minutes)

If I remove the stop_times.txt it generates the output within 30secs.

I would recommend a config line where you can add, what times should be excluded from the source zip file.

Daveee404 commented 1 year ago

https://opendata.bkk.hu/data-sources

brendannee commented 1 year ago

There is a way to exclude specific files in the config:

{ "agencies": [ { "agency_key": "myAgency", "path": "/path/to/the/unzipped/gtfs/", "exclude": [ "shapes", "stop_times" ] } ] }

Try that out and let me know if you helps speed things up.

Daveee404 commented 1 year ago

image

It does not work for me unfortunately:(

brendannee commented 1 year ago

Put the ‘exclude’ inside the agency object (same level as the ‘agency_key’)

On Sun, Dec 4, 2022 at 16:15 Daveee404 @.***> wrote:

[image: image] https://user-images.githubusercontent.com/117770350/205524537-34021f84-b426-43e8-bb13-3e40034c164f.png

It does not work for me unfortunately:(

— Reply to this email directly, view it on GitHub https://github.com/BlinkTagInc/gtfs-to-geojson/issues/20#issuecomment-1336563256, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAXPWMRZQUJXKD3BUZWYD3WLUXZNANCNFSM6AAAAAASTK2Q4Y . You are receiving this because you commented.Message ID: @.***>

--