wms capabilities and mapfile scale correspondence
Nuno Gil
nunoragil at GMAIL.COM
Thu Apr 21 07:24:36 PDT 2005
Hi Tom,
The problem is that they display different values... :s
In the map file I have
MINSCALE 45000001
MAXSCALE 999999999999
and in the capabilities file this same layer has
<ScaleHint min="22450.6" max="4.98903e+08" />
Any idea why? Maybe a unit related issue? I have UNITS DD set up in
the MAP element of the map file.
Thank you,
Nuno
On 4/21/05, Kralidis,Tom [Burlington] <Tom.Kralidis at ec.gc.ca> wrote:
>
> The MAXSCALE and MINSCALE objects in the LAYER object, if set, are
> visible in the output WMS GetCapabilities XML response in the
> Layer/ScaleHint/@min and Layer/ScaleHint/@max attributes, which provides
> a client a good 'hint' of what scale the layer will view for.
>
> ..Tom
>
>
> > -----Original Message-----
> > From: UMN MapServer Users List
> > [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Nuno Gil
> > Sent: Wednesday, 20 April, 2005 16:22
> > To: MAPSERVER-USERS at LISTS.UMN.EDU
> > Subject: [UMN_MAPSERVER-USERS] wms capabilities and mapfile
> > scale correspondence
> >
> >
> > Dear listers,
> > Can someone guide me on the correspondence between the WMS
> > capabilities scale hint value and the scalemax/scalemin value
> > in the mapfile?
> >
> > Regards,
> > Nuno
> >
>
More information about the MapServer-users
mailing list