[Qgis-developer] QGIS Multi-threaded Rendering

Jonathan Moules jonathanmoules at warwickshire.gov.uk
Thu Dec 12 08:29:40 PST 2013


I believe GeoServer (well, GeoWebCache) uses "metatiling" for that purpose
within its WMTS/TMS. My understanding is that rather than rendering a
single 256*256 pixel tile like it was asked to, it renders a grid of 4*4
(adjustable; but that's the default) of those tiles (so 1024*1024 pixels)
and then clips that to get the requested tile. The result is that labels
look quite good crossing tile borders. Maybe something similar could work
for QGIS.

Jonathan


On 12 December 2013 16:23, Bernhard Ströbl <bernhard.stroebl at jena.de> wrote:

> Hi Martin,
>
> Am 12.12.2013 16:50, schrieb Martin Dobias:
>
>  Hi Tim!
>>
>>
>>  That all sounds absolutely brilliant! Thanks for such a nice clear
>>> description of how it all fits together. I know you are only considering
>>> layer-by-layer rendering but does your design accommodate further future
>>> optimisations easily? I'm thinking of things like:
>>>
>>> * predictive / off screen  rendering of 3x3 canvas dimensions after the
>>> initial render so that any pan is near instantaneous (and would trigger a
>>> new off-screen render)
>>>
>>
>> I have had this idea in my mind while working on the project. In
>> theory map canvas can spawn several renderer jobs (instead of just
>> one) and let them render just one tile of the map. Some special
>> handling of the labeling would be necessary if we wanted labels that
>> are allowed to cross the border of tiles.
>>
>>
> that reminds me that I needed some way to keep a stripe around the edge
> free of labels in QGIS server for tiling purposes (labels were cut)
> if you address this issue it would be nice to have this somehow
> customizable for QGIS server.
>
> Bernhard
>
>
> __________ Information from ESET Mail Security, version of virus signature
> database 9165 (20131212) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>

-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131212/dfe3a273/attachment.html>


More information about the Qgis-developer mailing list