開放街圖標誌 OpenStreetMap 開放街圖

Ways and relations

於 2012年二月28日 由 dppEnglish發表。

Dear all, I'm looking at Mapnik in Tokyo. There are ways for main highways that are split at most of the cross streets. Upon rendering, the ref gets displayed for each little segment. That seems like an eyesore to me, though that could just be my taste.

osm.org/?lat=35.71219&lon=139.56661&zoom=16&layers=M

Well, it also turns out that these roads are good candidates for route relations, seeing as different segments of the roads have different overlapping names. In the map above, we see Tokyo Route 7, which is officially called "Tokyo Route 7" (in Japanese), but in certain places it has other official names, too. For example, in the segment shown above, it also has the official name of "Itsukaichi Kaido".

So I could put "name=Tokyo Route 7" (in Japanese) and "ref=7" information into a road route. And I could also remove "ref=7" from the member ways. I have little experience with creating relations, though there is documentation that seems clear enough. But should I?

Thoughts on what is appropriate here?

位置: Kichijoji-kitamachi 4-chome, Musashino, Tokyo, 180-0001, Japan
電子郵件圖示 藍天圖示 Facebook 圖示 LinkedIn 圖示 乳齒象圖示 Telegram 圖示 X 圖示

討論

Wynndale2012年03月 1日 13時25分 發表的評論

First of all you would probably be better off asking this question on the OSM Help Centre or a Japan-related Contact channel.

Whether or not it is better to use route relations for road numbers is a question of local conditions such as whether roads are signed with two numbers equally.

There is generally no need to repeat the numbers of roads in their names.

登入 來留下評論