NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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's gravatar image

Scott07
36336
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 ♦
82.5k927201273
accept rate: 23%

permanent link

answered 19 Oct '14, 18:10

mat42x's gravatar image

mat42x
16
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

By RSS:

Answers

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:

×105
×80
×2

question asked: 21 Jul '13, 17:03

question was seen: 4,280 times

last updated: 19 Oct '14, 18:10

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum