feat(cctv): add Lithuania — 304 Via Lietuva national-road cameras - #265
Open
kristijonas-ber wants to merge 1 commit into
Open
feat(cctv): add Lithuania — 304 Via Lietuva national-road cameras#265kristijonas-ber wants to merge 1 commit into
kristijonas-ber wants to merge 1 commit into
Conversation
|
@kristijonas-ber is attempting to deploy a commit to the Developing Osiris' projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Lithuanian cctv: ~304 national-road cameras from Via Lietuva (eismoinfo.lt).
The source needs two endpoints joined on camera id — one has coordinates, the other has road metadata and a frame timestamp. Note
?lks=falseon the layer URL: without it you get LKS-94 grid metres instead of WGS84.Only cameras present in the live table are included, and frames older than 6 hours are dropped, so stalled cameras don't show up as live feeds.
Feeds route through
/api/cctv/proxy— eismoinfo returns 403 for requests with a foreign Referer. Addedeismoinfo.lttoALLOWED_HOSTS.Licence: eismoinfo's terms allow reuse as long as Via Lietuva or eismoinfo.lt is credited as the source ("...tik nurodant „Via Lietuva" įmonę arba interneto svetainę eismoinfo.lt kaip informacijos šaltinį"), which
source: 'Via Lietuva'covers.