As Simone pointed out, it may be difficult to solve this within GeoServer. However, it should be fairly straightforward to implement this as a servlet filter or as a proxying servlet for, if not all, at least the most common queries. Could also be solved using mod_rewrite in Apache, or a scripting language.
-Arne On 1/4/11 4:56 PM, Ragnvald Larsen wrote: > We are planning on using geoserver for some of our WMS services. The virtual > OWS services functionality coming with Geoserver 2.1 is most welcome (*). But > I still have some questions to how it is implemented. > > We recognize that we can use the following query to have a grouped > GetCapabilities by formatting our query this way: > > http://localhost:8080/geoserver/topp/wfs?request=GetCapabilities > > The above will give us a reply starting something like this: > > <wfs:WFS_Capabilities> > > <FeatureType xmlns:topp="http://www.openplans.org/topp"> > <Name>topp:tasmania_cities</Name> > -- > > Given that we are using unique names we would prefer there not being a > reference to the workspace in the layer name. Is there a way of disabling the > workspace reference in the name? I am aware of the possibility of using layer > groups, but would like to avoid using that option. > > > Cheers! > > Ragnvald Larsen > > Senior Engineer, IT and Geodata > Cell: +4792421540 > Office: +4773580564 > Directorate for Nature Management > Norway > www.dirnat.no > > *) http://docs.geoserver.org/latest/en/user/services/virtual-services.html > > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
