Repository navigation
Description
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
-
Except for
text-rotation-alignment: viewport-glyphto keep shields upright, which is only part of the MapLibre Style Specification: Shield rotation maplibre/maplibre-gl-js#716. ↩
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsSpecial Projects
Activity
1ec5 commentedon May 23, 2023
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.
1ec5 commentedon Apr 15, 2024
Blocked by #705.
1ec5 commentedon Jul 4, 2025
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.
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.
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
1ec5 commentedon Oct 8, 2025
Features that OHM vector tiles would need to fully support OSM Americana:
transport_linesshould exposeexpressway=*#1321landuse=residential)OHM vector tiles and OpenMapTiles have some significant schema differences that the Americana project would need to pay attention to:
aerowayclasstransport_linestransport_areastypeboundaryadmin_levelland_ohm_linestype:administrativeadmin_levelbuildingbuildingslandcoversubclasslanduse_areastypelanduseclasslanduse_areastypeplaceclass:cityetc.place_points_centroidstypeplaceclass:stateetc.land_ohm_centroidstype:administrativeadmin_levelpoiclassother_points_centroidstypepoisubclassother_points_centroidsclasstransportationclasstransport_linestypetransportationclass:pierother_areasother_linestype:piertransportationbrunneltransport_linesbridgetunneltransportationramp:1transport_linestype:*_linktransportation_nameclass:motorwaysubclass:junctiontransport_lines_centroidstype:motorway_junctiontransportation_namenametransport_linesnametransportation_nameroute_1_networkroute_linesroute_road_1_networkwaterclasswater_areastypewaterwayclasswater_linestypeAlso:
highway=unclassified/residentialstay as is rather than becoming ahighwayofminor.1ec5 commentedon Dec 30, 2025
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.
route_lineslayer should indicate highway classification #1272CharliePlett commentedon Jan 31, 2026
I've recently been bothered that secondary roads aren't being displayed prominently. They show up like tertiary roads.
1ec5 commentedon Jan 31, 2026
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.
transport_linesshould exposeexpressway=*#1321