I've just tried report_img locally without issues, any chance you can
provide a backtrace ?

On Tue, Nov 29, 2011 at 17:32, John Taranu
<[email protected]> wrote:
> Hi Thomas,
>
> Thanks for the suggestion.  Commenting out the source block disables the WMS 
> requests.
>
> However, the error reporting seems to be broken.  Setting 
> <errors>empty_img</errors> crashes Apache with a segmentation fault 
> (mod_mapcache SVN revision 12828).  Setting <errors>report</errors> throws 
> HTTP 404 responses, which is a more reasonable result.
>
> John
>
>
>
> -----Original Message-----
> From: thomas bonfort [mailto:[email protected]]
> Sent: Tuesday, November 29, 2011 10:33 AM
> To: John Taranu
> Cc: [email protected]
> Subject: Re: [mapserver-users] MapCache: Disabling WMS requests for 
> fully-seeded caches?
>
> You can do this by commenting out the <source> block from the tileset once 
> the wanted tiles have been created. You'll probably also want set error 
> reporting to return blank images from that stage onwards.
>
> --
> thomas
>
> On Tue, Nov 29, 2011 at 00:09, John Taranu <[email protected]> 
> wrote:
>> We have a fully seeded cache that was fully seeded to a polygon outline.
>> The intent is to serve the tileset through a variety of services (WMS,
>> TMS) using mod-mapcache.
>>
>>
>>
>> Tiles that are outside the polygon outline but still within the
>> polygon bounding box should be blank tiles.  However, a request for
>> one of these tiles results in a call to that tileset’s WMS source.
>> This creates considerable overhead by starting up MapServer and
>> writing the resulting tile to the cache.  Is there any way to disable
>> the WMS calls for these blank tiles, and instead short-circuit the
>> request to return a blank?  That is, once a tileset has been fully
>> seeded, is it possible to disable any further calls to the WMS, so
>> that requests for tiles that are not in the cache return a blank?
>>
>>
>> _______________________________________________
>> 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