Giter Site home page Giter Site logo

bliksemintegration's People

Contributors

koch-t avatar skinkie avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ovwatch

bliksemintegration's Issues

extra data after last expected column

Hey guys,

I am trying to use the import since a few hours and neatly got it to work. Requirements.txt-contents are installed by pip and I adjusted a few URLs to point to the correct KV1-zips. After that I tried running the import.py with python and received the following error:
Traceback (most recent call last): File "/var/www/html/OVbusser/gtfs/bliksemlabs/bliksemintegration/importers/syntus.py", line 124, in sync download(url+link,filename) File "/var/www/html/OVbusser/gtfs/bliksemlabs/bliksemintegration/importers/syntus.py", line 109, in download import_zip('/tmp',filename,None) File "/var/www/html/OVbusser/gtfs/bliksemlabs/bliksemintegration/importers/syntus.py", line 55, in import_zip meta,conn = load(path,filename) File "/var/www/html/OVbusser/gtfs/bliksemlabs/bliksemintegration/importers/kv1_810.py", line 433, in load meta = importzip(conn,zip) File "/var/www/html/OVbusser/gtfs/bliksemlabs/bliksemintegration/importers/kv1_805.py", line 582, in importzip cur.copy_expert("COPY %s FROM STDIN WITH DELIMITER AS '|' NULL AS '' CSV ENCODING '%s'" % (table,encoding),f) DataError: extra data after last expected column CONTEXT: COPY dest, line 1: "DEST|1|I|SYNTUS|0|UNKNOWN|UNKNOWN|UNKNOWN|FALSE|UNKNOWN|UNKNOWN|UNKNOWN|UNKNOWN|UNKNOWN|UNKNOWN||"

Is there perhaps something outdated or did I miss anything else with running this?

Thank you. ;)

(Note: Yes, this issue was about something completely different, but I managed to fix that.)

Converting data from some format to GTFS

Do I correctly understand that the importer scripts are not converting data from, for example, DINO, to GTFS, but rather do some sort of operations directly on a database?

Do you have simply the tools to convert DINO to GTFS?
Thank you.

Document how to use all the scripts

Document:

  • Required privileges
  • Expected params, it's meaning and optional values.

For all the python files containing an script. E.g: import.py

Initial import takes absurdly long

I started the import operation yesterday and after about 10 hours it has processed 2 KV1 files from Arriva. Is that normal for the first time?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.