<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hello,</DIV><DIV><BR class="khtml-block-placeholder"></DIV>I recently helped Nestoria to create new tileset and I thought it might be useful to outline steps involved.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>1. Download data (covering IOW and some mainland) using JOSM.</DIV><DIV>2. Use JOSM select tool (why bounding box keeps aspect ratio of the main window? I might be missing something) to select mainland bits and delete them. </DIV><DIV>3. Create buffer 'sea' polygon around IOW</DIV><DIV>4. Export to OSM file</DIV><DIV>5. Use osm2pgsq to load *.osm file into Postgresql.</DIV><DIV>6. Using pgsql2shp utility (comes with postgis) create two shapefiles:</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>iow.{shp,shx,dbf} - IOW island polygon and</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>sea_around_iow.{shp,shx,dbf} - buffer sea around it (Use your SQL skills here)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The rest was to create modified version of generate_tiles_iow.py ( Note setting background colour to Color(153,179,204,0) for perfect blending with Gmap sea and modify osm.xml (iow.xml) to use iow and sea_around_iow shape files.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This is what it looks like : <A href="http://media.mapnik.org/iow.html">http://media.mapnik.org/iow.html</A> (switch to 'Map'!!)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>All related files are in : <A href="http://artem.dev.openstreetmap.org/files/iow_files.tar.gz">http://artem.dev.openstreetmap.org/files/iow_files.tar.gz</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Cheers,<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Artem Pavlenko</DIV><DIV><A href="http://mapnik.org">http://mapnik.org</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></BODY></HTML>