Skip to main content
Question

How do I translate GTFS data?

  • November 9, 2020
  • 2 replies
  • 42 views

I'm trying to convert GTFS transport data to Shapefile using  FME 2020.0.0.0 (20200309 - Build 20200 - macosx) Quick Translator, but I get this exception:

 

<< FME 2020.0.0.0 (20200309 - Build 20200 - macosx)

FME Home Edition (node locked-crc)

Temporary License: 234 days left.

Machine host name is: YOS0897

Operating System: Mac OS X Version 10.15.3 (Build 19D76)

Copyright (c) 1994 - 2020, Safe Software Inc.

Safe Software Inc.

Creating reader for format: General Transit Feed Specification (GTFS)

Trying to find a PYTHON plugin for reader named `GTFS'

The workspace does not contain user Python. FME will attempt to use a Python 3.7+ interpreter

Using Python interpreter from `/Library/FME/2020.0/fmepython37/lib/libpython3.7m.dylib' with PYTHONHOME `/Library/FME/2020.0/fmepython37'

Python version 3.7 loaded successfully

Python Exception <ModuleNotFoundError>: No module named 'gtfs'

Could not create Python Reader `GTFS'

Could not create Python Reader `%0'

Failed to obtain any schemas from reader 'GTFS' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information

FME Session Duration: 2.5 seconds. (CPU: 1.0s user, 0.2s system)

END - ProcessID: 3240, peak process memory usage: 105676 kB, current process memory usage: 91516 kB

Failed to obtain any schemas from reader 'GTFS' from 1 datasets. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information

Program Terminating

Translation FAILED. >>

 

I have Python3 already installed, as well as the GTFS package. How do I get the Quick Translator to work with this?

 

Thank you.

 

Yoshi

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • November 10, 2020

Hi @yoshinobu​ 

Are you try to do this convertion into FME Desktop Workbench Generate Workspace, using the Reader General Transit Feed Specification (GTFS)?

 

Reader_GTFSThanks,

Danilo


  • Author
  • 1 reply
  • November 10, 2020

Hi Danilo,

 

When I try the Workbench and select the GTFS reader, I receive a message saying that it's not supported by this FME licence. When I try the Quick Translator, I get above Python message.

 

Ironically, I'm evaluating FME Desktop's ability to translate GTFS data to Shapefile and KML, so it's important that I get this to work.

 

Yoshi