[Tile-serving] [mod_tile] SCALE option to produce retina tiles (#82)

Ilya Zverev notifications at github.com
Wed Jul 9 14:26:22 UTC 2014


Adds a `SCALE` option to `renderd.conf`. This way you can have retina (2x) tiles: just set `TILESIZE=512` + `SCALE=2`. This fork is currently producing tiles [here](http://osmz.ru/vretina.html), exactly with those options.

Also this PR fixes default buffer to be derived from tile size.
You can merge this Pull Request by running:

  git pull https://github.com/Zverik/mod_tile retina

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/mod_tile/pull/82

-- Commit Summary --

  * SCALE option to produce retina tiles

-- File Changes --

    M includes/daemon.h (1)
    M renderd.conf (1)
    M src/daemon.c (8)
    M src/gen_tile.cpp (6)

-- Patch Links --

https://github.com/openstreetmap/mod_tile/pull/82.patch
https://github.com/openstreetmap/mod_tile/pull/82.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/82
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140709/d569eedf/attachment.html>


More information about the Tile-serving mailing list