APOLLO & ECW/JP2 Discussions

Wondering how others have configured their ERDAS APOLLO server or what data they are crawling? The ERDAS APOLLO Discussion board is a place to find information, share ideas and more. Join the community, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 76
Registered: ‎03-08-2017
Accepted Solution

Layer specific GetCapabilities

Hi,

 

is it possible to generate a GetCapabilities for a single layer which appears in Core console ?

 

Thanks

Moderator
Moderator
Posts: 351
Registered: ‎11-16-2015

Re: Layer specific GetCapabilities

Hi Olyster,

 

You mean you have a service with many layers and you would like to be able to create a subset of the getCapabilities just for one layer?

This is not possible with a Core service. Only APOLLO Advantage/Pro offers this possibility using the getLayer request: request=getLayer&layers=

This is supported by the legacy services and by ApolloCatalogWMS.

 

There might be a workaround by creating a la legacy service on top of your Core service: proxy service or web map context.

Staff
Posts: 135
Registered: ‎05-31-2016

Re: Layer specific GetCapabilities

I can think of 2 ways to get this done

  1. Create a new service in Apollo Core Admin console with just the layers you want.
  2. This way is a bit dirty but it should work. Create a static XML getcapabilities document with just the layers you want and put it somewhere it can be served by IIS  e.g. http://localhost/wms/testing.xml then use this url as the WMS getcapabilities in your WMS client.   This should work with most clients but you would need to do your own testing to make sure (I did a quick test with QGis and Erdas Imagine and it worked).

Hope this helps

 

Frequent Contributor
Posts: 76
Registered: ‎03-08-2017

Re: Layer specific GetCapabilities

Phil,

 

we created one static GetCapabilities per layer but there was a change in the structure so now the ending tags are </layer></layer></layer> instead of </layer></layer></layer></layer>.

 

This is why we looked for a way to generate a GetCapabilities per layer.

 

We will make our script more flexible.

 

Thanks for your answer.