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

Hi there, i have my own osm tile server. Everything works so far but i have one problem. I have more than 10 styles to pre render and offer to customers. But when i add more than 10 styles to renderd.conf i get the error "More than 10 styles..." where can i set up this.

Please help

Thank you

asked 15 Mar '22, 21:11

Zuane's gravatar image

Zuane
11112
accept rate: 0%

edited 15 Mar '22, 21:11


This is a compile-time setting in renderd, see https://github.com/openstreetmap/mod_tile/blob/acb11808d62a81b2d2c357425ea0917bc55631a3/includes/render_config.h#L52 - you need to re-compile renderd to change this.

Alternatively, swap out renderd with tirex (https://github.com/openstreetmap/tirex) which has no such limitation.

permanent link

answered 15 Mar '22, 21:26

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

edited 15 Mar '22, 22:00

Wow Frederik, this was fast. But sorry, i dont know where to find the file in wich i have to change this line. Can you please point me there.

(15 Mar '22, 21:42) Zuane
1

The following general information holds true for almost all Linux distributions: If you are told that you need to "compile" a piece of software that means that you will have to leave your usual "use package manager to install software" workflow. You will instead have to (1) download the source code, (2) install a software building environment, (3) compile the source code and possibly build a new package to install.

On a Debian or Ubuntu system, you can usually do apt source renderd which will download the source code for you, then you can make the modification you want. You might need to apt install build-essential or something to get the software build system installed. After than you will likely be able to run debuild to build a modified package (it might tell you to install additionall development packages first) that you can then install with dpkg -i.

If at all possible, ignore any instructions that tell you to "make install" or something like that, because these will install the software on your system bypassing the package manager and there will be no end of confusion especially if you are not an experienced sysadmin.

(15 Mar '22, 22:15) Frederik Ramm ♦

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:

×65
×6

question asked: 15 Mar '22, 21:11

question was seen: 990 times

last updated: 15 Mar '22, 22:16

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