<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi all,<div>this is my first post here, and at first I would like to congratulate you all for this great ecosystem of the OSM. If my question doesn´t fit to this chanel, please tell me. English is not my main language, so I will do my best to be clear. </div><div><br></div><div>I am just starting to use OSM to move from GMaps. </div><div>We already have the infrastructure set to render and to serve maps via Apache (mod_tle). The processo seems to be very slow to render the whole planet, but it is working. This is for another thread.</div><div><br></div><div>What I am trying to achieve is to execute some small parts of the complete process, which very simplified,is:</div><div><ul><li>Dowload data (.osm file)<br></li><li>Import to Postgres<br></li><li>Serve tiles<br></li></ul></div><div>Considering that the whole infrastructure is up and runnig, I have already downloaded Maldive Islands data to perform import/render process to acquire the necessary knowledge of all steps of the whole process.</div><div><br></div><div>Here I have some questions:</div><div>- I am using mapnik to style the maps, but it is not clear for me that the style is applied  while importing data from osm to database (and stored inside db data), or when the tile is rendered. </div><div><br></div><div>- renderd.conf XML property, points to a style file. I change this file but the changes I made doesn´t show on tiles, even if I reload data to database, and even if I mark the tile as "dirty" to force re-render. This is the reason for the first question, that I can not even understand when the style is applied, during import, or during render.<br></div><div><br></div><div>- I tryed to check the png data direct on disk, but I couldn´t find it using this steps from here (<a href="https://github.com/openstreetmap/mod_tile/blob/master/readme.txt">https://github.com/openstreetmap/mod_tile/blob/master/readme.txt</a>) :</div><div><br></div><div><div>"</div><div><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container" style="box-sizing:border-box;border-collapse:collapse;border-spacing:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"></tr><tr style="box-sizing:border-box"><td id="gmail-LC65" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;overflow:visible;white-space:pre">/[base_dir]/[TileSetName]/[Z]/[xxxxyyyy]/[xxxxyyyy]/[xxxxyyyy]/[xxxxyyyy]/[xxxxyyyy].png</td></tr><tr style="box-sizing:border-box"><td id="gmail-L66" class="gmail-blob-num gmail-js-line-number" style="box-sizing:border-box;padding:0px 10px;color:rgba(27,31,35,0.3);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;line-height:20px;min-width:50px;text-align:right;vertical-align:top;white-space:nowrap;width:50.4px"></td></tr></tbody></table></div><div>Where base_dir is a configurable base path for all tiles. TileSetName</div><div>is the name of the style sheet rendered. Z is the zoom level.</div><div>[xxxxyyyy] is an 8 bit number, with the first 4 bits taken from the x</div><div>coordinate and the second 4 bits taken from the y coordinate. This</div><div>attempts to cluster 16x16 square of tiles together into a single sub</div><div>directory for more efficient access patterns.</div><div><br></div><div>It is ok for me up to the zoom level. </div><div>"</div></div><div><br></div><div><br></div><div>Thanks in advance,</div><div>Koji</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div>