a-b-street / a-b-street/abstreet

Hardcoded IDs in tutorial can get out-of-sync

Abierto
#1,088 5 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
8.2k
Forks
380
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hey @dabreegster! Can we discuss the issue you mentioned in #1084 here?

My first instinct is to create a simple config file with all the hardcoded IDs. This would ensure that a particular object's ID is never out of sync, however this wouldn't 100% prevent IDs from being out of sync with each other. In other words it's possible to update one ID but forget to update another related ID. That being said, I'm not sure how we update the OSM data and whether IDs being out of sync with each other is even an issue.

You definitely have more insight into how we update our data and maybe there's a way we don't have to rely on IDs at all perhaps? You also mentioned you had some ideas of your own?

One question that I did have is why exactly we are updating the data for the tutorial. Does it matter if the tutorial references a real place with 100% up to date data vs a made up city that might allow us to explain the features better?

Thank you as always!!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.