Replies: 1 comment
-
Thanks for this analysis. I vote for the config flag that will only show up only if Kurzname and Titel are not already set in at least one of the layer or group. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently qgis-server-light heavily depends on the correctly set attributes on layers and groups in the QGIS Desktop layertree.
For layers you always should set (abstract is :

For Groups via the context menu:

you always should set:

This ensures everything is exported well.
There is a fallback mechanism for layers when you don't set the values, the qgis layer id will be used on export. For groups there is no Id we can use in QGIS currently. So if you don't set the values for the group correctly you will end up with empty names and titles currently. Even, when your group has a visible name in the QGIS Desktop layertree.
This was done on purpose since using simple the name of the layertree we would need to sanitize it to have a machine readable version. This comes with side effects.
@remyguillaume @maltaesousa @callsumzg
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions