This mailing list has been migrated to Mailman 3. This archive will no longer be updated. Messages after 1 February 2020 are missing. Please use the new archive instead.
Diese Mailingliste wurde auf Mailman 3 umgestellt. Dieses Archiv wird nicht mehr länger aktualisiert. Nachrichten nach dem 1. Februar 2020 fehlen. Bitte benutze das neue Archiv.

[openrailwaymap] Suggestion for openrailwaymap.org rendering: Use maxspeed instead of layer

Alexander Matheisen AlexanderMatheisen at ish.de
Tue Mar 4 19:25:57 MET 2014


Hello,

On So, 2014-02-23 at 19:13 +0100, Philipp Klaus Krause wrote:
> For the speed theme, I suggest to render faster lines on top of slow
> ones. I guess that the speed theme is used by people who want to find
> which and where the fast lines are. Currently, this doesn't work well:
> E.g. the Lötschbergbasistunnel at 250 km/h is not visible in many zoom
> levels, since the slower Lötschberg-Bergstrecke is visible instead (in
> some zoom levels, the number "250" from the Lötschbergbasistunnel is
> visible, but the color is the 80 km/h turquoise of the
> Lötschberg-Bergstrecke. The problem is also widespread in Austria.

i fixed this bug.

The problem was the built-in layering of the renderer. This caused that
highspeed lines were hidden by lowspeed lines because the highspeed
lines were tunnels with layer=-1.
Now I have modified the renderer, so that he ignores any
tunnel/bridge/layer tag in the maxspeed layer. [1]

There were also some modifications of the MapCSS style necessary because
JOSM and KothicJS seem to have problems with too complex rendering
rules. [2]

The changes can be seen after the next rerendering of the tiles or
manually by adding "/dirty" at the URL of a tile.

[1]
https://github.com/rurseekatze/node-tileserver/commit/18efa0f1eba22ab36ec38eb6eb181f4fe663baa8
[2]
https://github.com/rurseekatze/OpenRailwayMap/commit/07e81da646d1808fd48426369b677e82c38ef65f


Regards
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openrailwaymap.org/archives/openrailwaymap/attachments/20140304/70d60e5d/attachment.sig>


More information about the Openrailwaymap mailing list