Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support layer style copy from special layer_styles table #410

Open
eblondel opened this issue Feb 4, 2025 · 0 comments
Open

Support layer style copy from special layer_styles table #410

eblondel opened this issue Feb 4, 2025 · 0 comments

Comments

@eblondel
Copy link
Collaborator

eblondel commented Feb 4, 2025

Layer styles can be managed in a standardized Postgres table, and managed through QGIS https://www.cadlinecommunity.co.uk/hc/en-us/articles/360018377598-QGIS-Storing-Styles-in-Databases

The objective here is to handle the detection of this layer_styles table in case of DBI handlers (entity_handler_dbi_df, entity_handler_dbi_df_geometry_columns). If the table is available, we look for styles associated with the target entity db table. If there are any style, we list them as entity data styles, and attach their definitions (subset of layer_styles table) as entity resource so they can be be copied as XML through a dedicated entity$copyStylesToDataDir, once entity job dir is created (at execution level).

@wheintz

@eblondel eblondel added this to the 1.0 milestone Feb 4, 2025
@eblondel eblondel self-assigned this Feb 4, 2025
eblondel added a commit that referenced this issue Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant