[Geoserver-users] How to build x mapservices without installing geoserver x times?

Hi List,
i have to settle a (for my understanding) very special matter:
We have very much data with different subjects. The subjects should be thematically grouped in an own mapservice with an own native url to call. For example - all geologic topics should be grouped under http://Mysubdomain/MyDomain/geoserver/geology - all climatic topics should be grouped under http://Mysubdomain/MyDomain/geoserver/climate - and so on. The background for this claim is not to get the whole bunch of layers with different topics if i merely need one of them when embedding the service in a viewer or desktop-gis.

For example the ArcIMS allows that: There is one Installation of the ArcIMS Service on a machine, but with this service you can build several independent mapservices which are all adressable under a different URL.

I’d like to recreate these mapservices with geoserver. For my state of knowledge, i must install for every mapservice an own geoserver with a topic-accordant denomination in the webapps-directory of tomcat. Is that right or is there another possibility not to install all binaries etc. several times?

If not, i’d have to install geoserver something like 20+ times on the tomcat. I’m not sure if the system if performant enough for that task.

Kind Regards
Albrecht

I believe the ability to run multiple data dirs from the same installation is on the wishlist, but I don't think any work has been done on it.

I don't see why a client would actually care what other layers are on the server, so I assume the problem is only the getcapabilities document showing too many layers?

You could take the automatically generated getcapabilities document and then (outside of GeoServer) either use XSLT / XPath to only show a subset of the layers depending on the URL used to access the document. Or simply manually edit the document and create X different copies with different layers. Should be pretty easy with an XML editor.

-Arne

Albrecht.Weiser@anonymised.com wrote:

Hi List,
i have to settle a (for my understanding) very special matter:
We have very much data with different subjects. The subjects should be thematically grouped in an own mapservice with an own native url to call. For example - all geologic topics should be grouped under _http://Mysubdomain/MyDomain/geoserver/geology_ - all climatic topics should be grouped under _http://Mysubdomain/MyDomain/geoserver/climate_ - and so on. The background for this claim is not to get the whole bunch of layers with different topics if i merely need one of them when embedding the service in a viewer or desktop-gis.

For example the ArcIMS allows that: There is one Installation of the ArcIMS Service on a machine, but with this service you can build several independent mapservices which are all adressable under a different URL.

I'd like to recreate these mapservices with geoserver. For my state of knowledge, i must install for every mapservice an own geoserver with a topic-accordant denomination in the webapps-directory of tomcat. Is that right or is there another possibility not to install all binaries etc. several times?

If not, i'd have to install geoserver something like 20+ times on the tomcat. I'm not sure if the system if performant enough for that task.

Kind Regards
Albrecht

!DSPAM:4038,48874cb2285541431913854!
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

!DSPAM:4038,48874cb2285541431913854!
  ------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4038,48874cb2285541431913854!
  

The GeoServer development team is planning to incorporate the concept of 'workspaces' sometime in the GeoServer 2 release series. This will allow having multiple named workspaces hosted by the same GeoServer instance, with layers divided between them (although there need not be a 1:1 mapping, you could have a roads background layer available in several workspaces, under different names if you wanted.) I don't think this will be available for some time to come; GeoServer 2.0 won't be out until the fall or so. But we are definitely interested in use cases like this while we are reworking configuration.

For the time being though, Arne's suggestion to manually/automatically manipulate the capabilities document is probably your best option with GeoServer.

Hope this helps,
-David Winslow

Arne Kepp wrote:

I believe the ability to run multiple data dirs from the same installation is on the wishlist, but I don't think any work has been done on it.

I don't see why a client would actually care what other layers are on the server, so I assume the problem is only the getcapabilities document showing too many layers?

You could take the automatically generated getcapabilities document and then (outside of GeoServer) either use XSLT / XPath to only show a subset of the layers depending on the URL used to access the document. Or simply manually edit the document and create X different copies with different layers. Should be pretty easy with an XML editor.

-Arne

Albrecht.Weiser@anonymised.com wrote:
  

Hi List,
i have to settle a (for my understanding) very special matter:
We have very much data with different subjects. The subjects should be thematically grouped in an own mapservice with an own native url to call. For example - all geologic topics should be grouped under _http://Mysubdomain/MyDomain/geoserver/geology_ - all climatic topics should be grouped under _http://Mysubdomain/MyDomain/geoserver/climate_ - and so on. The background for this claim is not to get the whole bunch of layers with different topics if i merely need one of them when embedding the service in a viewer or desktop-gis.

For example the ArcIMS allows that: There is one Installation of the ArcIMS Service on a machine, but with this service you can build several independent mapservices which are all adressable under a different URL.

I'd like to recreate these mapservices with geoserver. For my state of knowledge, i must install for every mapservice an own geoserver with a topic-accordant denomination in the webapps-directory of tomcat. Is that right or is there another possibility not to install all binaries etc. several times?

If not, i'd have to install geoserver something like 20+ times on the tomcat. I'm not sure if the system if performant enough for that task.

Kind Regards
Albrecht

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

!DSPAM:4038,48874cb2285541431913854!
  ------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4038,48874cb2285541431913854!
  
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4040,48875196302281015089218!

The GeoServer development team is planning to incorporate the concept of
'workspaces' sometime in the GeoServer 2 release series. This will
allow having multiple named workspaces hosted by the same GeoServer
instance, with layers divided between them (although there need not be a
1:1 mapping, you could have a roads background layer available in
several workspaces, under different names if you wanted.) I don't think
this will be available for some time to come; GeoServer 2.0 won't be out
until the fall or so. But we are definitely interested in use cases
like this while we are reworking configuration.

For the time being though, Arne's suggestion to manually/automatically
manipulate the capabilities document is probably your best option with
GeoServer.

Hope this helps,
-David Winslow

Arne Kepp wrote:

I believe the ability to run multiple data dirs from the same installation is on the wishlist, but I don't think any work has been done on it.

I don't see why a client would actually care what other layers are on the server, so I assume the problem is only the getcapabilities document showing too many layers?

You could take the automatically generated getcapabilities document and then (outside of GeoServer) either use XSLT / XPath to only show a subset of the layers depending on the URL used to access the document. Or simply manually edit the document and create X different copies with different layers. Should be pretty easy with an XML editor.

-Arne

Albrecht.Weiser@anonymised.com wrote:
  

Hi List,
i have to settle a (for my understanding) very special matter:
We have very much data with different subjects. The subjects should be thematically grouped in an own mapservice with an own native url to call. For example - all geologic topics should be grouped under _http://Mysubdomain/MyDomain/geoserver/geology_ - all climatic topics should be grouped under _http://Mysubdomain/MyDomain/geoserver/climate_ - and so on. The background for this claim is not to get the whole bunch of layers with different topics if i merely need one of them when embedding the service in a viewer or desktop-gis.

For example the ArcIMS allows that: There is one Installation of the ArcIMS Service on a machine, but with this service you can build several independent mapservices which are all adressable under a different URL.

I'd like to recreate these mapservices with geoserver. For my state of knowledge, i must install for every mapservice an own geoserver with a topic-accordant denomination in the webapps-directory of tomcat. Is that right or is there another possibility not to install all binaries etc. several times?

If not, i'd have to install geoserver something like 20+ times on the tomcat. I'm not sure if the system if performant enough for that task.

Kind Regards
Albrecht

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

!DSPAM:4038,48874cb2285541431913854!
  ------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4038,48874cb2285541431913854!
  
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4040,48875196302281015089218!

O.K., i see what you mean. Altering the cap's that way i'd need to and store each of them under a public URL where it could be retrieved from a mapviewer. Humm.... Not really satisfying, but it's an option to negotiate.
Thanks
Albrecht

-----Ursprüngliche Nachricht-----
Von: David Winslow [mailto:dwinslow@anonymised.com]
Gesendet: Mittwoch, 23. Juli 2008 17:56
Cc: Weiser, Albrecht (HZD); geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] How to build x mapservices
without installing geoserver x times?

The GeoServer development team is planning to incorporate the
concept of
'workspaces' sometime in the GeoServer 2 release series. This will
allow having multiple named workspaces hosted by the same GeoServer
instance, with layers divided between them (although there
need not be a
1:1 mapping, you could have a roads background layer available in
several workspaces, under different names if you wanted.) I
don't think
this will be available for some time to come; GeoServer 2.0
won't be out
until the fall or so. But we are definitely interested in use cases
like this while we are reworking configuration.

For the time being though, Arne's suggestion to manually/automatically
manipulate the capabilities document is probably your best option with
GeoServer.

Hope this helps,
-David Winslow

Arne Kepp wrote:
> I believe the ability to run multiple data dirs from the same
> installation is on the wishlist, but I don't think any work
has been
> done on it.
>
> I don't see why a client would actually care what other
layers are on
> the server, so I assume the problem is only the
getcapabilities document
> showing too many layers?
>
> You could take the automatically generated getcapabilities
document and
> then (outside of GeoServer) either use XSLT / XPath to only show a
> subset of the layers depending on the URL used to access
the document.
> Or simply manually edit the document and create X different
copies with
> different layers. Should be pretty easy with an XML editor.
>
> -Arne
>
> Albrecht.Weiser@anonymised.com wrote:
>
>> Hi List,
>> i have to settle a (for my understanding) very special matter:
>> We have very much data with different subjects. The
subjects should be
>> thematically grouped in an own mapservice with an own
native url to
>> call. For example - all geologic topics should be grouped under
>> _http://Mysubdomain/MyDomain/geoserver/geology_ - all
climatic topics
>> should be grouped under
>> _http://Mysubdomain/MyDomain/geoserver/climate_ - and so on. The
>> background for this claim is not to get the whole bunch of
layers with
>> different topics if i merely need one of them when embedding the
>> service in a viewer or desktop-gis.
>>
>> For example the ArcIMS allows that: There is one
Installation of the
>> ArcIMS Service on a machine, but with this service you can build
>> several independent mapservices which are all adressable under a
>> different URL.
>>
>> I'd like to recreate these mapservices with geoserver. For
my state of
>> knowledge, i must install for every mapservice an own
geoserver with a
>> topic-accordant denomination in the webapps-directory of
tomcat. Is
>> that right or is there another possibility not to install
all binaries
>> etc. several times?
>>
>> If not, i'd have to install geoserver something like 20+
times on the
>> tomcat. I'm not sure if the system if performant enough
for that task.
>>
>> Kind Regards
>> Albrecht
>>
>>
>>
>>
--------------------------------------------------------------
----------
>>
>>
--------------------------------------------------------------
-----------
>> This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK
& win great prizes
>> Grand prize is a trip for two to an Open Source event
anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>
>> !DSPAM:4038,48874cb2285541431913854!
>>
>>
--------------------------------------------------------------
----------
>>
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>> !DSPAM:4038,48874cb2285541431913854!
>>
>>
>
>
>
--------------------------------------------------------------
-----------
> This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
> Build the coolest Linux based applications with Moblin SDK
& win great prizes
> Grand prize is a trip for two to an Open Source event
anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> !DSPAM:4040,48875196302281015089218!
>
>