Giter VIP home page Giter VIP logo

gtfsrealtime-for-geoevent's Issues

GTFS connector doesn't seem to work on feeds with content-encoding: gzip

I've tested release 5 on ArcGIS GeoEvent server 10.6.1, and it worked with the sample url.

Then I tried the Dutch realtime feed for public transportation: http://gtfs.ovapi.nl/nl/vehiclePositions.pb
The count on this connector stays 0.

Then I thought it might be some whitelist, proxy issue and tried another gtfs feed: http://rtu.york.ca/gtfsrealtime/VehiclePositions
This one works fine, so I compaired the two and noticed a difference in headers.

response for york.ca:
Content-Type: application/x-google-protobuf
Date: Wed, 09 Oct 2019 09:50:06 GMT
Server: Apache-Coyote/1.1
Transfer-Encoding: chunked

response for ovapi.nl
Content-Encoding: gzip
Date: Wed, 09 Oct 2019 09:40:04 GMT
ETag: "5d9daaf0=80ddb"
Last-Modified: Wed, 09 Oct 2019 09:40:00 GMT
Server: Cherokee/1.2.104 (UNIX)
Transfer-Encoding: chunked
Vary: Accept-Encoding

I cannot see anything in the code that looks at encoding, so I'm assuming the code assumes the content is raw instead of looking at the content-encoding.

Kind Regards,
Casper Span
Tensing - The Netherlands

Jar Files

I have, I assume, successfully installed the program. There is only one jar file, gtfsrealtime-adapter-10.6.0.jar, in the target folder. I have move this to the deploy folder. When I go to add a GTFS Realtime Feed, there are no options for configuration. It's all just blank. See attached image. I'm guessing there should be more jar files? Any help would be great. I am using 10.6.0 for both GeoEvent and my server installed on the same Windows 2012 R2 machine.
image

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.