I’ve noticed that amenities (eg amenity=pub) mapped as nodes appear to be no longer being rendered on the historical map layer (the railway layer is OK though). See the test area for example and compare the historical and railway layers - OpenHistoricalMap . I think amenities mapped as areas though are being rendered correctly.
Is this an issue which people are aware of? It seems to have been happening for a while.
Thanks,
Paul
Thanks for the report. It looks like both the Historical and Railway styles have some issues around amenity=*
features:
opened 10:07PM - 29 Oct 24 UTC
bug
stylesheets
[As reported on the forum](https://forum.openhistoricalmap.org/t/amenities-mappe… d-as-nodes-not-being-displayed-on-historical-map-layer/322), the Historical style is no longer labeling `amenity=*` points, only the centroids of `amenity=*` areas.
## Example
At the following location, the Historic style shows labels for fewer amenities compared to the Railway style, but the Railway style shows multiple labels for the same amenity, which was the issue tracked in #543:
Historical | Railway
----|----
[![Bishop Building](https://github.com/user-attachments/assets/7c95f02b-94b2-47cd-9f64-ba5705884868)](https://embed.openhistoricalmap.org/#map=18/39.2681/-84.25891&layer=O) | [![Cocoa Bites, Bishop’s Quarter, Tano Bistro, Ramsey’s Trailside, Hops and Berry Taproom, The Works](https://github.com/user-attachments/assets/c3929cd7-8a54-46fa-ad57-66a5e7ee435d)](https://embed.openhistoricalmap.org/#map=18/39.2681/-84.25891&layer=R)
[![Loveland City Hall](https://github.com/user-attachments/assets/e73c3661-64f7-4bab-8e0e-fe2e76dd349c)](https://embed.openhistoricalmap.org/#map=20/39.2681573/-84.2574438&layer=O) | [![Loveland City Hall, Loveland City Hall, Loveland City Hall, Loveland City Hall, Loveland City Hall, Loveland City Hall](https://github.com/user-attachments/assets/dc310d2c-7c12-4ea9-bdc9-061f34ee24f7)](https://embed.openhistoricalmap.org/#map=20/39.2681573/-84.2574438&layer=R)
## Diagnosis
Analogous symbol layers in the Historical and Railway layers are rendering inconsistent source layers:
Layer | Historical | Railway
----|----|----
`points_of_interest_fromareasz14` | [`amenity_areas_centroids`](https://github.com/OpenHistoricalMap/map-styles/blob/0a3584f80897c31dfb075b18c3da121138df881b/main/main.json#L5648) | [`amenity_areas`](https://github.com/OpenHistoricalMap/map-styles/blob/0a3584f80897c31dfb075b18c3da121138df881b/rail/rail.js#L5105)
`points_of_interest_fromareas` | [`amenity_areas_centroids`](https://github.com/OpenHistoricalMap/map-styles/blob/0a3584f80897c31dfb075b18c3da121138df881b/main/main.json#L5691) | [`amenity_areas`](https://github.com/OpenHistoricalMap/map-styles/blob/0a3584f80897c31dfb075b18c3da121138df881b/rail/rail.js#L5147)
`points_of_interest_amenity_14` | [`amenity_points_centroids`](https://github.com/OpenHistoricalMap/map-styles/blob/0a3584f80897c31dfb075b18c3da121138df881b/main/main.json#L5727) | [`amenity_points`](https://github.com/OpenHistoricalMap/map-styles/blob/0a3584f80897c31dfb075b18c3da121138df881b/rail/rail.js#L5173)
`points_of_interest_amenity` | [`amenity_points_centroids`](https://github.com/OpenHistoricalMap/map-styles/blob/0a3584f80897c31dfb075b18c3da121138df881b/main/main.json#L5751) | [`amenity_points`](https://github.com/OpenHistoricalMap/map-styles/blob/0a3584f80897c31dfb075b18c3da121138df881b/rail/rail.js#L5197)
Amenities such as [Bishop’s Quarter](https://www.openhistoricalmap.org/node/2096827903) are mapped as points, so they appear in the [`amenity_points`](https://vtiles.openhistoricalmap.org/#19/39.2681/-84.25891) layer, but others like [Loveland City Hall](https://www.openhistoricalmap.org/way/198841746) are mapped as areas, so they appear in the `amenity_areas` and `amenity_areas_centroids` layers:
<img src="https://github.com/user-attachments/assets/c50b1786-9233-49ae-817a-26149b13a569" width="250" alt="amenity_points" align="top"> <img src="https://github.com/user-attachments/assets/2dcfa31a-0a5e-4230-a1f3-2c355e50145c" width="250" alt="amenity_areas" align="top"> <img src="https://github.com/user-attachments/assets/88f9229e-1bb5-43b1-b138-72e2eddb43cd" width="250" alt="amenity_areas_centroids" align="top">
This regression might have been introduced with the fix for #543. As far as I can tell, the Historical style has too many layers referring to `amenity_areas_centroids` and not enough referring to `amenity_points`, while the Railway style has too many layers referring to `amenity_areas` and not enough referring to `amenity_areas_centroids`.
2 Likes
By way of an update, we fixed the issue in the style on staging, so you can see amenity labels on the embed site with the staging layer enabled . We tried to deploy these changes to production for the main site yesterday, but some unrelated changes broke the time slider, so we had to roll back the deployment. Unfortunately, we won’t be able to get amenity labels back on the main site until we modernize the time slider to handle the more recent changes to the stylesheet.