Skip to content

Commit 4719243

Browse files
author
Andy Townsend
committed
Detect wrecks that have seamark and not historic tags.
Update changelog for release.
1 parent 4b5cfae commit 4719243

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

changelog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
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
4+
## 15/02/2026
55
(raster, vector) Handle `amenity=dressing_room`
66
(raster, vector) Handle `amenity=reception_desk`
77
(raster, vector) Handle `amenity=payment_terminal`
88
(raster, vector) Added `amenity=prep_school` to list of nonspecific shops.
99
(raster, vector) Fixed bug whereby `oneway=no` was missed when deciding if a road was one way or not.
1010
(raster, vector) Handle `intermittent=dry` as intermittent.
1111
(raster, vector) Use `motorcar` on BOATs in the same way as `motor_vehicle` to check for TROs.
12+
(raster, vector) Detect wrecks that have `seamark` and not `historic` tags.
1213

13-
## Raster as yet unreleased, vector 09/02/2026
14+
## Raster 15/02/2026, vector 09/02/2026
1415
(raster, vector) Include some `route=horse` along with `network=nhn` etc. to show horse routes.
1516
(raster, vector) Detect wet meadows that are tagged as `meadow=wet_meadow`.
1617
(raster, vector) Treat `meadow=mown` like `meadow=hay`.

shared_lua.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3320,6 +3320,17 @@ function consolidate_lua_03_t( passedt )
33203320
passedt.leisure = "pitch"
33213321
end
33223322

3323+
-- ----------------------------------------------------------------------------
3324+
-- Before we start doing comparisons that include historic=wreck, make sure
3325+
-- that we have caught them all.
3326+
-- ----------------------------------------------------------------------------
3327+
if (( passedt["seamark:type"] == "wreck" ) and
3328+
( passedt["seamark:wreck:water_level"] ~= "submerged" ) and
3329+
(( passedt.historic == nil ) or
3330+
( passedt.historic == "" ))) then
3331+
passedt.historic = "wreck"
3332+
end
3333+
33233334
-- ----------------------------------------------------------------------------
33243335
-- Things that are both viewpoints or attractions and monuments or memorials
33253336
-- should render as the latter. Some are handled further down too.

taginfo.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"data_format": 1,
33
"data_url": "https://raw.githubusercontent.com/SomeoneElseOSM/SomeoneElse-style/master/taginfo.json",
4-
"data_updated": "20260212T175901Z",
4+
"data_updated": "20260215T152502Z",
55
"project": {
66
"name": "SomeoneElse: Rural pedestrian CartoCSS maps",
77
"description": "This map style is designed for England and Wales-based rural pedestrians. It shows public rights of way and long distance paths.",
@@ -3103,10 +3103,13 @@
31033103
{ "key": "scramble", "value": "yes", "description": "Shown as intermediate trail" },
31043104
{ "key": "seamark:rescue_station:category", "description": "Lifeboats" },
31053105
{ "key": "seamark:rescue_station:category", "value": "lifeboat_on_mooring", "description": "Lifeboats" },
3106-
{ "key": "seamark:type", "description": "Coast guards and marine farms" },
3106+
{ "key": "seamark:type", "description": "Detect some seamark tags that are regular OSM features not mapped with regular OSM tags" },
31073107
{ "key": "seamark:type", "value": "coastguard_station", "description": "Coast guards" },
31083108
{ "key": "seamark:type", "value": "marine_farm", "description": "Show marine farms as commercial landuse" },
31093109
{ "key": "seamark:type", "value": "pipeline_submarine", "description": "Show pipelines" },
3110+
{ "key": "seamark:type", "value": "wreck", "description": "If not submerged, synonym for 'historic=wreck'. Shown as building and as a historic red wreck", "icon_url": "https://raw.githubusercontent.com/SomeoneElseOSM/openstreetmap-carto-AJT/master/symbols/historic_wreck.png" },
3111+
{ "key": "seamark:wreck:water_level", "description": "Used to detect non-submerged wrecks" },
3112+
{ "key": "seamark:wreck:water_level", "value": "submerged", "description": "Any value other than this is treated as not submerged" },
31103113
{ "key": "segregated", "description": "Detect sidewalks" },
31113114
{ "key": "segregated", "value": "right", "description": "Detect sidewalks" },
31123115
{ "key": "segregated", "value": "yes", "description": "Detect sidewalks" },

0 commit comments

Comments
 (0)