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

I am looking into creating my own private OSM map. This data would not be available to the public. It would utilize public OSM map data but would not edit it. It would overlay private map data that would only be available to a closed user group.

Several threads suggest that it is necessary to install my own OSM server. Reading these threads I get the impression that it may be necessary to:

  • Install Rails Port of OSM server
  • Install mapnik
  • etc.

Other threads make no mention of installing my own OSM server. From these threads I get the impression that it may be necessary only to:

  • Use Maperitive

Is it necessary to install my own OSM server in order to produce a private map not available to the public? If not, what are the pros and cons of doing it with and without my own OSM server?

Thanks very much in advance to all for any info!

asked 12 Feb '13, 19:36

VikR's gravatar image

VikR
20113
accept rate: 0%

By "a private map" do you mean an interactive draggable zoomable web map like you see on the osm.org front page, or do you mean a static image (or PDF or similar) for placing on a web page or similar?

(12 Feb '13, 20:32) SomeoneElse ♦

There are many different ways to create "private maps" and depending on your exact needs different technological solutions are best suited to your situation. Therefore without knowing the exact circumstances it is difficult to say what you will need, but I can try and clarify some things that might help you choose better what is appropriate for your situation:

The rails_port server is (simplified) the web application running on OpenStreetMap.org, providing the website, user management, diaries and the editing API. It is not responsible for rendering and displaying the map tiles. Therefore the rails_port is nearly always not what people want, except for if you want to run your own private crowd sourced geodata project.

More commonly is that people need a "tile server", i.e. a server that takes the raw (XML) data provided by OpenStreetMap and turns it into bitmap renderings of a pretty map. Both Mapnik and Maperative are two of the common map rendering software that can be used for this task.

Maperative is a more integrative software package that covers tasks from designing stylesheets to actually rendering and tile serving. It also works well on Windows. Mapnik is only a rendering library and needs a whole host of additional software components e.g. mod_tile, tirex, postgresql. However mapnik and its corresponding tool chain is believed to scale better. So from what I have seen, Maperative tends to be used more if one only needs to render a small area, e.g. a city or wants to experiment with things. Mapnik with its toolchain is instead used commonly when setting up tile servers with a world wide map coverage like e.g. the one presented on osm.org.

Whether you need to set up any tile server depends on your usage amount and service requirements. Unlike for Google maps or Bing maps, nothing in the terms and conditions restrict your usage of the openstreetmap.org tile server to public facing usage. So private usage is theoretically fine (as long as you observe the license conditions of the data, but if you are using independent overlays rather than mixing the data that is probably the case). However, the reason why most people suggest to set up your own tile server for projects like this is the following:

The OpenStreetMap.org servers are entirely run on donated resources and have a fairly limited capacity. They cannot provide large scale tile serving and thus there are heavy restrictions on how much one is allowed to use them, irrespective of how you use them. As it is not a commercial service, it is not really specified how much exactly is allowed, but instead the rule of thumb is that if the sysadmins notice that a single user uses a significant amount of total available server resource that is too much and counter measures are put in place to limit the resource drainage. Furthermore, there is no up time guarantee and it can happen that the OpenStreetMap.org tile servers are down for several days for maintenance.

Due to those reasons it is generally encouraged for (commercial) projects of any significant size to not use the OpenStreetMap.org tile serving infrastructure and instead use ones own server infrastructure or one of the commercial osm tiles server providers for which one can get a performance and uptime guarantee. However, for small, non critical projects it might just be fine.

Having ones own tileserver however has additional advantages. E.g. one can design ones own map style that fits to the application in mind much better than a generic mapstyle.

You can find some additional resources on how to set up your own tileserver on http://switch2osm.org/

permanent link

answered 12 Feb '13, 21:08

apmon's gravatar image

apmon
6.5k184456
accept rate: 20%

@SomeoneElse, yes, it would be an interactive draggable zoomable web map.

@apmon, thanks so much for this info. It's great to hear I do not need to install the rails_port server. We would not be using an area larger than a city, so it sounds like maperative would be sufficient.

To summarize, is it correct that using maperative as my tile server, I could:

  • Generate tiles that use my own private street map data plus open source OSM street map data?

Thanks very much in advance for the info.

(12 Feb '13, 21:30) VikR

As far as i understand it, Maperitive will serve pure OSM tiles, which can the be overlain with your data by you using whatever web mapping library you choose to use (OpenLayers for example).

permanent link

answered 13 Feb '13, 09:47

gormo's gravatar image

gormo
2.9k32660
accept rate: 13%

Great. Thanks!

(13 Feb '13, 17:56) VikR

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:

×123
×51

question asked: 12 Feb '13, 19:36

question was seen: 17,233 times

last updated: 13 Feb '13, 17:56

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