Questions tagged [transit]

Transit is a format and set of libraries for conveying values between applications written in different programming languages.

Transit is a format and set of libraries for conveying values between applications written in different programming languages.

47 questions
0
votes
1 answer

How is message framing handled in Transit, if at all?

I'm looking at using the Transit format (https://github.com/cognitect/transit-clj) for a simple TCP message streaming application. One thing I'm having trouble figuring out from the documentation is whether or not the Transit libraries will handle…
Derek Thurn
  • 14,953
  • 9
  • 42
  • 64
0
votes
0 answers

client-server roundtrip in transit format

I'm looking for a way to conveniently exchange Clojure data structures between a ClojureScript browser client and a Clojure server. Currently I'm using cljs-ajax for the front-end and ring/compojure + transit-middleware on the back-end. Until now, I…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
0
votes
1 answer

google trip planner auto-fill

We are currently using the google trip planning feature on our transit website. The issue we are running into is the fact that when a customer types in a starting point (for example "Queensway" in Kelowna, BC Canada) we get auto-fill results from…
Cam I.
  • 1
0
votes
1 answer

Exclude a transit agency in Bing Maps API

How do I exclude a transit agency in Bing Maps API route calculation? E.g. Bing Maps include "Go Transit" as a local transit option. In fact Go transit in Toronto is more like a regional transit between cities.
0
votes
1 answer

Using Google transit in Web Application

I'm working on my last semester project which is based on real-time transit. So, I want to develop website (using Python + Django Fw) that will show all our university buses' real-time Geo-location (Google map API or any other please suggest the…
aquaman
  • 451
  • 5
  • 16
0
votes
1 answer

Mapping theoretical transit options

my area is building a new transit line, and I'd like to "add" it to trip planners for comparison's sake. Before I dive into Mapbox and reinvent the wheel, is there any way to add or reference a GTFS file from within an existing app, say, Google…
Lennix
  • 1
  • 1
0
votes
3 answers

Resize background-image using jQuery Transit

I have DIV with CSS property: .box { background-image: url(images/img.jpg); } I have choosed this library for transition effects. And I want to use scale effect on some pages. Typical syntax to scale elements is something like…
Abaza
  • 2,271
  • 1
  • 11
  • 7
0
votes
2 answers

GTFS Database - SQL Queries for "Revenue Mileage" and "Revenue Hours"

I'm trying to find the number of revenue miles/kilometers of a "Route" by: day, month, and year; by querying a GTFS database that has the structure described here: https://developers.google.com/transit/gtfs/reference And see here for a very clear…
FirstFraktal
  • 358
  • 4
  • 6
0
votes
1 answer

Transit-cljs reader handler to read in array

I am new Clojurescript and want to do some hacking this long weekend, to port over a NodeJS app. My http response has a JSON structure as follows- { "key1":"foo", "rows":[{"name":"alice"},{"friend":"bob"}] } What should my reader handler to make…
mobileraj
  • 3
  • 1
0
votes
1 answer

java.io.EOFException when parsing JSON with clojure Transit

I am reading from an input stream with (t/read request-body :json) and I get a java.lang.RuntimeException: java.io.EOFException. {"A":"B", "C":"D"} java.lang.RuntimeException: java.io.EOFException ReaderFactory.java:122…
wirrbel
  • 3,173
  • 3
  • 26
  • 49
0
votes
1 answer

Google Map Marker Routing

i am new in Google Map API V2 and i would like to make a marker/direction pointer to route on the google map. If you don't get what i mean, please visit this link https://developers.google.com/maps/documentation/android/ and click on flat marker.…
Glynn Neo
  • 33
  • 9
0
votes
1 answer

Need help making my HTML and CSS code for navigation effect more efficient

$(document).ready(function(){ $("#sticky-header").hide(); }); $(window).scroll(function(){ if( $(document).scrollTop() > 160 ) { $.fx.speeds._default = 300; $('#sticky-header').show(); …
Bob
  • 1
  • 1
0
votes
1 answer

jquery animate callback not executing until final loop

I made a small test code using the jquery transit plugin for animations. The purpose of the script is to have a photo of a tower make a flip 90 degrees toward the user, switch to another tower image, and flip another 90 degrees to lay flat on the…
tomc
  • 417
  • 5
  • 17
-1
votes
1 answer

R: How to use the map function to find min value within a subset of columns

I am trying to find out how to efficiently output minimum values of runtime_sec based on of a subset from hour column potentially using an anonymous function. Currently, I have a long way of creating a new dataframe, then joining it to the existing…
-1
votes
1 answer

API directions answer with multiple mode

how can i get from una url API directions more then one mode? for example have in the same answer the time fore the mode transit and the time for the mode walking