Skip to content

Move feature profiles to xtraplatform-features#324

Merged
cportele merged 1 commit intomasterfrom
issue-1328
Feb 7, 2025
Merged

Move feature profiles to xtraplatform-features#324
cportele merged 1 commit intomasterfrom
issue-1328

Conversation

@cportele
Copy link
Contributor

@cportele cportele commented Feb 3, 2025

Move the profiles and their associated property transformations to xtraplatform-features. All aspects related to API building block stays in ldproxy.

This PR also adds support for profiles in Vector Tiles generated from a feature provider. The profiles to be applied are declared in the tileset of a tile provider as an array with the key profiles. If declared in the tileset defaults, the profile will apply to all tilesets.

A new transformer was introduced to change the type of a codelist property (which may be an integer) to string to correctly represent the value type (otherwise the value is not encoded in the vector tile, because the actual type differs from the expected type).

Related to ldproxy/ldproxy#1328.

Move the profiles and their associated property transformations to xtraplatform-features. All aspects related to API building block stays in ldproxy.

A new transformer was introduced to change the type of a codelist property (which may be an integer) to string to correctly represent the value type. Otherwise the value is not encoded in the vector tile.

The profiles to be applied are declared in the tileset of a tile provider as an array with the key `profiles`.

Related to ldproxy/ldproxy#1328.
@cportele cportele requested a review from azahnen as a code owner February 3, 2025 16:11
@cportele cportele merged commit e70385a into master Feb 7, 2025
1 check passed
@cportele cportele deleted the issue-1328 branch February 7, 2025 08:51
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