Page MenuHomeGitPull.it

Use Alerts functionality by GTFS
Open, NormalPublic100 Points

Description

Sarebbe figo poter vedere gli avvisi della GTT, che sono anche pubblicati come Alerts di GTFS (url http://percorsieorari.gtt.to.it/das_gtfsrt/alerts.aspx).
Si potrebbe creare una schermata apposta, mostrarli negli arrivi dei bus oppure controllare in background.


It would be cool to be able to see the GTT alerts, which are also published as GTFS Alerts (url http://percorsieorari.gtt.to.it/das_gtfsrt/alerts.aspx).
The app could have a separate screen, or show them in bus arrivals or check them in the background.

Event Timeline

fabio.mazza triaged this task as Normal priority.May 30 2023, 16:39
fabio.mazza created this task.

Output della richiesta all'url (da parsare con Google Protobuf):

id: "64747492cd23a80973a31210"
alert {
  active_period {
    start: 1685451600
    end: 1685479500
  }
  informed_entity {
    route_id: "44U"
  }
  informed_entity {
    stop_id: "3425"
  }
  informed_entity {
    stop_id: "3446"
  }
  informed_entity {
    stop_id: "2644"
  }
  informed_entity {
    stop_id: "2712"
  }
  informed_entity {
    stop_id: "2713"
  }
  informed_entity {
    stop_id: "2717"
  }
  informed_entity {
    stop_id: "2720"
  }
  informed_entity {
    stop_id: "8395"
  }
  cause: DEMONSTRATION
  effect: DETOUR
  url {
    translation {
      text: "http://www.gtt.to.it/cms/percorari/urbano"
      language: "it"
    }
  }
  header_text {
    translation {
      text: "Linea 44 deviata"
      language: "it"
    }
  }
  description_text {
    translation {
      text: "Martedi\' 30 maggio dalle ore 20.30 alle ore 23 circa.\nin direzione via Don Borio (Grugliasco): da via Galimberti angolo piazza Papa Giovanni XXIII per Corso Fratelli Cervi, via Battisti, via Leonardo da Vinci, corso Torino, percorso normale; \nin direzione viale Partigiani (Collegno): da Corso Torino angolo via Leonardo da Vinci per via Leonardo da Vinci, via Battisti, Corso Fratelli Cervi, piazza Papa Giovanni XXIII, percorso attuale.\nCausa manifestazione nel comune di Grugliasco."
      language: "it"
    }
  }
}
fabio.mazza changed the point value for this task from 200 to 100.May 30 2023, 16:41