Jody Garnett wrote:

Hi,

> +1 on a new community module, are any changes needed to core to add the
> additional tab?

yes, the fix from https://github.com/geoserver/geoserver/pull/3605 is
necessary for the extension mechanism to work (again), I think that
got broken during the wicket upgrade (just guessing).

> I curious on how style conversion is done.

I can walk you through the repositories involved:

https://github.com/terrestris/geostyler is the package with the actual
react UI components (which you can use to get the default styler or
plug together your own).

https://github.com/terrestris/geostyler-style defines the TypeScript
style model which is used as the central object structure. It also
defines a model for data, so we can have automatic classifications on
client side (still looking into using GeoServer directly for
that). This package also defines the StyleParser interface which can
then be implemented to read/write specific formats to/from the
GeoStyler format.

https://github.com/terrestris/geostyler-sld-parser/ is an example of a
style parser implementation that can be used to read and write SLD
files (reads SLD/SE 1.1.0 and currently only writes SLD 1.0.0).

Once you have a GeoStyler style object you can use any of the parsers
to write it out to another format, enabling you to freely convert
between formats.

If you're interested, have a look at the demo (currently only
configured with the SLD parser):

https://terrestris.github.io/geostyler-demo/

Of course, you're also welcome to look over my shoulder ;-)

Best regards, Andreas

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to