Limiting the viewable extent...
Norman Vine
nhv at CAPE.COM
Fri Oct 27 09:37:41 PDT 2006
Stephen Woodbridge writes:
> Steve Hall wrote:
> >
> > Is it possible to restrict the users viewable extent of the map
> > through the map file? For example, I have data loaded for
> the whole
> > of the country but I want it to be impossible for any
> client tool to
> > view data beyond a defined and fixed extent.
> >
> > The EXTENT parameters just seem to set the initial extent
> and you can
> > easily zoom out beyond this extent.
> >
> > I appreciate this is fairly easy to do through code but
> though that if
> > this was possible via a mapfile then it would be done at
> the 'lowest'
> > level...
>
> Yes, I believe you can do it by setting METADATA values for
> the MAP object. I just check the mapfile reference and it is
> not described there. Could you please write a documentation
> bug to request all METADATA controls be documented.
http://mapserver.gis.umn.edu/docs/reference/mapfile/web
See MAXSCALE [double]
Entry
HTH
Norman
More information about the MapServer-users
mailing list