Opened 9 years ago

Closed 9 years ago

#1571 closed enhancement (fixed)

rendering of highway=platform; railway=platform

Reported by: itschytoo Owned by: osm@…
Priority: major Milestone:
Component: osmarender Version:
Keywords: rules, highway, platform, railway Cc:

Description

I'm using highway=platform to model larger bus_stop-platforms.

This is in analogus to railway=platform.

Both are not currently rendered on the map.

I propose to have these two combinations rendered like highway=living_street (i.e. darker grey).

This should be done for way, area and node (in the last case just a small circle).

Please also display the contents of the "ref="-tag, as it would contain the platforms number (like "ref=9 3/4").

Thank you.

Attachments (7)

platform.patch (1.3 KB) - added by osm@… 9 years ago.
render highway=platform and railway=platform
all_below.png (101.4 KB) - added by osm@… 9 years ago.
casing_above.2.png (101.8 KB) - added by osm@… 9 years ago.
all_above.2.png (101.3 KB) - added by osm@… 9 years ago.
in_between.2.png (100.2 KB) - added by osm@… 9 years ago.
in_between-darker.png (100.2 KB) - added by osm@… 9 years ago.
in_between-grayer.png (100.1 KB) - added by osm@… 9 years ago.

Download all attachments as: .zip

Change History (17)

comment:1 Changed 9 years ago by itschytoo

Sorry, I meant: "render it like highway=pedestrian" (not highway=living_street).

comment:2 follow-up: Changed 9 years ago by osm@…

  • Status changed from new to assigned

It's not hard (actually I already have a patch that does the trick), but I see lot's of problems with that:

1.) The street the bus is using is rendered unrealistic wide and obscures the platform.

2.) Mappers would be very tempted to map the platform in the wrong location to get around problem #1.

3.) The ref is most likely longer than just "4"

Changed 9 years ago by osm@…

render highway=platform and railway=platform

comment:3 in reply to: ↑ 2 Changed 9 years ago by bob@…

Replying to osm@petschge.de:

It's not hard (actually I already have a patch that does the trick), but I see lot's of problems with that:

1.) The street the bus is using is rendered unrealistic wide and obscures the platform.

Why not render platforms above roads? At least the casing, maybe the core too.

2.) Mappers would be very tempted to map the platform in the wrong location to get around problem #1.

3.) The ref is most likely longer than just "4"

Most places I've seen the platforms are just numbered, you seldom get too many digits...

Changed 9 years ago by osm@…

Changed 9 years ago by osm@…

Changed 9 years ago by osm@…

comment:4 Changed 9 years ago by osm@…

take your pick from the style examples...

Changed 9 years ago by osm@…

comment:5 Changed 9 years ago by itschytoo

Hi.
I would choose the "all_below"-Variant.

If we have an area, it would probably be no problem, as it shares its border with the highway.

If the platform is a way, and its real near to the highway, it would probably be enough if only a small part is visible. Its mainly something for high zoom levels anyway. But especially train stations and larger bus stops would look much more lively.

comment:6 Changed 9 years ago by itschytoo

In afterthought: that "in-between"-example might also be neat. How does it work?
Then it should be a bit darker though...

comment:7 Changed 9 years ago by bob@…

in-between is my favourite. And I agree a darker grey core may be a good idea.

comment:8 Changed 9 years ago by osm@…

basically by handling platform after the highway casings are drawn and before the highway cores are drawn. Making it a bit darker wouldn't be hard.

Changed 9 years ago by osm@…

comment:9 Changed 9 years ago by itschytoo

Thanks. Nearly perfect.
Bit to brownish I would say (probably try less red). Maybe just me though.
Otherwise I like it a lot.

Changed 9 years ago by osm@…

comment:10 Changed 9 years ago by petschge

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [13638]) Render highway=platform and railway=platform for ways and nodes. Also
render ref tag if available.
Further refinement of test data for bus stops.
Fixes #1571

Note: See TracTickets for help on using tickets.