Closed quantenschaum closed 1 year ago
OsmAnd~ 4.6.0#871m, released: 2023-10-13 Not reproduced
The display of marine objects has changed significantly since the last release. Please see screenshots and tell if everything is ok for you.
Tested on
Actual result:
1 | 2 |
---|---|
Well, you did reproduce the described behavior.
seamark:radar_transponder:group
is presentseamark:fog_signal=yes
is not rendered at all.IMHO fog signals and radar transponders should not be part of the light characteristics string, there are dedicated symbols for these properties, which should be used instead. The necessary icons are already present in OsmAnd.
Here I generated another test dataset, please try it.
The "actual" screenshot and OBF were created with my modified versions of
Feel free to copy (from) these files.
actual
expected
OsmAnd version 4.6.3
If the proposed changes are implemented, then it will also be necessary to change the map legend. https://osmand.net/docs/user/map-legend/nautical-map#lights
Actually not. The legend does already show the fog signal and radar transponder icons as expected.
Just some of the tags do not make it into the OBF and some are not used in the render.xml
. So, the symbols depicted in the legend are missing on the actual map on features that do have i.e. a fog signal.
Dev notes: This bug was introduced by this commit line 6949 `
` Problem is in fact that entity_convert pattern="tag_combine" removes original tags them from the object but we use seamark:fog_signal:category and seamark:radar_transponder:category in rendering. I propose to add parameter keep_original_tags="true" to entity_convert pattern="tag_combine". I've commented out these strings until this is implemented. to_tag2 will not work because it produces combined value.
@xmd5a2 you just need to write to_tag8="seamark:fog_signal:category"
Same for radar_transponder
and seamark:fog_signal=yes
is not processed at all.
The fog signal category (horn, bell, ...) does not belong in the light characteristics string. The symbol is sufficient, the category, if present, should be printed as word next to the ((( symbol.
@xmd5a2 you just need to write
to_tag8="seamark:fog_signal:category"
Doesn't work. This also produces combined value. I think these lines should be commented out until this is fixed.
@quantenschaum seamark:fog_signal=yes is not described in wiki and used infrequently: just 46 appearances.
@xmd5a2 It is described in the Wiki: https://wiki.openstreetmap.org/wiki/Tag:seamark:fog_signal%3Dyes
And it does make sense in cases where there is a fog signal but it is not specified what kind of signal it is.
OsmAnd~ 4.6.0#1205m, released: 2023-12-13 World seamarks map and standard maps are updated to the latest versions (it is stated that they are from 01/12/2023)
seamark:fog_signal:group
.
As I understand, this object should have a Fog signal icon attached. But it still displays the same way (as before), it does not have fog icon.
Description
see title
possible reason:
seamark:radar_transponder:category
andseamark:fog_signal:category
are consumed by entity conversion inrendering_types.xml
, such that<apply_if additional="seamark:fog_signal:category" ...
will never be activated.Steps to reproduce
look at this test data
test.zip
Actual result
Expected result
Your Environment (required)