[OSM-dev] running a local server
Keith Sharp
kms at passback.co.uk
Fri Nov 2 11:34:51 GMT 2007
On Fri, 2007-11-02 at 11:21 +0000, Andy Allan wrote:
> If you're running a low-bandwidth, limited area map, it's 100 times
> easier than this. Pre-render your tiles (or just copy them from the
> main tileserver) and just put them in the correct hierarchy on your
> webserver, e.g.
>
> http://example.com/12/2173/1398.png
>
> Openlayers will then make straightforward HTTP requests for the tiles,
> and your webserver will simply reply with the file from the
> filesystem. This is how it works for the cycle map - all the images
> are prerendered on a machine at home, and then uploaded to a dumb
> webhost that is nothing more than apache serving .png files.
I have a few of questions about this approach:
1) Are you rendering just the UK?
2) How long does the rendering take and what spec machine is doing the
rendering?
3) How much disk space do the rendered tiles take up?
4) What are you using to drive Mapnik to do the rendering? Does this
automagically create the correct directory hierarchy?
Thanks,
Keith.
More information about the dev
mailing list