On Mon, Apr 29, 2013 at 2:22 PM, Jonathan Moules <
[email protected]> wrote:

> Hi List,
>   Is it possible to get GeoServer to return a sort of "no data" tile in
> response to TMS requests? As in, if there is no cached-tile, nor any data
> for that area to create a tile, it would return a stock default tile of my
> choosing?
>

Not with the current codebase.

Theoretically it would be possible to implement something like that, but
it's not entirely trivial,
as we don't do any preventive check of whether there is data on the area or
not before starting
to render (it would just slow down things).

That said, we already have some way to get notification that vector
features got rendered,
we'd have to use it to raise "no data" flags and compound it with some way
to discover
the lack of raster data.

Metatiling also makes things a bit more complicated, if you are rendering a
5x5 metatile that
only has data in the corner, the above approach won't tell you that, you'd
just know there
is some data somewhere inside the 5x5 block.

Cheers
Andrea

-- 
==
GeoServer training in Milan, 6th & 7th June 2013!  Visit
http://geoserver.geo-solutions.it for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to