So you should do so, simply add the same layer twice. Just be case a table has been published once, does not prevent you from publishing it a second time. This can also be done to publish the same table with different bounds (perhaps because you are telling a different story).
Note you can also register more than one style with a layer (and allow the client application to choose the most appropriate style. -- Jody Garnett On 3 November 2015 at 17:18, Jair Santos <[email protected]> wrote: > Hello all, > > I need to create a layer that will be based on the same table as another > already in Geoserver. They must have different styles though. In order to > publish a layer I need to add the table to PosGis from a shape file and it > will available to publish in Geoserver. To solve the problem I can > duplicate the table with a different name, but I believe that this is not > the best solution. > > What I would like to do is to create a new layer in Geoserver using the > same database and apply a different style to it. > > What’s the best way of doing that? > > TIA. > > JJ. > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > >
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
