NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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 '19, 09:22

LukashArts's gravatar image

LukashArts
31113
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 '19, 09:31

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

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 '19, 09:35) LukashArts

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:

×287
×122
×48
×24
×14

question asked: 05 Sep '19, 09:22

question was seen: 4,528 times

last updated: 05 Sep '19, 09:35

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum