From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: OSM tile server with Guix Date: Sat, 23 Feb 2019 13:32:56 +0100 Message-ID: References: <7d1f1d16-41b5-8171-517f-014de5cc0b55@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxWUR-0006Xn-JI for guix-devel@gnu.org; Sat, 23 Feb 2019 07:33:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxWUQ-00029G-HA for guix-devel@gnu.org; Sat, 23 Feb 2019 07:33:11 -0500 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]:34195) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxWUQ-00028J-9h for guix-devel@gnu.org; Sat, 23 Feb 2019 07:33:10 -0500 Received: by mail-ed1-x536.google.com with SMTP id a16so4025398edn.1 for ; Sat, 23 Feb 2019 04:33:09 -0800 (PST) In-Reply-To: <7d1f1d16-41b5-8171-517f-014de5cc0b55@riseup.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: swedebugia Cc: guix-devel Hello, swedebugia ezt =C3=ADrta (id=C5=91pont: 2019. febr.= 23., Szo, 12:03): > > Hi > > I read up on how to setup a tile server with the least hassle. It is > quite a bit involved according to this guide: > https://switch2osm.org/manually-building-a-tile-server-18-04-lts/ > > I imagine this could be more fully automated with guix if we find a way > to run the pgsql-commands from guile and write the necessary services. > > We have most of the bits and pieces already but I spotted a few that > were missing while reading and thought I would share them here: > > * mod_tile (apache plugin) https://github.com/openstreetmap/mod_tile Yes, that woul make sense. > * carto (uses npm and node) https://www.npmjs.com/package/carto (7 > dependencies - at least 1 with a lot of dependencies (yargs)) My usecases usually can be solved using hand-authored styles, but would be nice to have. (Carto usually created something very bloated for me) > * openstreetmap-carto (contain carto-css styles and a lua-script useful > for tag-transformation when loading pbf-files into a postgis database > with osm2pgsql and get-shapefiles.py a script to download low-zoom > country boundaries) https://github.com/gravitystorm/openstreetmap-carto/ > > This last one should perhaps be included in our osm2pgsql-package > because it is hard to imagine someone using one but not the other. I sometimes use osm2pgsql without any need for rendering, so when using the database not for rendering, but as a database, these functions are not needed. I would keep these separate. Wdyt? > > It seems we need a renderd-service also. > > Thoughts? > > -- > Cheers Swedebugia > Best regards, g_bor