Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] NYC traffic cameras #1

Open
thesle3p opened this issue Dec 23, 2023 · 3 comments
Open

[feature request] NYC traffic cameras #1

thesle3p opened this issue Dec 23, 2023 · 3 comments

Comments

@thesle3p
Copy link

Would it be possible to onboard this data source of New York City traffic cameras? https://hub.arcgis.com/datasets/1978dcae95b0462293be4bb1e06c9a71/about

@PWRxPSYCHO
Copy link
Member

I can take a look. From a first glance it looks like the files provided in that link will need to be converted to either geoJson or KML before I can parse it. Also the cameras will not provide real-time video. According to the description: Access these cameras to view real-time traffic movements from the [Advanced Traveler Information System](http://nyctmc.org/), which provides frequently updated still images from locations in the five boroughs.

@PWRxPSYCHO
Copy link
Member

Actually I found a converter online:
https://mygeodata.cloud/converter/shp-to-geojson

Let me see how this works and I'll try to get these cameras added.

@PWRxPSYCHO
Copy link
Member

PWRxPSYCHO commented Dec 24, 2023

@thesle3p So unfortunately the NYC camera feed only contains images that are updated ~every second. There really isn't a way that I am aware of, at least in ATAK to get the images to "stream". (By this I mean call the camera feed url and get a new image every second). There have been discussions in the discord about using KML and loading in ![CDATA[<html><img src="https://webcams.transport.nsw.gov.au/livetraffic-webcams/cameras/memorial_drive_towradgi.jpeg?"></img></html>]]> into the <description></description> tag for example. The only downside is you need to exit and re-enter the sensor to view the updated image.

Another option, which I don't have the resources for, is to host a "middle-man" service, which is able convert the images into a feed that ATAK can read in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants