OpenStreetMap 标志 OpenStreetMap

River names not being displayed

compdude 于 2010年六月22日 以 English 发布

I just uploaded some new rivers a few days ago. I entered their names in a "name=" tag, but the names aren't displayed in mapnik. Even when I zoom in all the way, I still don't see the river names. But I noticed they are displayed in Osmarender.

What's up with that? Why does Mapnik only display the names of streams and not rivers? Please tell me why and if there's another tag I could use.

位置: Chinatown, Chinatown International District, Seattle, King County, Washington, United States
电子邮件图标 Bluesky图标 Facebook图标 LinkedIn图标 Mastodon图标 Telegram图标 X图标

讨论

Rogerdodger2010年06月23日 05:37 的评论

Sorry but I have no answer for you question, but I have one to ask you, and I hope its not too stupid a question. How do you actually map rivers and streams? I mean you can't walk down the middle of one, so do you just walk the river bank? Seems like you'd be in for some jungle thrashing to make it down some of the rivers I know.

c2r2010年06月23日 07:17 的评论

You could map them from a boat, from the banks, or from aerial photos.....

IknowJoseph2010年06月23日 11:26 的评论

Are you sure they're not being displayed? Have you cleared your browser cache? Streams are named in Mapnik: osm.org/?lat=51.73885&lon=-1.24259&zoom=17&layers=B000FTF

IknowJoseph2010年06月23日 11:33 的评论

Sorry, I misread your first post. *Rivers* don't seem to be named. Yes, I've just noticed that myself. I'd keep using the name tag, however, it's the correct one to use. No need to break the database to account for problems in the renderer.

Vclaw2010年06月23日 15:07 的评论

Seems like a bug, it's been reported here:http://trac.openstreetmap.org/ticket/2514
Though nothing seems to have happened with that for months. I though it would be a fairly simple fix if streams and canals etc are named correctly.

01234567892010年06月23日 18:32 的评论

I doubt it is fairly simple: streams, canals, etc are simply single ways. Rivers are not mapped as rivers, but as riverbanks. I'm pretty sure that epically complicates the rendering.

Sanderd172010年06月23日 20:08 的评论

I have seen mappers drawing a river bank with in the middle a singel street for the name. This is purely for rendering so it's not such a good idea.

Vclaw2010年06月23日 22:42 的评论

Rivers should be mapped as an area (tagged waterway=riverbank) and a way (tagged waterway=river). See osm.wiki/Tag:waterway%3Driverbank

Its not just for rendering, it also indicates the direction the river is flowing. And it could also be used for routing, or measuring the length of a river etc.

compdude2010年06月25日 01:06 的评论

@Vclaw it says that if it's a narrow river, then you don't need to do the riverbank.

登录以留下评论