Hi all,
At various times, Jody and I have chatted about having a "CQL View" in
GeoServer (or something similar akin to the SQL Views) that'd leverage
the Transform module and allow one to add columns to a FeatureSource
based on expressions. Such expressions could use existing or custom CQL
functions and that'd open a world of possibilities.
Last week, I asked Jody about this idea again and he indicated that one
would really just need to write a DataStoreFactory. I banged out an
initial implementation as a starting place for the conversation. This
implementation provides a way to project down to a subset of attributes
as well as add new columns/attributes to a FeatureStore.
If folks like it as-is, I'd be happy to add unit tests, and
documentation wherever we see fit. Thanks in advance for some feedback
on this idea!
https://github.com/geotools/geotools/pull/3196/files
Cheers,
Jim
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel