a-b-street / a-b-street/abstreet
Hardcoded IDs in tutorial can get out-of-sync
- Ngôn ngữ chính
- Rust
- Star
- 8.2k
- Fork
- 380
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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!!
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.