From: Mauro B. <mau...@ge...> - 2013-06-04 10:13:28
|
2013/5/23 Andrea Aime <and...@ge...> > On Thu, May 23, 2013 at 11:48 AM, Mauro Bartolomeoli < > mau...@ge...> wrote: > >> Hi all, >> I think I can prepare a patch for this shortly using the last variant >> proposed by Andrea (I did some testing patching the SLDParser and >> everything seems to work well). >> I would use the "free text" (not included in a value tag) as the default >> value if no locale is specified. >> >> So, something like: >> <Title>default title >> <value lang="it">Titolo</value> >> <value lang="en">Title</value> >> ... >> </Title> >> >> >> Created a pull request for this: https://github.com/geotools/geotools/pull/202 Updated both gt-styling (in main) and gt-xsd-sld to support the new extension. The only change from what we discussed is the usage of <Localized> tag instead of <value> since value is already used in SLD for a different purpose. Thanks Mauro -- == GeoServer training in Milan, 6th & 7th June 2013! Visit http://geoserver.geo-solutions.it for more information. == Dott. Mauro Bartolomeoli @mauro_bart Senior Software Engineer GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- |