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

Clojure transit: serializing nested metadata

Say I have a nested structure in Clojure e.g. (def res [:S [:AB [:A "a"] [:B "b"]]]) but with nested metadata on each/ any of the vectors. e.g. (defn meta-tree [t] (if (sequential? t) (cons (meta t) (map meta-tree (next t))) …
judep
  • 85
  • 7
0
votes
0 answers

Github data in transit

I was just wondering how the data is encrypted during transit to Github. Checking online there seems to be information about the encryption of the source code at rest but I can't seem to find any info on encryption during transit. From Github…
0
votes
1 answer

List of public transit lines along with the stations served by each

I am looking to get the list of all transit (subway/rail/bus) lines within a given area with all the stations/stops served by each. I am not looking for the best possible route based on start and end point. What I'd envision is only…
Eric
  • 1
0
votes
1 answer

Here API does not show public transit for given route

I am trying this URL straight from documentation, and it works fine, showing a route consisting of walkable sections as well as sections to be plied by public…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
0
votes
1 answer

Api return 429 -possibilty raise threshold

I am using following api: https://transit.router.hereapi.com/v8/routes https://router.hereapi.com/v8/routes and while I use paralerization or async, I am recieving response 429 - Too Many Requests I am using Freemium right now. Is there any chance…
0
votes
2 answers

How to pass numeric values from PhP to Javascript without posting data?

I need some data from SQL to Javascript, so I called them in PhP and I'm trying to pass these values to Javascript, but the code below causes a NaN failure... if I set a PhP command for the Javascript variable, I can't use it as a numeric…
Maestro
  • 21
  • 4
0
votes
1 answer

Different responses for station search with name in Here API V3 and V8

Using HERE Public Transit API V3 for searching stations with name and radius, I get up to 25 stations with the following…
Shayan Sh
  • 93
  • 2
  • 4
0
votes
1 answer

Reagent atom value is stil nil after reset function

I made service endpoint api for getting single object by id and it works as expected. I tested it with Postman and in handler function. I use cljs-ajax library for asynchronous client. I cant change the state of Reagent atom when I get response.…
nenad
  • 409
  • 3
  • 14
0
votes
1 answer

Overcoming CORB restrictions on an old API?

Trying to offload some fetching of updated bus positions from the NJTransit API here -- http://mybusnow.njtransit.com/bustime/map/getRoutePoints.jsp?route=87 -- which returns pretty rudimentary XML. No CORS header / policy as best I can tell, so…
0
votes
2 answers

ClojureScript: parsing a Transit response

I started learning ClojureScript this week and I stuck parsing a Transit response, I have this function: (defn handler [response] (let [comment (:comment response) created_at (:created_at response) last_name (:last_name…
aarkerio
  • 2,183
  • 2
  • 20
  • 34
0
votes
1 answer

Limit possibilities for Mapbox Directions API

I don't have much knowledge of Javascript and I haven't been able to figure out a solution for my problem. I'm making use of the Mapbox Direction API, which currently supports traffic/driving/walking/cycling. I am however interest in an other…
Coryza
  • 231
  • 1
  • 3
  • 12
0
votes
2 answers

How to define irregular service in GTFS

Does anyone know how I should define a transit service that only occurs on public holidays, in GTFS? calendar.txt as; '4,0,0,0,0,0,0,0,20161211,20171209' calendar_dates.txt as; '4,20171001,1' '4,20171002,1' '4,20171225,1' '4,20171226,1' This…
Coryza
  • 231
  • 1
  • 3
  • 12
0
votes
1 answer

Showing stops on bus route using google map on wen application

I have developed a web application for showing bus route between two different stations. I want to show all the stops on the bus route. I have checked this forum and could not find exactly what I am looking for. I am using Google transit API to show…
0
votes
2 answers

Accessing array in Json Data with Clojurescript

I am new Clojurescript and want to hack arround with clojurescript and electron based on an small json file. I am doing something like (with transit/cljs) (def jsondata (t/read (t/reader :json) (.readFileSync fs path_to_file "utf8")))) ) first I…
bluelemonade
  • 1,115
  • 1
  • 14
  • 26
0
votes
1 answer

How to embed a public transit route planner in my website

I'm looking for some solution for displaying a box in my contact us/about us page in my website that will allow visitors to plan their way to my business using public transit (not car). I know google has this in their maps website but couldn't find…