I set up an FeatureTypeInfo <https://docs.geotools.org/latest/javadocs/org/geotools/data/wfs/internal/FeatureTypeInfo.html> API for this in the geotools library (for use in uDig). Indeed picking up postgis comments was the initial use case. The structure is based on Dublin core with additional fields for bounding box etc...
This data structure is available to communicate metadata from the data format to GeoServer. I think you can see this integration working when setting up a cascading WFS for example. However this does not appear to be implement for PostGIS (and other JDBC datastore) implementations. Perhaps this is functionality to world consider working on our sponsoring? On Sun, Dec 1, 2019 at 10:51 PM Shaozhong SHI <[email protected]> wrote: > Does anyone know how to automatically populate metadata content in > Geoserver? > > For instance, descriptions in PostGIS comment box could be automatically > loaded into GeoServer. Has anyone done this? > > Regards, > > Shao > _______________________________________________ > 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 >
_______________________________________________ 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
