<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Mangal;
        panose-1:2 4 5 3 5 2 3 3 2 2;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:736973588;
        mso-list-template-ids:-192521330;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:791243492;
        mso-list-template-ids:-98640684;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level2
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>I think rendering on the fly is a bit of a misnomer as the metatiles are just concatenated pngs to save on the number of files in the file system, but they aren't compressed and are just rendered tiles.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><a href="http://wiki.openstreetmap.org/wiki/Meta_tiles">http://wiki.openstreetmap.org/wiki/Meta_tiles</a>.  I think Braddock used 4096 tiles per metatile.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> xsce-devel@googlegroups.com [mailto:xsce-devel@googlegroups.com] <b>On Behalf Of </b>Jérôme Gagnon-Voyer<br><b>Sent:</b> Tuesday, August 11, 2015 1:18 PM<br><b>To:</b> Anish Mangal <anishmangal2002@gmail.com><br><b>Cc:</b> xsce-devel <xsce-devel@googlegroups.com>; Anish Mangal <anishmg@umich.edu>; Adam Holt <holt@laptop.org>; Unleash Kids! <unleashkids@googlegroups.com>; server-devel <server-devel@lists.laptop.org><br><b>Subject:</b> Re: [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I see i see, so the disk space can't be exactly compared to what we see in .mbtiles, since if you had to transfer that to another server and did not want to do rendering on fly, this would be a different file size (much bigger).<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Aug 11, 2015 at 12:49 PM, Anish Mangal <<a href="mailto:anishmangal2002@gmail.com" target="_blank">anishmangal2002@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><p class=MsoNormal>I just used the default settings in renderd. As far as I know, I didn't generate any png or jpg tiles, only metatiles were generated, which are renderd as png on the fly. <o:p></o:p></p><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Aug 11, 2015 at 8:10 PM, Jérôme Gagnon-Voyer <<a href="mailto:gagnonje@gmail.com" target="_blank">gagnonje@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><p class=MsoNormal>Hi Anish<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Regarding file size<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>Would you mind sharing how you generated those tiles? Like the settings used, if its PNG 8 bit, full png or JPG, metatiles size, style used, etc...<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I'll be sending you and Tim in separate email the link to download the .mbtiles file<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Aug 11, 2015 at 9:35 AM, Anish Mangal <<a href="mailto:anishmg@umich.edu" target="_blank">anishmg@umich.edu</a>> wrote:<o:p></o:p></p><div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><div><div><div><div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi<o:p></o:p></p></div><p class=MsoNormal>Here is the data<br><span style='font-family:"Courier New"'>size  zoom <br> 28K     0<br> 48K     1<br> 80K     2<br>184K     3<br>340K     4<br>788K     5<br>2.1M     6<br>5.8M     7<br> 19M     8<br> 58M     9<br>188M    10<br>673M    11<br> 17M    12<br> 54M    13<br>134M    14<br>375M    15<br>1.1G    16<br>3.0G    17</span><br><span style='font-family:"Courier New"'>9.6G    18</span><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>As is obvious, for zoom levels 0-11 I had generated tiles for the entire world, which was essentially empty tiles except the shape of continents since the only data source I used was the nepal osm data<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Zoom level 12 and onwards, tiles were generated only for nepal.<o:p></o:p></p></div><p class=MsoNormal>The bigger question i'd be asking is the setup required to generate tiles, and what it would take to do for the entire planet. I guess Braddock would be happy to give access to Jerome on hadron if he wants to give it a try. It is a machine with a 500G SSD and 32G RAM and an 8 core processor.<o:p></o:p></p><div><div><p class=MsoNormal><o:p> </o:p></p><div><div><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Aug 11, 2015 at 6:38 PM, Tim Moody <<a href="mailto:tim@timmoody.com" target="_blank">tim@timmoody.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Anish, you generated tiles for Nepal.  How does the size compare to what you got?</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><a href="mailto:unleashkids@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>unleashkids@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> [mailto:</span><a href="mailto:unleashkids@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>unleashkids@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>] <b>On Behalf Of </b>Tim Moody<br><b>Sent:</b> Tuesday, August 11, 2015 9:04 AM<br><b>To:</b> 'Jérôme Gagnon-Voyer' <</span><a href="mailto:gagnonje@gmail.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>gagnonje@gmail.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>><br><b>Cc:</b> 'Adam Holt' <</span><a href="mailto:holt@laptop.org" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>holt@laptop.org</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>>; 'xsce-devel' <</span><a href="mailto:xsce-devel@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>xsce-devel@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>>; 'Unleash Kids!' <</span><a href="mailto:unleashkids@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>unleashkids@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>>; 'server-devel' <</span><a href="mailto:server-devel@lists.laptop.org" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>server-devel@lists.laptop.org</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>><br><b>Subject:</b> RE: [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Can I get the data, maybe a dropbox link?  not sure of a place to ftp unless you have one.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><a href="mailto:unleashkids@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>unleashkids@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> [</span><a href="mailto:unleashkids@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>mailto:unleashkids@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>] <b>On Behalf Of </b>Jérôme Gagnon-Voyer<br><b>Sent:</b> Tuesday, August 11, 2015 9:01 AM<br><b>To:</b> Tim Moody <</span><a href="mailto:tim@timmoody.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>tim@timmoody.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>><br><b>Cc:</b> Adam Holt <</span><a href="mailto:holt@laptop.org" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>holt@laptop.org</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>>; xsce-devel <</span><a href="mailto:xsce-devel@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>xsce-devel@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>>; Unleash Kids! <</span><a href="mailto:unleashkids@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>unleashkids@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>>; server-devel <</span><a href="mailto:server-devel@lists.laptop.org" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>server-devel@lists.laptop.org</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>><br><b>Subject:</b> Re: [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)</span><o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>You define the path to the mbtiles in tilestache.cfg, so yes, they could be in any location (as long as the access rights / permissions are right)<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Tue, Aug 11, 2015 at 8:28 AM, Tim Moody <<a href="mailto:tim@timmoody.com" target="_blank">tim@timmoody.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>This looks great and not overly complex.  XSCE uses one convention that you are probably not aware of and that is that we put data in /library, in this case probably /library/osm or tilestache or some combination.  Can tilestache.cfg point to a location different than the html and config files?</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'> </span><o:p></o:p></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> </span><a href="mailto:unleashkids@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>unleashkids@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> [mailto:</span><a href="mailto:unleashkids@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>unleashkids@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>] <b>On Behalf Of </b>Adam Holt<br><b>Sent:</b> Tuesday, August 11, 2015 12:19 AM<br><b>To:</b> xsce-devel <</span><a href="mailto:xsce-devel@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>xsce-devel@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>>; Unleash Kids! <</span><a href="mailto:unleashkids@googlegroups.com" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>unleashkids@googlegroups.com</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>>; server-devel <</span><a href="mailto:server-devel@lists.laptop.org" target="_blank"><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>server-devel@lists.laptop.org</span></a><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>><br><b>Subject:</b> [UKids] Re: [XSCE] Tilestache on XSCE stack (OSM offline)</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Don't stop pushing Jerome- I hope you can demonstrate Nepal-or-larger working models during our Toronto summit Oct 10-12.<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>See you 7AM EDT Thursday on our weekly call, if you have time for our unusually early meeting this week: <a href="http://tinyurl.com/xsceminutes" target="_blank">http://tinyurl.com/xsceminutes</a><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br>(Several of our early design discussions on offline mapping began on <a href="mailto:unleashkids@googlegroups.com" target="_blank">unleashkids@googlegroups.com</a>, so am bringing that thread full circle.)<o:p></o:p></p></div></div></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Mon, Aug 10, 2015 at 11:01 PM, Anish Mangal <<a href="mailto:anishmg@umich.edu" target="_blank">anishmg@umich.edu</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><div><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>adding server-devel (the publicly archived mailing list) as well.<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Great work. Thanks! <br><br>Happy to help with the testing. I have an intel NUC running an atom processor 2 Ghz, and 2GB RAM - not exactly low end, but still a viable appliance to deploy the xsce. <o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Could you tell me how to get the mbtiles from your ftp. If this works, I can help with creating a playbook - and possibly admin console integration.<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks,<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Anish<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Tue, Aug 11, 2015 at 8:19 AM, Jérôme Gagnon-Voyer <<a href="mailto:gagnonje@gmail.com" target="_blank">gagnonje@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi all<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>This is about the project to bring a new way of storing OpenStreetMaps offline for internet in a box (schoolserver).<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>(Apologies if I'm using the wrong mailing list, feel free to add more)<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I wanted to test what it would look like to run Tilestache to serve .mbtiles using the schoolserver. So I installed XSCE on a local VM with Fedora 21 here, installed Tilestache, moved the .mbtiles in it, and did some testing.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>So far I only tested with Nepal zoom 0-13 and Nepal zoom 14-15 (to see how combining multiple files was working)<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I reduced the VM to use only 1 core at 50% (I'm on MBP Intel i5 2.6Ghz, 2 cores). Speed was decent when viewing with leaflet in my browser from my laptop.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I've created a gist that explains all the steps required to do it<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="https://gist.github.com/jeromegv/cb64bc2c9777794e80af" target="_blank">https://gist.github.com/jeromegv/cb64bc2c9777794e80af</a><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The reason I wanted to test it was also to see if the integration would be relatively straightforward. I assume you would eventually want to do the install through the schoolserver admin console. When comes the time to do that, I might not be the person to do this integration, but I think that the steps I've done so far should at least prove that the XSCE stack should be compatible. <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><ul type=disc><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo3'>I might not have the best testing setup or what is similar to a typical schoolserver, if you have the proper hardware to test, let me know, I can send you the .mbtiles on a FTP for nepal and you can test it (about 1Gb)<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo3'>Feel free to provide feedback on the GIST and if the integration seems to make sense<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo3'>There's an extra optimization that is possible for tilestache, to cache the tiles to the HD once they were retrieved and served from the .mbtiles once. It's currently disabled. Not so sure if it's worth it and how much we would gain considering MBtiles are already pre-rendered files, perhaps better to test once we have a full planet. The downside is that it stores on HD a lot of PNG files and this might eventually baloon if you get tons of people to use those maps. Benefit of sticking entirely to mbtiles is we know exactly how much disk space. Might be optional setting from admin console when there's plenty of HD available.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo3'>Next step for me will be to test generation of MBtiles for bigger country and eventually get to the Planet. Will need some type of cloud setup to manage/store all that.<o:p></o:p></li></ul></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'> </span><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'>-- </span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'>Jérôme Gagnon-Voyer<br clear=all><br>-- </span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:#888888'>Unsung Heroes of OLPC, interviewed live @ </span><a href="http://unleashkids.org" target="_blank">http://unleashkids.org</a><span style='color:#888888'> !</span><o:p></o:p></p></div></div></div></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- <br>Unsung Heroes of OLPC, interviewed live @ <a href="http://unleashkids.org" target="_blank">http://unleashkids.org</a> !<br>--- <br>You received this message because you are subscribed to the Google Groups "Unleash Kids" group.<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:unleashkids+unsubscribe@googlegroups.com" target="_blank">unleashkids+unsubscribe@googlegroups.com</a>.<br>For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<o:p></o:p></p></div></div></div></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- <br>Unsung Heroes of OLPC, interviewed live @ <a href="http://unleashkids.org" target="_blank">http://unleashkids.org</a> !<br>--- <br>You received this message because you are subscribed to the Google Groups "Unleash Kids" group.<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:unleashkids+unsubscribe@googlegroups.com" target="_blank">unleashkids+unsubscribe@googlegroups.com</a>.<br>For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<o:p></o:p></p></div></div></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Jérôme Gagnon-Voyer<o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- <br>Unsung Heroes of OLPC, interviewed live @ <a href="http://unleashkids.org" target="_blank">http://unleashkids.org</a> !<br>--- <br>You received this message because you are subscribed to the Google Groups "Unleash Kids" group.<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:unleashkids+unsubscribe@googlegroups.com" target="_blank">unleashkids+unsubscribe@googlegroups.com</a>.<br>For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- <br>Unsung Heroes of OLPC, interviewed live @ <a href="http://unleashkids.org" target="_blank">http://unleashkids.org</a> !<br>--- <br>You received this message because you are subscribed to the Google Groups "Unleash Kids" group.<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:unleashkids+unsubscribe@googlegroups.com" target="_blank">unleashkids+unsubscribe@googlegroups.com</a>.<br>For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<o:p></o:p></p></div></div></div></div></blockquote></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div></div></div></div></div></div></div></blockquote></div></div></div><p class=MsoNormal><span style='color:#888888'><br><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#888888'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='color:#888888'>-- <o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#888888'>Jérôme Gagnon-Voyer<o:p></o:p></span></p></div></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div></div></div><p class=MsoNormal><span class=hoenzb><span style='color:#888888'>-- <o:p></o:p></span></span></p><div><p class=MsoNormal><span style='color:#888888'>Anish</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal>-- <br>Unsung Heroes of OLPC, interviewed live @ <a href="http://unleashkids.org" target="_blank">http://unleashkids.org</a> !<br>--- <br>You received this message because you are subscribed to the Google Groups "Unleash Kids" group.<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:unleashkids+unsubscribe@googlegroups.com" target="_blank">unleashkids+unsubscribe@googlegroups.com</a>.<br>For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<o:p></o:p></p></div></div></blockquote></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><p class=MsoNormal>Jérôme Gagnon-Voyer<o:p></o:p></p></div></div></div></div></body></html>