OpenStreetMap 로고 OpenStreetMap

When to flip north-south road names

jidanni님이 English로 2023년 8월 13일에 게시함.

North America has a lot of streets that go “straight north and south”.

This presents a difficulty because once a road’s azimuth goes left of due north, its labels must flip to avoid becoming upside down (as the street continues curving.)

This is not usually a problem with straight parallel streets, as all will be left or right of due north, thus their labels will all either read all upwards or all downwards.

So why do the labels on Brown Avenue, in Evanston, IL USA flip back and forth, disturbingly different than its neighboring fellow north-south streets? (See osm.org/way/23392043 and inspect its avenue name at different zoom levels.)

Ah ha, because it wavers sightly back and forth over true north! Let’s check those azimuths as we go along it:

wget https://www.openstreetmap.org/api/0.6/way/23392043/full
perl -F\" -awnle 'next unless $#F==18; print "@F[-2,-4]"' full |
  sort -k 2n | gmt mapproject -Aof -o2
NaN
1.34312351808
1.4347131823
0.581553728998
-0.40040076319
-0.406099373288
0.930238524534
0.595013044226
1.17968994378

Anyway, “you got to draw the line somewhere” for when to flip lettering, so it’s at true north. Adding some “AI fuzz factor” would probably just complicate algorithms.

위치: Ashland Arts, Evanston, Evanston Township, Cook County, Illinois, 60201, United States
이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

댓글을 남기려면 로그인하세요