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

Hardcoded IDs in tutorial can get out-of-sync

Aberta
#1,088 5 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
8.2k
Forks
380
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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!!

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.