[Tile-serving] [openstreetmap/mod_tile] How to use protocol version 3? (#176)
Juga Paazmaya
notifications at github.com
Fri Mar 23 12:40:52 UTC 2018
Thanks for the suggestion @SomeoneElseOSM, I will try to add pieces..
This commit added a "protocol version 3", https://github.com/openstreetmap/mod_tile/commit/fdc317a8f36f001d3eb2a864eb7cff55f11fdeb7
While I have compiled the `master` of mod_file and have Mapnik v3.0.18 installed, running `sudo renderd -f` displays requests with png mimetype, such as
```
renderd[27281]: DEBUG: Got incoming request with protocol version 2
renderd[27281]: DEBUG: Got command RenderBulk fd(14) xml(default), z(13), x(4662), y(2371), mime(image/png), options()
terminate called after throwing an instance of 'mapnik::image_writer_exception'
what(): Mapnik does not support grayscale images for png
Aborted
```
Whil the counterpart in httpd/error_log is:
```
tile_translate: testing baseuri(/osm/) name(default) extension(jpg),
```
And the Leaflef.js based map requests the tiles as jpg files.
The mapnik configuration also has the `format` property set to `jpeg`.
The cause for trying to render png images, is in my understanding due to the incoming request using the "protocol version 2".
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/176#issuecomment-375652726
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180323/4f778921/attachment.html>
More information about the Tile-serving
mailing list