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

Revisar tratamento do GPS #103

Closed
9 tasks done
eng-rodrigocunha opened this issue Jul 15, 2024 · 0 comments · Fixed by #287
Closed
9 tasks done

Revisar tratamento do GPS #103

eng-rodrigocunha opened this issue Jul 15, 2024 · 0 comments · Fixed by #287
Assignees

Comments

@eng-rodrigocunha
Copy link
Contributor

eng-rodrigocunha commented Jul 15, 2024

  • Deduplicação de timestamps (verificar unicidade da gps_sppo)
  • Adicionar testes na pipeline
  • Garagens e terminais (identificar qual tabela usada (terminais_onibus_coordenadas e garagens_polygon) e pensar em uma nova arquitetura) (https://docs.google.com/spreadsheets/d/1pWOZCy-kzNGRDbNJNVI-dXsmJUsZuykNIYlA2yZbEVM/edit?usp=sharing)
    • terminais no gtfs
  • Adicionar timestamp de captura e última atualização
  • Verificar artigo sobre tratamento de GPS: https://ceur-ws.org/Vol-3379/BMDA_2023_paper_1870.pdf
  • Revisar tratamento de realocação
    • Qual considerar? mais recente
    • Janela de validade 60 minutos conforme resolução
    • Exemplo (Recurso SMTR202307005758)
  • Revisar colunas calculadas que não são utilizadas (alterar pensando no nova estrutura - dataset monitoramento)
  • Alterar view dashboard_gps_sppo.gps_sppo_8_dias (adicionar flag quando serviço não estiver na viagem_planejada)
    • rj-smtr-dev.dashboards.gps_sppo_8_dias
  • Verificar se a captura está vazia (pipeline de captura)
SELECT
  *
FROM
  `rj-smtr.br_rj_riodejaneiro_onibus_gps.sppo_realocacao`
WHERE
  DATA = "2023-06-16"
  AND id_veiculo = "D53567";
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

Successfully merging a pull request may close this issue.

2 participants