Take a look at the service's capabilities:

http://88.53.214.52/sitr/services/WGS84_F33/Ortofoto_ATA20072008_f33/MapServer/WMSServer?request=GetCapabilities

On Tue, Jan 25, 2011 at 5:03 AM, Flavio Cannavò <[email protected]>wrote:

> Hi folks,
>
> I know just the internet address of a raster WMS service:
>
>
> http://88.53.214.52/sitr/services/WGS84_F33/Ortofoto_ATA20072008_f33/MapServer/WMSServer
>
> I guess it is on a MapServer. The problem is that I don't know neither
> the mapfilename nor the layer name.
> So I just tried writing:
>
>
>            var ortof = new OpenLayers.Layer.WMS(
>                "Ortof",
>
> "
> http://88.53.214.52/sitr/services/WGS84_F33/Ortofoto_ATA20072008_f33/MapServer/WMSServer
> ?",
>                {
>                 layers:'WGS84_F33_Ortofoto_ATA20072008_f33',
>                 format: 'image/png'
>                },
>                {
>                    'isBaseLayer': true,
>                    projection: 'EPSG:4326',
>                    units: 'm'
>                }
>            );
>
> And of course it doesn't work.
> How could I manage the problem and show the raster layer in my
> openlayers client?
> Thank you
>
> f
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to