[MapProxy] Seeding tiles from local PostgreSQL

lars lingner gislars+list at gmail.com
Wed Aug 5 05:01:48 PDT 2015


Hello,

On 05.08.2015 11:51, Andrey Maraev wrote:
> Hello!
> I'm using tiles in offline. So, I've exported an osm data to PostgreSQL via
> osm2pgsql.  I was wondering, would be able to use mapproxy-seed as a tile
> generator from local PostgreSQL database like
> mapnik-tools(generate_tiles.py)?

Mapproxy itself doesn't render the tiles. For this job you need an
rendering software like mapnik or MapServer. To answer your question:
Yes it is possible to use the combination of MapProxy an mapnik to
render the OSM tiles.

I'm not sure if you have already an working mapnik setup. Did you try to
use the generate_tiles.py to render a demo map?

If this is working you can setup mapproxy to use mapnik as source. You
can have a look at a working setup at OSGeoLive [1]
There is also an example in the MapProxy documentation [2] but it is a
little hidden in the Retina Example.


Best regards,

Lars



[1] http://live.osgeo.org/de/quickstart/mapproxy_quickstart.html
[2]
http://mapproxy.org/docs/nightly/configuration_examples.html#hq-retina-tiles


More information about the MapProxy mailing list