[mapserver-users] advantages of having the map file header extent the actual bounding box instead of EXTENT -180 -90 180 90 # World

John Mitchell mitchelljj98 at gmail.com
Sun Mar 22 14:49:33 EDT 2009


Hi,

What are the advantages or disadvantages of having the map file header
extent the actual bounding box of the raster data that is displayed instead
of the world wide extent
(i.e. -180 -90 180 90 ). I have listed the top of a map file below as an
example with the world wide extent.

Thanks,

John

MAP

 # all temp files get prefixed with this string
 NAME All_Raster_Layers_ignore

 # always returns a map
 STATUS ON

 # image format options
 OUTPUTFORMAT
  NAME png
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE RGB
  EXTENSION "png"
 END

 # projection of the INTERFACE that this mapfile supports
 PROJECTION
  "init=epsg:4326"
 END

 # minx miny maxx maxy
 EXTENT -180 -90 180 90 # World

 # units of map/app
 UNITS DD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090322/9ed52369/attachment.html


More information about the mapserver-users mailing list