Hello everyone,
I'm facing 2 problems with i18n and CSW. I am with Geoserver 2.21.2.
I have a layer that have translations for its title and abstract. I would like
to expose it in our Dublin Core CSW and return the title and abstract in the
language mentioned in the csw url.
So far, no luck. if I mention the language in the csw url, the wms/wfs urls are
returned containing that language but the title and abstract aren't.
Here's the property config:
@identifier.value=strConcat(strConcat("store.workspace.name",':'),name)
title.value=title
creator.value="metadata.creator"
subject.value=if_then_else(isNull("keywords"), "metadata.keywords", "keywords")
abstract.value='${url.wms}'
description.value=if_then_else(isLike("abstract", ''), "metadata.abstract",
"abstract")
date.value="metadata.last_update"
type.value="metadata.type"
references.scheme=list('OGC:WMS','OGC:WFS','OGC:SLD')
references.value=list(strConcat('${url.wms}
&service=WMS&version=1.3.0&request=GetMap&WIDTH=768&HEIGHT=763&styles=&layers=',prefixedName),if_then_else(isNull
("metadata.wfs_available"), 'None',
strConcat('${url.wfs}&service=WFS&version=1.0.0&request=GetFeature&typeName=',
prefixedName)),if_then_else(isNull("metadata.sld_reference"),
'https://urbanisme.irisnet.be/cartographie/brugis', "metadata.sld_reference"))
publisher.value="metadata.publisher"
source.value="metadata.sourcedata"
rights.value="metadata.rights"
Maybe I'm missing something, but I couldn't find anything in the official doc
regarding that scenario.
Does anyone have an idea or have been able to make this work?
Regards.
Gregoire for BruGIS
_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users