<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Thanks for the reply,</div><div><br></div><div><span style="color: rgb(69, 69, 69); font-family: Arial, Helvetica, sans-serif; font-size: 12px; ">So TileStache</span> can serve and render the MBTiles to use with openlayers? Would you know if there are possibilities for exporting mapcontent from the openlayers mappanel?<br></div><div><br></div><div>This is one of the reasons iīm looking in this directory as I canīt do pdf exports with geowebcache served from geoserver.</div><div><br></div><div>Thanks,</div><div><br></div><div>Rob</div><div><br></div> <div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">Von:</span></b> Greg
Allensworth <gregor@greeninfo.org><br> <b><span style="font-weight: bold;">An:</span></b> Robert Buckley <robertdbuckley@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> "users@openlayers.org" <users@openlayers.org> <br> <b><span style="font-weight: bold;">Gesendet:</span></b> 17:51 Mittwoch, 25.Januar 2012<br> <b><span style="font-weight: bold;">Betreff:</span></b> Re: [OpenLayers-Users] Use of MBTIles with openlayers<br> </font> </div> <br>On 1/25/2012 4:18 AM, Robert Buckley wrote:<br>> Has anyone successfully used MBTiles to server<br>> basemaps in Openlayers? Do any live example exist if yes?<br><br>You need server-side software to open the MBTiles file and fetch the tiles. TileStache and TileStream are two popular servers for doing this.<br><br>TileStache is Python and I found it fairly easy to set up. It runs under Apache as CGI, mod_python, or WSGI. If you have an existing web server and web content, this
is probably the easiest way to go.<br><br>TileStream is written in Node JS and takes a bit more setup. It does not run under Apache, but is its own server with its own service port and it has some behaviors regarding the hostname of incoming requests -- running it on port 80 with your other web content is not simple.<br><br>-- Greg Allensworth, Web GIS Developer<br>BS A+ Network+ Security+ Linux+ Server+<br>GreenInfo Network - Information and Mapping in the Public Interest<br>564 Market Street, Suite 510 San Francisco CA 94104<br>PH: 415-979-0343 x302 FX: 415-979-0371 email: <a ymailto="mailto:gregor@greeninfo.org" href="mailto:gregor@greeninfo.org">gregor@greeninfo.org</a><br>Web: www.GreenInfo.org www.MapsPortal.org<br><br>Subscribe to MapLines, our e-newsletter, at www.GreenInfo.org<br><br><br> </div> </div> </div></body></html>