I created a tile server (with this tutorial). Everything works great, but now I want to use only PNG files to show map on server which I generated with generate_tiles.py.

The problem is that I have to create server at Windows and I would like to have only PNG files of map on server and use OpenLayers to show them. And my main question is how to do that and is it possible?

I am beginner at this and detailed description would be awesome. If you think that I misunderstood anything, please correct me.

asked 05 Sep, 09:22

LukashArts's gravatar image

LukashArts
163
accept rate: 0%


  1. generate PNG tiles with generate_tiles.py
  2. install simple web server on Windows (can be IIS, Apache, anything)
  3. copy PNG files from Linux box into the web server's root directory on Windows
  4. done!

However, note that there are limits to this procedure if you want a large area and high detail - for example, if you wanted to do this for all of Germany you'd have to compute 80 million tiles of a total size of about 300 GB (or even more if the file system used on Windows has a large cluster size - see also https://blog.geofabrik.de/?p=268).

permanent link

answered 05 Sep, 09:31

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
70.9k836431106
accept rate: 24%

It is that simple? I'll try it out then. I generated tiles for Croatia from zoom 0 - 15 (~500MB), so that should be enough for first testing. Thank you!

(05 Sep, 09:35) LukashArts
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×233
×114
×42
×19
×11

question asked: 05 Sep, 09:22

question was seen: 178 times

last updated: 05 Sep, 09:35

powered by OSQA