Why not ask your question on the new OpenStreetMap Community Forum?


I am looking to understand the protocol between renderd and mod_tile. I can capture the data thats going across the network, thats easy, and I have found this https://github.com/openstreetmap/mod_tile/blob/master/protocol.h but of course that does not tell me how the c variables translate into bits on the network and I am unable to find much more with Google.

Any documentation on what mod_tile sends down the socket to renderd and what renderd sends back would be very helpful.



asked 21 Jul '13, 17:03

Scott07's gravatar image

accept rate: 0%

The struct you're seeing in protocol.h is what gets sent over the network, verbatim. See https://github.com/openstreetmap/mod_tile/blob/master/mod_tile.c#L216 which does the sending. The same struct is used as a return message, see https://github.com/openstreetmap/mod_tile/blob/master/mod_tile.c#L246 which receives the message.

permanent link

answered 21 Jul '13, 19:24

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

permanent link

answered 19 Oct '14, 18:10

mat42x's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 21 Jul '13, 17:03

question was seen: 4,141 times

last updated: 19 Oct '14, 18:10

powered by OSQA