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

I am trying to build a tile server. For implementation, I am going through the steps given in switch2osm and osm-carto-tutorial. I found in switch2osm, they are suggesting to use https://github.com/SomeoneElseOSM/mod_tile whereas osm-carto-tutorial https://github.com/openstreetmap/mod_tile.git is used.

So my question is what are problems I may face if I use openstreetmap mod_tile instead of SomeoneElse's mod_tiles?Or which mod_tile project is recommended?

asked 17 Jul '18, 07:56

anuranpal's gravatar image

anuranpal
21101215
accept rate: 0%


I made the change a couple of switch2osm releases ago. It made no sense to have everyone following the switch2osm "manual" instructions (which are designed to be as simple as possible to follow) all making the same changes to config files. There are 3 active branches of https://github.com/SomeoneElseOSM/mod_tile - master, which tracks the parent repository, switch2osm, which incorporates some minor changes to config files to match the switch2osm instructions, and zoom which incorporates some further changes to support zoom levels up to 24. See this diary entry for details. The paths used in the metatile cache are different in the "zoom" and other branches, so it wouldn't be possible to make that a "switch2osm standard" without everyone deleting their tile caches.

As to whether you'd want to follow switch2osm or Ircama's instructions, it's up to you. The switch2osm guides deliberately use packages distributed as part of the OS if possible; Ircama's guide suggests using later versions from elsewhere in some cases. For example, if you want to use Mapnik 3.0.19 on Ubuntu 16.04 Ircama's guide explains how but switch2osm doesn't, in the interests of keeping it simple for people who have not set up a tile server before. If you're installing on Ubuntu 18.04 I think you'll actually end up in pretty much the same place whichever set of instructions you follow. One possible diffeence is that the tile expiry scripts in the switch2osm version work out of the box; the parent ones may not.

permanent link

answered 17 Jul '18, 14:09

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

edited 17 Jul '18, 14:11

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:

×362
×80
×36
×22

question asked: 17 Jul '18, 07:56

question was seen: 1,933 times

last updated: 17 Jul '18, 14:11

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