[Geoserver-users] Geoserver vs Mapserver

Hi List

Very quick question, and I'm hoping its just something I am missing in
the Geoserver documentation :o)

In Mapserver, you can have the concept of different services based on
the mapfiles - i.e., its the same instance of mapserver, but can look
like a completely different map service to a WMS client based on the
mapfile referenced in the URL.

I can't see an equivalent in Geoserver - do I need to install a
different instance of Geoserver to accomplish the same thing?

Many thanks in advance

Rob

Rob wrote:

Hi List

Very quick question, and I'm hoping its just something I am missing in
the Geoserver documentation :o)

In Mapserver, you can have the concept of different services based on
the mapfiles - i.e., its the same instance of mapserver, but can look
like a completely different map service to a WMS client based on the
mapfile referenced in the URL.

I can't see an equivalent in Geoserver - do I need to install a
different instance of Geoserver to accomplish the same thing?

At the moment it's not possible to get that, Justin is working on
it and we should have a similar functionality by 2.1 release (which
is not going to get release anytime soon).

For the time being you can hack something either by:
- adding &namespace=xxx to your getcapabilities documents to filter
   the result by namespace. This will just filter the caps document
   but won't disallow users to get the other layers by direct
   GetMap/GetFeature calls
- using per layer security to make different users see different
   layer sets (this presumes they authenticate using http basic
   authentication before getting a caps document thought)

Cheers
Andrea

You can also using URL-mapping external to GeoServer to supply various GetCapabilities docs at various service taps. We do so, and we generate the GetCapabilities docs dynamically via XSLT against the base GeoServer-supplied GetCapabilities-es.

---
A. Soroka
Digital Research and Scholarship R & D
the University of Virginia Library

On Dec 7, 2009, at 9:21 AM, Andrea Aime wrote:

Rob wrote:

Hi List

Very quick question, and I'm hoping its just something I am missing in
the Geoserver documentation :o)

In Mapserver, you can have the concept of different services based on
the mapfiles - i.e., its the same instance of mapserver, but can look
like a completely different map service to a WMS client based on the
mapfile referenced in the URL.

I can't see an equivalent in Geoserver - do I need to install a
different instance of Geoserver to accomplish the same thing?

At the moment it's not possible to get that, Justin is working on
it and we should have a similar functionality by 2.1 release (which
is not going to get release anytime soon).

For the time being you can hack something either by:
- adding &namespace=xxx to your getcapabilities documents to filter
  the result by namespace. This will just filter the caps document
  but won't disallow users to get the other layers by direct
  GetMap/GetFeature calls
- using per layer security to make different users see different
  layer sets (this presumes they authenticate using http basic
  authentication before getting a caps document thought)

Cheers
Andrea

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Andrea is correct in that the current GeoServer road map has this functionality coming in as part of 2.1 and the "resource publishing split".

However recently my organization has been approached by a client who requests a limited version of the same functionality. So I am currently working on a proposal (which will be out this week) to expand on the namespace filtering functionality that Andrea mentioned. It might meet some of your needs and will be available sooner than 2.1. So stay tuned. If you are not on the GeoServer developers list you may be interested to sign up to follow the proposal discussion.

-Justin

Rob wrote:

Hi List

Very quick question, and I'm hoping its just something I am missing in
the Geoserver documentation :o)

In Mapserver, you can have the concept of different services based on
the mapfiles - i.e., its the same instance of mapserver, but can look
like a completely different map service to a WMS client based on the
mapfile referenced in the URL.

I can't see an equivalent in Geoserver - do I need to install a
different instance of Geoserver to accomplish the same thing?

Many thanks in advance

Rob

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Cool - might just do that. Thanks for all the other replies too!

2009/12/7 Justin Deoliveira <jdeolive@anonymised.com>:

Andrea is correct in that the current GeoServer road map has this
functionality coming in as part of 2.1 and the "resource publishing split".

However recently my organization has been approached by a client who
requests a limited version of the same functionality. So I am currently
working on a proposal (which will be out this week) to expand on the
namespace filtering functionality that Andrea mentioned. It might meet some
of your needs and will be available sooner than 2.1. So stay tuned. If you
are not on the GeoServer developers list you may be interested to sign up to
follow the proposal discussion.

-Justin

Rob wrote:

Hi List

Very quick question, and I'm hoping its just something I am missing in
the Geoserver documentation :o)

In Mapserver, you can have the concept of different services based on
the mapfiles - i.e., its the same instance of mapserver, but can look
like a completely different map service to a WMS client based on the
mapfile referenced in the URL.

I can't see an equivalent in Geoserver - do I need to install a
different instance of Geoserver to accomplish the same thing?

Many thanks in advance

Rob

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. Attend
in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.