Name of postgis table has changed - Updating sourcedata in GeoServer

Hi all,

I am quite new to GeoServer…

I have integrated tables from a Postgis database into Geoserver as layers. The name of the table in the database has changed. I would like to update the layer in Geoserver without adding a new layer and transferring the settings. Is this possible? How can I change the name of the sourcedata in the layer?

I tried to change the “Native name” in the featuretype.xml-file but that doesn’t seem to have worked…

Thank you for your help!

Hi Melanie, you’re on the right track. After changing the “Native name” in featuretype.xml, you’ll also need to reload Geoserver’s “Configuration and catalog” to pick up the changes. In the admin interface, navigate to About & Status > Server Status and then click “reload” for Configuration and catalog. Restarting Geoserver will achieve the same result.

1 Like

Hi eflukes,

thank you for your quick reply and the information! It’s working now!