You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
transport_lines simplification is too aggressive #1244
Sometime the last days the map has started to look very crude. It is displaying way less nodes than what is needed for curves to look smooth, simplifing them too much in the vector tiles, so there are now jagged corners everywhere.
This is most noticable on ORM:
At z10, we perform Douglas–Peucker simplification (ST_Simplify) on transport_lines with a tolerance of 100 but on route_lines with a tolerance of only 20:
Activity
1ec5 commentedon Jan 3, 2026
The simplification is coming from the server side, baked into the tiles.
transport_linesroute_linestransport_lines+route_linesAt z10, we perform Douglas–Peucker simplification (
ST_Simplify) ontransport_lineswith a tolerance of 100 but onroute_lineswith a tolerance of only 20:https://github.com/OpenHistoricalMap/ohm-deploy/blob/ebb10a25f8265cc02b9a0cb9559ac98e907e6393/images/tiler-imposm/queries/ohm_mviews/transport_lines.sql#L172
https://github.com/OpenHistoricalMap/ohm-deploy/blob/ebb10a25f8265cc02b9a0cb9559ac98e907e6393/images/tiler-imposm/queries/ohm_mviews/routes_03_mv.sql#L398
The simplification on
transport_linesshould probably be less aggressive, since tight curves of this sort are not uncommon.[-]map is noticably low poly[/-][+]`transport_lines` simplification is too aggressive[/+]Rub21 commentedon Jan 3, 2026
I am going to check this and fix it.
Rub21 commentedon Jan 9, 2026
I’ve improved the aggressive simplification. Here’s a comparison between the current production version and staging, showing the changes.
https://tiler-compare.openhistoricalmap.org/vtiles_map_style/index.html?prod=vtiles_style&staging=vtiles_style#11.03/49.0699/9.2322
Screen.Recording.2026-01-09.at.1.04.52.PM.mov
Rub21 commentedon Jan 12, 2026
fixed!