Hacker GitHub

← All repos

anvaka/city-roads

View on GitHub ↗ ★ 9,798 JavaScript

Visualization of all roads within any city

16 mentions on Hacker News by 13 people: 4 stories, 12 comments · first 2020-01-20 · latest 2026-09-24

Mentions per year 16 mentions · busiest year 2020 (9)
20082026
  1. ▲ 2
    Visualization of all roads within any city
    story by bookofjoe · 2026-09-24 · 0 comments
  2. There is a related project which I used several times: https://github.com/anvaka/city-roads Edit: it outputs SVGs and you can try it online. Anvaka (author) has other really cool dataviz projects.
  3. It's JavaScript and exposes an extensive API via console: https://github.com/anvaka/city-roads/blob/main/API.md#loadin...
  4. …with population larger than 100,000 people and stored into a very simple protobuf format. [0] https://github.com/anvaka/city-roads
  5. Link to the github project: https://github.com/anvaka/city-roads
  6. …definition of the word ("motorway", etc) https://wiki.openstreetmap.org/wiki/Key:highway?uselang=en https://github.com/anvaka/city-roads/blob/08a21bce05ad2b08d4...
  7. ▲ 4
    Visualization of all roads within any city
    story by botayhard · 2021-01-04 · 0 comments
  8. …as well [1] [not a lawyer]. 0: https://wiki.openstreetmap.org/wiki/Legal_FAQ#3a._I_would_li... 1: https://github.com/anvaka/city-roads/blob/master/LICENSE
  9. ▲ 2
    Visualization of all roads within any city
    story by Edouar1 · 2020-01-23 · 0 comments
  10. …an experimental feature. Add "?svg=1" to the end of the URL to enable this feature [0]. [0]: https://github.com/anvaka/city-roads/issues/4
  11. …is "relationship" not node - it should work. We are trying to find a fallback for `node` types here https://github.com/anvaka/city-roads/issues/7 - we basically don't have accurate city boundaries for nodes.
  12. …think it would be worth removing the foot paths? Someone here proposes to remove them altogether: https://github.com/anvaka/city-roads/issues/3 - I'm not sure yet which direction would make more sense?
  13. …in the database, which doesn't give boundaries of the cities. We are thinking about fallback here: https://github.com/anvaka/city-roads/issues/7 but what might work better in short term: try entering a county name, and then zoom in onto…
  14. …get the boundaries... There is an ongoing discussion on the repository to give a better fallback: https://github.com/anvaka/city-roads/issues/7
  15. …an experimental feature. Add "?svg=1" to the end of the URL to enable this feature [0]. [0]: https://github.com/anvaka/city-roads/issues/4
  16. ▲ 3
    City-roads: Render every single road in any city
    story by joe_blank · 2020-01-20 · 0 comments