Issues with transitclockQuickStart

29 views
Skip to first unread message

Vasile Catana

unread,
Aug 20, 2020, 3:53:29 PM8/20/20
to TheTransitClock
First of all thank you for you contribution to this amazing project.

What I am doing:
1) Created GTFS static files(routes, shapes etc) and looks quite good.
2) Took the raw data (each vehicle location) and created a get rest api which downloads the vehicle location under a pb file
an example of what entity I am returning.
header {
  gtfs_realtime_version: "1.0"
  incrementality: FULL_DATASET
  timestamp: 1597938427
}
entity {
  id: "0"
  vehicle {
    position {
      latitude: 47.02604293823242
      longitude: 28.830793380737305
    }
    timestamp: 1597938427
    vehicle {
      id: "0"
    }
  }
}

3. I have compiled transitclockQuickStart and before running it I changed the properties file with the following changed 
transitclock.avl.gtfsRealtimeFeedURI=http://127.0.0.1:5000/get_data
transitclock.avl.url=http://127.0.0.1:5000/get_data

4. I am opening the web app and I see the routes and other static information, but the vehicle position api returns me {"vehicles":[]}

What I am doing wrong ?
Can someone point me to somekind of "how to do"


Thank you and really appreciate. 

Óg Crudden

unread,
Aug 20, 2020, 5:09:02 PM8/20/20
to Vasile Catana, TheTransitClock
Hi Vasile,

Thanks for your interest in TheTransitClock. Have a look at the MPK branch of https://github.com/TheTransitClock/transitclockDocker

This may get you started quicker.

Cheers,
Sean.


--
www.thetransitclock.org
---
You received this message because you are subscribed to the Google Groups "TheTransitClock" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thetransitclo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thetransitclock/c9b71276-5e0c-4ea8-97cc-7da6bd9c0986n%40googlegroups.com.

Óg Crudden

unread,
Aug 20, 2020, 5:14:22 PM8/20/20
to Vasile Catana, TheTransitClock
Reply all
Reply to author
Forward
0 new messages