Skip to content

Commit fc9dd4c

Browse files
author
Andy Townsend
committed
More restaurant cuisines
1 parent 0c3c37c commit fc9dd4c

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

changelog.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
# Changes made to this rendering
22
This page describes changes made in these projects: [SomeoneElse-style](https://github.com/SomeoneElseOSM/SomeoneElse-style), [SomeoneElse-style-legend](https://github.com/SomeoneElseOSM/SomeoneElse-style-legend) and [openstreetmap-carto-AJT](https://github.com/SomeoneElseOSM/openstreetmap-carto-AJT), and visible [on this site](//map.atownsend.org.uk/maps/map/map.html). Since 2025 this also includes changes to lua code shared between raster and vector processing - hence the notes below about which a particular change applies to. See [this changelog](https://github.com/SomeoneElseOSM/SomeoneElse-vector-extract/blob/main/resources/changelog_sve01.md) for where changes here affect the vector schema, and also other vector-only ones.
33

4-
## As yet unreleased
5-
(raster, vector) Use a unique icon for Indian, Chinese, Italian, Fish and Chips, Burger, Coffee Shop, Sandwich, Chicken and Kebab resturants.
4+
## 04/06/2025
5+
(raster, vector) Use a unique icon for Indian, Chinese, Italian, Fish and Chips, Burger, Coffee Shop, Sandwich, Chicken, Kebab and British resturants.
66

7-
## Vector 01/06/2025, raster as yet unreleased
7+
## Vector 01/06/2025, raster 04/06/2025
88
(raster, vector) Use a unique icon for Indian resturants.
99

10-
## Vector 31/05/2025, raster as yet unreleased
10+
## Vector 31/05/2025, raster 04/06/2025
1111
(raster, vector) Use the `restaurant` tag on a pub to tell that it serves food.
1212

13-
## Vector 27/05/2025, raster as yet unreleased
13+
## Vector 27/05/2025, raster 04/06/2025
1414
(raster, vector) Use a characteristic icon for `golf=pin` rather than generic leisure one.
1515

16-
## Vector 26/05/2025, raster as yet unreleased
16+
## Vector 26/05/2025, raster 04/06/2025
1717
(raster, vector) Treat various other `information` values as either new (stele, artwork) or existing.
1818

1919
## Vector and raster 26/05/2025
2020
(raster, vector) Treat `information=information_office` as `information=office`.
2121

2222
## Vector 26/05/2025
23-
(vector) For trees with a sensble `diameter_crown`, set that as an attribute for later use.
24-
(vector) For trees without a sensble `diameter_crown`, set "5" as an attribute.
23+
(vector) For trees with a sensible `diameter_crown`, set that as an attribute for later use.
24+
(vector) For trees without a sensible `diameter_crown`, set "5" as an attribute.
2525

2626
## Vector 25/05/2025, Raster 26/05/2025
2727
(raster, vector) Revisit `basin` values to decide which are wet all the time and which merely `flood_prone`. `intermittent` is still considered.

shared_lua.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4249,6 +4249,17 @@ function consolidate_lua_03_t( passedt )
42494249
passedt.amenity = "restaurant_kebab"
42504250
end
42514251

4252+
if (( passedt.amenity == "restaurant" ) and
4253+
(( passedt.cuisine == "british" ) or
4254+
( passedt.cuisine == "english" ) or
4255+
( passedt.cuisine == "pie_and_mash" ) or
4256+
( passedt.cuisine == "pub" ) or
4257+
( passedt.cuisine == "british;breakfast" ) or
4258+
( passedt.cuisine == "breakfast;british" ) or
4259+
( passedt.cuisine == "modern_british" ))) then
4260+
passedt.amenity = "restaurant_british"
4261+
end
4262+
42524263
-- ----------------------------------------------------------------------------
42534264
-- "cafe" - consolidation of lesser used tags
42544265
-- ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)