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

Hardcoded IDs in tutorial can get out-of-sync

Open
#1,088 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
8.2k
Forks
380
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.