Thanks Andrea. I guess I'll wait to see how many people complain about a
"white background" when they're in the middle of no-where before I throw
our developer time at it.
Regards,
Jonathan
On 30 April 2013 09:30, Andrea Aime <[email protected]> wrote:
> 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
>
> -------------------------------------------------------
>
This transmission is intended for the named addressee(s) only and may contain
sensitive or protectively marked material up to RESTRICTED and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this transmission in error please notify the
sender immediately. All email traffic sent to or from us, including without
limitation all GCSX traffic, may be subject to recording and/or monitoring in
accordance with relevant legislation.
------------------------------------------------------------------------------
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