Skip to content

s57: merge update attributes into the base set - #47

Merged
beetlebugorg merged 1 commit into
mainfrom
fix/s57-update-attr-merge
Aug 5, 2026
Merged

s57: merge update attributes into the base set#47
beetlebugorg merged 1 commit into
mainfrom
fix/s57-update-attr-merge

Conversation

@beetlebugorg

Copy link
Copy Markdown
Owner

An update record contains only the changed attributes (S-57 sec. 8.4.2.1). The old code replaced the full attribute set. The attributes that the update did not contain were lost. The chart then showed those objects with the "?" symbol.

The new code merges each changed attribute into the base set. A DEL value (0x7F) removes only its own attribute. All other attributes stay.

An update record contains only the changed attributes (S-57
sec. 8.4.2.1). The old code replaced the full attribute set. The
attributes that the update did not contain were lost. The chart then
showed those objects with the "?" symbol.

The new code merges each changed attribute into the base set. A DEL
value (0x7F) removes only its own attribute. All other attributes
stay.
@beetlebugorg
beetlebugorg merged commit e1c6811 into main Aug 5, 2026
5 checks passed
@beetlebugorg
beetlebugorg deleted the fix/s57-update-attr-merge branch August 5, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant