John, Jukka,

I confirm that a check for the MAXSIZE directive was introduced for WCS
in version 6.0 (see #3204). At the moment there's no possibility to set
the values independently for WMS and WCS. I started to think about a
more clever method of limiting WCS responses based on the result volume.
E.g. a RGB image of same pixel size is way smaller than a multiple bands
float32 coverage. What are your requirements for such a limiting
mechanism?

Btw. you might be interested in version 2.0 of the WCS standard which is
also supported by MapServer.

cu
Stephan


On Fri, 2011-10-21 at 20:04 +0000, Rahkonen Jukka wrote: 
> For our server the practical limit is somewhere around 5000x5000 pixels which 
> makes 75 MB per image.  Our users have been satisfied with that so I have not 
> bothered to study how to increase the limit.  If the outputformat is geotiff 
> the images can be easily combined later. Users are downloading aeriel images 
> for local use by sending the bounding box and desired output resolution. Stay 
> with WCS 1.0 if you do not have any very special needs, WCS 1.1.0 is an odd 
> invention as a standard.
> 
> -Jukka Rahkonen-
> 
> John Cartwright wrote:
> 
> > Thanks for your quick response Jukka.
> 
> So the MAXSIZE sets the maximum size of the map image (e.g. WMS request)
> as well as the size of the raster downloaded  with a WCS GetCoverage
> request?  There's no provision to allow a larger data download than map
> image?
> 
> This seems to have changed sometime between 5.6.3 and 6.0.1, but I
> didn't see mention in the release notes.
> 
> --john
> 
> On 10/21/2011 01:17 PM, Rahkonen Jukka wrote:
> > Hi,
> >
> > See MAXSIZE http://mapserver.org/mapfile/map.html
> >
> > -Jukka Rahkonen-
> >
> > John Cartwright wrote:
> >
> >
> >> Hello All,
> >> I'm finding that a WCS GetCoverage request which results in a large grid
> >> works on mapserver 5.6.3, but on 6.0.1 returns an error message:
> >> msWCSGetCoverage(): WCS server error. Raster size out of range, width
> >> and height of resulting coverage must be no more than MAXSIZE=2048.
> >> Is there a way to alter this limit in the mapfile?
> > Thanks!
> >
> > --john
> >
> > _______________________________________________
> > mapserver-users mailing list
> > [email protected]
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> > _______________________________________________
> > mapserver-users mailing list
> > [email protected]
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to