[Tile-serving] Need tiles levels 0-10 for offline access

Lynn W. Deffenbaugh (Mr) ldeffenb at homeside.to
Thu Nov 14 16:39:39 UTC 2013


I run a global tile server on an 8GB Ubuntu virtual machine with live 
updates.

The real issue is getting the initial planet imported.  For that, I had 
to give the VM about 30GB of RAM for 3-4 days of import time.  After the 
import, then the updates had to be applied after which I reduced the 
memory footprint to the more sustainable 8GB.

This machine has the rendering tables manually forced (using psql 
commands) onto a 128GB and 256GB SSD, the update tables are on one and 
the rendering tables are on the other.  And they're just at the limit of 
space.  The original import was done using a 4 spindle RAID setup to 
distribute the I/O.

Oh, and I also use the flat-nodes option to keep the node update table 
smaller.

As for rendering performance, I wouldn't want to open it up to the world 
by any stretch.  It works ok for my own tile usage and a few friends.  A 
batch job to explicitly render levels 0-10 (I'm guessing) would take a 
day or 3.  I've got most of levels 0 through 8 rendered and updating 
those takes the better part of a day.  This is on a Core i7 machine with 
4 cores made available to the VM.

As always, YMMV, but it's certainly doable given the time, hardware, and 
motivation.

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

PS.  If you're familiar with munin graphs, you can see my tile server at 
http://tinyurl.com/6v8lvvc


On 11/14/2013 11:30 AM, Paolo Maffei wrote:
> Hopefully for zoom levels 0-10 we do not need an update strategy as 
> it's pretty hard something will change at that level (satellite 
> images-wise at least)
>
> Any idea on where to find an easy way of generating tiles ourselves 
> and what actually is the effort involved (for example is z0-10 doable 
> with a modern quad core machine)?
>
> P
>
>
> 2013/11/14 Martin Koppenhoefer <dieterdreist at gmail.com 
> <mailto:dieterdreist at gmail.com>>
>
>
>     2013/11/14 Paolo Maffei <paolo at paolomaffei.it
>     <mailto:paolo at paolomaffei.it>>
>
>         Hello,
>         we are developing an offline application that will need to
>         access the world map from level 0 to 10.
>
>         We use OpenLayers on the client and will be using a simple TMS
>         style protocol over HTTP to serve tiles.
>
>         We've been trying to generate a world map with MapTiler and
>         GDAL2tiles, neither had any success (it just crashes our
>         machines or timeouts).
>         I believe this might be because it is a very big task to
>         generate this many tiles (is this the case or we are doing
>         something wrong?)
>
>         I was wondering what would be the best way to obtain these tiles?
>         Would downloading them from OpenStreetMap API be a good idea?
>
>         Thank you,
>         Paolo
>
>
>
>
>     you shouldn't batch download them from OSM, and it won't work, you
>     will get blocked because z0-10 is too much data. Also you'll have
>     to have an update strategy, so this won't be a one time download
>     probably. Either you create them yourself or ask a professional
>     service provider (geofabrik.de <http://geofabrik.de>, mapbox.com
>     <http://mapbox.com>, etc.) for help. Tools able to do it are e.g.
>     mapnik and/or with tilemill frontend, etc. more info in the wiki.
>
>     This also allows for a personalized style.
>
>     cheers,
>     Martin
>
>
>
>
> -- 
> Paolo Maffei
>
> UK (London): +44 7776 113065
> IT (Brescia): +39 333 4053347
>
> Mail: paolo at paolomaffei.it <mailto:paolo at paolomaffei.it>
> Skype: paolo-maffei
> Web www.paolomaffei.it <http://www.paolomaffei.it/>
>
> Twitter: @paolomaffei <http://www.twitter.com/paolomaffei>
> LinkedIn: www.linkedin.com/in/maffei <http://www.linkedin.com/in/maffei>
> Facebook: www.facebook.com/maffei <http://www.facebook.com/maffei>
>
>
> _______________________________________________
> Tile-serving mailing list
> Tile-serving at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tile-serving

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20131114/aa576cd2/attachment.html>


More information about the Tile-serving mailing list