[Qgis-developer] Announce QTiles plugin

Mathieu Pellerin nirvn.asia at gmail.com
Mon Dec 31 01:07:13 PST 2012


One more thing, it would be very useful to offer users the possibility of
having transparent background (i.e. no white or project setting background
filling color).


On Mon, Dec 31, 2012 at 10:47 AM, Mathieu Pellerin <nirvn.asia at gmail.com>wrote:

> Alex, alright, should have looked at the source code before asking
> something that could be answered quite easily. :)
>
> Few comments and observations after playing with the plugin this morning:
> - QTiles currently renders tiles without applying antialiasing, resulting
> in jagged lines. IMO, disabling antialiasing should be optional, maybe
> through a checkbox in the rendering option window. I've enabled
> antialiasing by adding painter.setRenderHint(QPainter.Antialiasing) below
> line 167 in titlingthread.py
> - The tile background color is hardcoded to be white (line 165,
> titlingthread.py); it might be better to take the background color from the
> project's background color setting? The project I used to test out QTiles
> has a gray background color set through the project settings, and the
> QTiles white background got me going "huh?" for a minute :)
> - As it stands, the labelling rendering is kind of a mess. I understand
> this isn't something that can be fixed at the QTiles level. Might be worth
> coordinating with Larry Shafter to see whether there are quick fixes that
> could be applied to improve things.
> - To take care of some of the label cut-off, would it be possible for you
> to not only render the 256x256 tile, but instead do something like this:
> render a 3 x 3 matrix of 256 x 256 tiles, and save only the central 256 x
> 256 region as the PNG tile. It wouldn't take care of all label issues, but
> it'd help reduce it.
> - One other thing that could be done at the QTiles level is to warn users
> when it detects that polygon layer(s) are using "most problematic"
> labelling settings (i.e. I'm thinking here of relying on centroid of
> visible polygon centroid, which results in labels duplicated many, many
> times for each tiles with big polygons, such as provincial / district
> boundaries)
>
> Other than that, I'm loving it more and more ;)
>
> Math
>
>
>
> On Mon, Dec 31, 2012 at 8:46 AM, Mathieu Pellerin <nirvn.asia at gmail.com>wrote:
>
>> This is probably the best gift given out this christmas : )
>>
>> Alexander, quick question, does QTiles render the tiles in the CRS
>> defined by the project, or does it automatically switches to the Google
>> Mercator?
>>
>> Best,
>>
>> Math
>>
>>
>> On Wed, Dec 26, 2012 at 9:24 PM, G. Allegri <giohappy at gmail.com> wrote:
>>
>>> Wow, thanks for this very useful Christmas gift!
>>> I'm gonna test it next days for a real application ;-)
>>>
>>> giovanni
>>>
>>> Sent from Nexus
>>> Il giorno 26/dic/2012 14:25, "Alexander Bruy" <alexander.bruy at gmail.com>
>>> ha scritto:
>>>
>>>> Hi all and sorry for cross-posting,
>>>>
>>>> we (NextGIS) are pleased to announce QTiles plugin for QGIS.
>>>>
>>>> QTiles designed to generate raster tiles from QGIS projects according
>>>> to the Slippy Map specification [0] and supports two output types:
>>>> directory and ZIP-archive.
>>>>
>>>> You can get plugin from official repo (don't forget to enable
>>>> experimental plugins). Comments and bugreports are welcome.
>>>>
>>>> Merry Christmas and happy New Year!
>>>>
>>>> [0] http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames
>>>>
>>>> --
>>>> Alexander Bruy
>>>> _______________________________________________
>>>> Qgis-developer mailing list
>>>> Qgis-developer at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>>
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121231/a8f55efd/attachment.html>


More information about the Qgis-developer mailing list