[Geoserver-users] Postgres/OSM and Geoserver

Hello List,

I`m new to Geoserver and have a general question:

I imported OSM data for Hungary in my Postgres database. This resulted in 8 databse tables.(lines,nodes,polygon,rels,roads,ways,ref_sys).
For my purpose I wrote some sld files for farmland,forestry use,streets and railways. As far as I realized the data is contained in polygon and line or road table.
But in the end I want to be able to activate or deactivate single layers. Do I just have to take my polygon and road table and publish each of them several times.
For example:

planet_osm_polygon_forestry + sld forestry
planet_osm_polygon_farmland+ sld farmland

Won`t that influence the performance. Or do I have to split up my database table for each usage layer?
For example:

osm_database:

table1 = agricultaral features
table2= farmland features

and so on…

Is there a way to do that automatically?

Thanks for your help,

Andras Szekeres