Excluding certain layer types from WMS...

4 messages Options
Embed this post
Permalink
Steve Lime

Excluding certain layer types from WMS...

Reply Threaded More More options
Print post
Permalink
Hi all: Currently it looks like layers with TYPE QUERY and TILEINDEX are output as regular WMS layers. Is that something we want? Kind of a pain since there's no way to explicitly exclude layers from WMS output (although perhaps I'm missing something).

Steve
Jeff McKenna-2

Re: Excluding certain layer types from WMS...

Reply Threaded More More options
Print post
Permalink
I'd agree with you on this one Steve.  For many clients who have an
application mapfile AND a serve-through-wms requirement for their data I
have to make a copy of the mapfile and remove certain layers that
shouldn't be served through WMS...I wish there was a magical
"wms_exclude_layers" metadata item that we could set.

-jeff




Steve Lime wrote:
> Hi all: Currently it looks like layers with TYPE QUERY and TILEINDEX are output as regular WMS layers. Is that something we want? Kind of a pain since there's no way to explicitly exclude layers from WMS output (although perhaps I'm missing something).
>
> Steve
>
Steve Lime

Re: Excluding certain layer types from WMS...

Reply Threaded More More options
Print post
Permalink
That's the beauty of having the source! This must have been talked about previously. I thought
there were some discussions relative to the use of the DUMP keyword. Will have to search the
archives and address for 5.2.

Steve

>>> On 1/14/2008 at 2:16 PM, in message <[hidden email]>, Jeff
McKenna <[hidden email]> wrote:

> I'd agree with you on this one Steve.  For many clients who have an
> application mapfile AND a serve-through-wms requirement for their data I
> have to make a copy of the mapfile and remove certain layers that
> shouldn't be served through WMS...I wish there was a magical
> "wms_exclude_layers" metadata item that we could set.
>
> -jeff
>
>
>
>
> Steve Lime wrote:
>> Hi all: Currently it looks like layers with TYPE QUERY and TILEINDEX are
> output as regular WMS layers. Is that something we want? Kind of a pain since
> there's no way to explicitly exclude layers from WMS output (although perhaps
> I'm missing something).
>>
>> Steve
>>
Denis Nadeau

Fwd: Excluding certain layer types from WMS...

Reply Threaded More More options
Print post
Permalink
In reply to this post by Steve Lime
Hi all,

I have wrote some code to hide TILEINDEX from WMS layers last year. 
I have bug 1952  for this.  I added a patch to the bug. 

It works well here at NASA GES DISC.

http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?service=WMS&version=1.1.1&request=getcapabilities


Regards,
Denis


2008/1/13, Steve Lime < [hidden email]>:
Hi all: Currently it looks like layers with TYPE QUERY and TILEINDEX are output as regular WMS layers. Is that something we want? Kind of a pain since there's no way to explicitly exclude layers from WMS output (although perhaps I'm missing something).

Steve