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

I am the project manager of a new website which uses an interactive map as part of the main functionality. We were originally going to use Google Maps, but as most of you probably know, they have started floating the idea of charging for using their services. As a result, I'm looking into alternatives.

We require an interactive map that we can script on top of (i.e. we pull data from our database and overlay it in some way using JavaScript). Is hosting our own set of data files (the planet.osm for instance) our only option? What kind of requirements would we need if that is the case? What is the minimum amount of disk space we'd need?

Apologies if this isn't the right forum for such questions.

asked 09 Jan '12, 14:36

Rsaesha's gravatar image

Rsaesha
11112
accept rate: 0%


For a heavy load web site the best option is likely hosting your own tiles (not planet.osm - but the individual PNG files that make up the map). Commercial tile hosting is an alternative (see Wiki).

If you want to host your own tiles, the keeping and handing out of tiles is usually the smallest problem; producing and updating tiles (and updating the database from which they are produced) is more demanding. The amount of hardware you need to throw at this depends on how current your data needs to be, and how much of the world you want to show. The bottleneck is usually disk performance. If you don't need regular updates and your area of interest is limited - say, an average European country only - you can afford to pre-produce all tiles and then rest; else you'll need a server that is able to produce tiles on demand. Such a server with world-wide coverage starts at approximately 32 GB of RAM, 300 GB of SSD for the database, and 8 CPU cores. A little standard HD tile storage will also be required. There's a good setup documentation on the Wiki and all the software required is open source, but of course professional help is available in that department as well ;)

permanent link

answered 09 Jan '12, 14:48

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

edited 09 Jan '12, 14:54

I doubt we'd need regular updates. Our service deals mainly with business location rather than producing an accurate route. We'd still ideally want world-wide coverage though.

(09 Jan '12, 14:57) Rsaesha
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:

×535
×60

question asked: 09 Jan '12, 14:36

question was seen: 5,636 times

last updated: 09 Jan '12, 14:57

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