Skip to content

fix flatten dropping intermediate object names for values nested two levels inside an array - #630

Merged
cportele merged 1 commit into
masterfrom
fix-mvt-flatten-nested-object-in-array
Sep 9, 2026
Merged

cportele merged 1 commit into
masterfrom
fix-mvt-flatten-nested-object-in-array

Conversation

@cportele

@cportele cportele commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Closes ldproxy/ldproxy#1773

FeaturePropertyTransformerFlatten only appended the last path segment beyond an open array when rewriting a value's path, so a property that is itself an object (array -> object -> object -> scalar) lost its own name and collided with the array item's other properties, causing it to be silently dropped from flattened output such as vector tiles.

…levels inside an array

FeaturePropertyTransformerFlatten only appended the last path segment
beyond an open array when rewriting a value's path, so a property that
is itself an object (array -> object -> object -> scalar) lost its own
name and collided with the array item's other properties, causing it
to be silently dropped from flattened output such as vector tiles.
@cportele
cportele requested a review from azahnen as a code owner September 9, 2026 10:41
@cportele
cportele merged commit bb02645 into master Sep 9, 2026
3 checks passed
@cportele
cportele deleted the fix-mvt-flatten-nested-object-in-array branch September 9, 2026 10:42
cportele added a commit that referenced this pull request Sep 9, 2026
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.

Mapbox Vector Tiles: deeply nested properties are missing

1 participant