Skip to content

Road atlas style #538

Open
0 of 1 issue completed
Open

Description

@1ec5

The style switcher is currently being utilized for different artistic alternatives to the main Historic style, but this mechanism would also be useful for thematic styles, such as transportation. #405 proposes a railroad-themed style, so I think a more road-centric style would be good for balance.

OpenStreetMap Americana could be a good starting point for something resembling a road atlas. Like the Historic style, it’s a client-side style applied to vector tiles downloaded to the client. This means adapting it to OpenHistoricalMap is mainly a matter of adjusting the filters and such to refer to OHM’s tile schema instead of OpenMapTiles. The style conforms to the MapLibre Style Specification, which is almost one-for-one compatible with the Mapbox Style Specification that ohm-website currently requires.1

At this point, the main Americentric detail in OSM Americana is that the road linework and labeling hews to North American conventions instead of European/Commonwealth conventions – that is, road classifications affect line widths rather than line colors. But road classification in OHM is such an unexplored topic that I don’t think this difference should be considered a showstopper.

Footnotes

  1. Except for text-rotation-alignment: viewport-glyph to keep shields upright, which is only part of the MapLibre Style Specification: Shield rotation maplibre/maplibre-gl-js#716. ↩

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. 1ec5 commented on May 23, 2023

    @1ec5
    MemberAuthor

    Needless to say, the road data in OHM isn’t quite where it needs to be for an OHM Americana to look anything like OSM Americana. But a road-centric style could help motivate existing road mappers and, more importantly, attract roadgeeks from other open-content projects that stand to gain from a visualization of historic roads.

  2. moved this from Bluesky to Future in OHM Cartoon Apr 11, 2024
  3. 1ec5 commented on Apr 15, 2024

    @1ec5
    MemberAuthor

    Blocked by #705.

  4. added theissue type on Mar 16, 2025
  5. 1ec5 commented on Jul 4, 2025

    @1ec5
    MemberAuthor

    The OSM Americana project is starting to investigate what it would take to stand up an OHM Americana variant. The first steps will probably be cleanup in the existing repository to improve extensibility. The OHM tile schema differs significantly from OpenMapTiles, in some cases structurally, so the Americana codebase would need to be able to accomodate those changes.

    The style conforms to the MapLibre Style Specification, which is almost one-for-one compatible with the Mapbox Style Specification that ohm-website currently requires.

    ohm-website has since migrated to MapLibre, and compatibility with the Mapbox Style Specification is no longer a priority due to breakage outside our control: #963.

    Blocked by #705.

    Route relations are once again exposed in the tiles: #717 (comment). Ideally, the tiler would do some postprocessing to join concurrent routes together (#1090), but the new layer should at least be enough to get started with basic route shield support, leaving concurrencies for later.

    /cc @ZeLonewolf

  6. 1ec5 commented on Oct 8, 2025

    @1ec5
    MemberAuthor

    Features that OHM vector tiles would need to fully support OSM Americana:

    OHM vector tiles and OpenMapTiles have some significant schema differences that the Americana project would need to pay attention to:

    OMT layer OMT field OHM layer OHM field
    aeroway class transport_lines
    transport_areas
    type
    boundary admin_level land_ohm_lines type: administrative
    admin_level
    building buildings
    landcover subclass landuse_areas type
    landuse class landuse_areas type
    place class: city etc. place_points_centroids type
    place class: state etc. land_ohm_centroids type: administrative
    admin_level
    poi class other_points_centroids type
    poi subclass other_points_centroids class
    transportation class transport_lines type
    transportation class: pier other_areas
    other_lines
    type: pier
    transportation brunnel transport_lines bridge
    tunnel
    transportation ramp: 1 transport_lines type: *_link
    transportation_name class: motorway
    subclass: junction
    transport_lines_centroids type: motorway_junction
    transportation_name name transport_lines name
    transportation_name route_1_network route_lines route_road_1_network
    water class water_areas type
    waterway class water_lines type

    Also:

    • highway=unclassified/residential stay as is rather than becoming a highway of minor.
  7. 1ec5 commented on Dec 30, 2025

    @1ec5
    MemberAuthor

    Another big difference is that OpenMapTiles represents the oceans as water features and landmasses as the absence of water features. By contrast, the OHM tiles represent landmasses as land features and the oceans as the absence of land features. From a developer perspective, this makes OSM’s water lines feature much more difficult to implement. From an end user perspective, the main difference is that there’s always a flash of blue before the land features load.

  8. CharliePlett commented on Jan 31, 2026

    @CharliePlett

    I've recently been bothered that secondary roads aren't being displayed prominently. They show up like tertiary roads.

  9. 1ec5 commented on Jan 31, 2026

    @1ec5
    MemberAuthor

    Can you file a separate issue about that? We can improve the Historical style’s treatment of roads in parallel with standing up a specialized road atlas style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    • Status
      Special Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions