Changing of histor-style - the 3rd

Posted by histor on 28 January 2020 in German (Deutsch).

Let us have an eye to the buslines - like here []

Yes - it is an illegetime child of the streetcar - only in green instead of red. Here you really are mapping for rendering - but you can show your important bus-lines in your city. Name can be given to the line and to the stop. This feature is not foreseen for long-distance buslines from city to city - it is possible, but may be not good looking.

Tagging see [] Why “railway”? To take a structure, the renderer know. Why “busline” and not only “bus”? To avoid a key-word for mapping, which may be possible in the future by a standard-style.

Comment from iiEarth on 28 January 2020 at 00:35

Hm, this is interesting. I always wanted a ‘line’ for buses. Is it possible to change the color of the line to correspond with the name of the line (‘Red Line’, ‘Blue Line’, et cetera)?

Comment from austinhuang on 28 January 2020 at 00:40

Wouldn’t it be possible to tag the route relations (type=route, route=bus/trolleybus) instead of drawing a fake railway tag?

Comment from histor on 28 January 2020 at 07:48

@ iiEarth: Hmm, how many bus-lines you will have in your town? This system of coloured lines is state of the art 1870. I do not think, this can be a good soloution for today (sorry to Washington and its subway system).

@ austinhuang: Let me try with “route”, but this needs some time.

Comment from zhenkang on 29 January 2020 at 12:59

Actually about railways… is it also possible to show the different track gauges on the map?

Comment from histor on 29 January 2020 at 14:36

You can differ between “main” (in red), “local” (in green - means commuter in english) and “freight” (in sierra.brown), if you tag this as service=xxxx additional to railway=rail. Also there are the other usual service tags possible as spur, siding etc. If you tag no additional main, local or freight, your railway will appear in the usual gray of the standard-style. Please see []

There is a bug with the colours in the moment, if your rails are in a tunnel - I work at this,

Comment from histor on 29 January 2020 at 14:46

@ Zhenkang = that means, that “spur” shall announce a smaller gauge. The lines on the map are thick only few pixel (or parts of a pixel) - so I think, this 1.000-spur tracks must be very thin, to see a difference to the normal spur. And I am not sure, that the renderer will take a tag like “spur=1000” or “spur=1435” from the database. In other words: Few to see, but a lot of work to realize it not only in the style itself, but in the background also. But sure, theoretical it is possible.

Comment from DudeMap555 on 31 January 2020 at 21:41

also, modify the map so that it doesn’t look messy when you zoom out. when the zoom level is 5, places like Gobrassanya look pretty janky on the map.

Login to leave a comment