[QGIS-Developer] QGIS Server layer metadata
Alessandro Pasotti
apasotti at gmail.com
Thu Apr 11 05:21:55 PDT 2019
On Thu, Apr 11, 2019 at 2:08 PM Etienne Trimaille <
etienne.trimaille at gmail.com> wrote:
> Le jeu. 11 avr. 2019 à 07:46, Alessandro Pasotti <apasotti at gmail.com> a
> écrit :
>
>> If I'm not wrong, in getcapabilities you will get metadata from OWS tab,
>> in expressions you get metadata from Metadata tab and there is no fallback.
>>
>
> Correct, but there is a fallback. The expression will use the QGIS Server
> metadata if the corresponding layer metadata is empty.
>
The fallback I'm talking about is in server metadata, not the expressions.
If "Title" is empty in server metadata tab, getcapabilities will not use
the metadata from the metadata tab.
But in general, the question is: now that we have the metata tab for both
project and layers, do we still need a separate UI server metadata?
Maybe yes: it's just a question.
But if the answer is yes, we should think about inheriting defaults in a
consistent (and documented) way.
>
> According to https://github.com/qgis/QGIS-Enhancement-Proposals/issues/50
> and some discussions 2 years ago, I think that all items of the QGIS Server
> tab can fit into the new schema. But I agree, the UI is not the best about
> links for instance. (metadata URL, data URL, legend URL)
>
>
>>
>>
>>
>>> Le jeu. 11 avr. 2019 à 05:23, Alessandro Pasotti <apasotti at gmail.com> a
>>> écrit :
>>>
>>>>
>>>> On Thu, Apr 11, 2019 at 11:17 AM René-Luc Dhont <rldhont at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi ALessandro,
>>>>>
>>>>> Which metadata can be reused ?
>>>>>
>>>>
>>>> For example: Title, Abstract, Keywords, Attribution ....
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> René-Luc D'Hont
>>>>>
>>>>> Le 11/04/2019 à 11:12, Alessandro Pasotti a écrit :
>>>>>
>>>>> Hi,
>>>>>
>>>>> Shouldn't we drop some of the QGIS Server that are now available in
>>>>> the more general "Metadata" tab or at least fallback on those values?
>>>>>
>>>>> Or maybe provide a button to copy values from the "Metadata" tab.
>>>>>
>>>>>
>>>>> --
>>>>> Alessandro Pasotti
>>>>> w3: www.itopen.it
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Alessandro Pasotti
>>>> w3: www.itopen.it
>>>> _______________________________________________
>>>> QGIS-Developer mailing list
>>>> QGIS-Developer at lists.osgeo.org
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>>
>>
>> --
>> Alessandro Pasotti
>> w3: www.itopen.it
>>
>
--
Alessandro Pasotti
w3: www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190411/8069613f/attachment.html>
More information about the QGIS-Developer
mailing list