problems using a cascaded layer - wms_name parameter

Bart van den Eijnden bartvde at XS4ALL.NL
Tue Mar 22 07:30:00 EST 2005


Hi Nuno,

is the remote WMS a Mapserver, or not? Could you post a link to the
GetCapabilities or attach the file if it is not too big?

The / should be used in wms_layer_group if Mapserver acts as a WMS server,
that's right.

I would never advise anybody to use tokens or spaces etc. in wms layer
names. This seems like a WMS server which uses the filepath as the default
WMS layer name?

Best regards,
Bart

On Tue, 22 Mar 2005 12:29:52 +0000, Nuno GIL <nunoragil at GMAIL.COM> wrote:

> Thank you once more Bart!
>
> Well, the actual name of the layer on the remote WMS is
> "/landmap/mosaics/landsat/l5mosaic.ecw".
> After reading the bug report, I have the impression that this nesting
> capability is only valid and accessed inside the "wms_layer_group"
> keyword. Am I wrong?
>
> Regards,
> Nuno
>
>
> On Mon, 21 Mar 2005 17:06:11 +0100 (CET), bartvde at xs4all.nl
> <bartvde at xs4all.nl> wrote:
>> Hi Nuno,
>>
>> if you use a WMS layer in Mapserver WMS client, you just use the name
>> (as
>> present in the WMS capabilities between <Name>...</Name>), not the
>> nesting, in your case probably:
>>
>> "wms_name"    "l5mosaic.ecw"
>>
>> Or are you sayig the actual name of the layer on the remote WMS is
>> "/landmap/mosaics/landsat/l5mosaic.ecw"?
>>
>> The / syntax is for Mapserver as a WMS server (wms_layer_group),
>> indicating how it should build up its WMS capabilities with nesting.
>>
>> See:
>>
>> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=776
>>
>> Hope this helps.
>>
>> Best regards,
>> Bart
>>
>> > Dear listers,
>> > I am trying to use a cascaded layer.
>> > I call it on my map file like this
>> > "wms_name"    "/landmap/mosaics/landsat/l5mosaic.ecw"
>> > The server produces an error saying that it is unnable of displaying
>> > that same layer.
>> > Does anyone know how to deal with this issue? I do believe that the
>> > problem is the slash usage...
>> > Regards,
>> > Nuno
>> >
>>
>>
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the mapserver-users mailing list