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 |
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. answered 15 Mar '22, 21:26 Frederik Ramm ♦ 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 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 ♦
|