<div dir="ltr">Dear list,<div><br></div><div>I have a server offering OSM tiled layer based on the instructions <a href="http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/">here</a>.</div><div><br></div>
<div>I have a openlayers using this OSM base layer and other overlay layers but I would like to make them printable as an image or PDF. After trying with client-side alternatives and failing one after another, I am trying now based on a server-side and MapServer based approach, the one I am more used to.</div>
<div><br></div><div>So, I have already configured the overlays layers in my map file and I need to include the OSM tiled layer I have directly from mod_tile data. The issue is that I can't find a way to do it. I am not familiar with mapnik, that is why I am trying with mapserv which I installed on the server. Also I would like to use mapserver to use the PDF, KML and multiple image formats supported. I have always used mapserver, but I inherit this OSM configuration and I found problems migrating or addapting it.</div>
<div><br></div><div>I have checked mapserver documentation, but following the instructions in <a href=" http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu">Rendering OSM Data</a> it fails when trying to compile mapserver-utils due to not being able to connect <a href="http://www.naturalearthdata.com">www.naturalearthdata.com</a>. However, <a href="http://trac.osgeo.org/mapserver/wiki/RenderingOsmData">here</a> it says no osm2pgsql estructure is supported anymore. So I am affraid I will need to load data again to be able to serve OSM layer from MapServer.</div>
<div><br></div><div>Does anyone know if it is possible to connect to this mod_tile tiles from a mapserver mapfile? <br></div><div><br></div><div>If no, does anyone know why mapserver-utils are failing and if there is another tutorial for configuring OSM own server with MapServer?</div>
<div><br></div><div>Regards,<br clear="all"><div><div dir="ltr">Juan Manuel Moreno Rivera.<br>


<font face="Arial"><span style="font-size:10pt;font-family:Arial"></span></font></div></div>
</div></div>