On Tue, 22 Oct 2019 at 13:57, Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:

> Hi lists (sorry for cross-posting).
>
> In GeoTools code I need some time parsing capabilities which are already
> available in GeoServer's TimeParser (module: gs-ows).
>
> https://github.com/geoserver/geoserver/blob/master/src/ows/src/main/java/org/geoserver/ows/kvp/TimeParser.java
>
>
> ImageMosaic also have its own TimeParser which does something slightly
> different and lacks a couple of methods available on GeoServer's one.
>
> I'm evaluating the possibility to move the TimeParser from gs-ows to a
> GeoTools module, so that both GeoServer and ImageMosaic will depend on the
> same class. With this approach we can avoid duplicated code, duplicated
> tests and duplicated bugs (so things to be fixed in 2 different places).
>
>
This certainly seems like a good plan,


> Is it possible to do that? (any licensing issue here?)
>

It is possible (i.e. we've done similar before) - there is a licencing
issue as the code needs to go from GPL to LGPL but as OSgeo "owns" both
code bases I don't think it is an issue, I can't recall how we dealt with
the issue last time though.


> If affirmative, what would be the right procedure to do that?
> Would be JIRAs + PRs (including a deprecation of current TimeParser)
> enough for that?
>
>
Probably a GISP or at least a pair of Jiras. Andrea will know best! Not
sure if GeoServer would need to deprecate the TimeParser, though GeoTools
would certainly want to.

Ian
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to