Hi, 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. Thanks Scott asked 21 Jul '13, 17:03 Scott07 |
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. answered 21 Jul '13, 19:24 Frederik Ramm ♦ |
Have a look at http://www.volkerschatz.com/net/osm/renderd.html answered 19 Oct '14, 18:10 mat42x |