<div dir="ltr">Thank you Lars,<br>Well, I asked because I can't do that with generate_tyles.py via mapnik because I'm windows user. Now I'm using Mapproxy-seed.exe tool for pre-rendered tiles and use it as seed_only=true mode for offline. But propably it's not a clue for right way because I'm seeding through online TMS servers like <a href="http://a.tile.openstreetmap.org">http://a.tile.openstreetmap.org</a>. So I thought it would be great use mapproxy-seed tool such as mapnik's generate_tiles tool especially  if I've had an osm data inside postgresql.  </div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-05 15:01 GMT+03:00 lars lingner <span dir="ltr"><<a href="mailto:gislars+list@gmail.com" target="_blank">gislars+list@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<span class=""><br>
On 05.08.2015 11:51, Andrey Maraev wrote:<br>
> Hello!<br>
> I'm using tiles in offline. So, I've exported an osm data to PostgreSQL via<br>
> osm2pgsql.  I was wondering, would be able to use mapproxy-seed as a tile<br>
> generator from local PostgreSQL database like<br>
> mapnik-tools(generate_tiles.py)?<br>
<br>
</span>Mapproxy itself doesn't render the tiles. For this job you need an<br>
rendering software like mapnik or MapServer. To answer your question:<br>
Yes it is possible to use the combination of MapProxy an mapnik to<br>
render the OSM tiles.<br>
<br>
I'm not sure if you have already an working mapnik setup. Did you try to<br>
use the generate_tiles.py to render a demo map?<br>
<br>
If this is working you can setup mapproxy to use mapnik as source. You<br>
can have a look at a working setup at OSGeoLive [1]<br>
There is also an example in the MapProxy documentation [2] but it is a<br>
little hidden in the Retina Example.<br>
<br>
<br>
Best regards,<br>
<br>
Lars<br>
<br>
<br>
<br>
[1] <a href="http://live.osgeo.org/de/quickstart/mapproxy_quickstart.html" rel="noreferrer" target="_blank">http://live.osgeo.org/de/quickstart/mapproxy_quickstart.html</a><br>
[2]<br>
<a href="http://mapproxy.org/docs/nightly/configuration_examples.html#hq-retina-tiles" rel="noreferrer" target="_blank">http://mapproxy.org/docs/nightly/configuration_examples.html#hq-retina-tiles</a><br>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org">MapProxy@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapproxy</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best Regards!</div><div>Andrey Maraev</div></div></div>
</div>