From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: OSM tile server with Guix Date: Sun, 24 Feb 2019 15:54:04 +0000 Message-ID: <877edpgp2b.fsf@cbaines.net> References: <7d1f1d16-41b5-8171-517f-014de5cc0b55@riseup.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxw6Y-0005sI-Nc for guix-devel@gnu.org; Sun, 24 Feb 2019 10:54:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxw6X-0004cs-Pv for guix-devel@gnu.org; Sun, 24 Feb 2019 10:54:14 -0500 Received: from li622-129.members.linode.com ([212.71.249.129]:53462 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxw6X-0004aJ-If for guix-devel@gnu.org; Sun, 24 Feb 2019 10:54:13 -0500 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 --=-=-= Content-Type: text/plain swedebugia writes: > 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 > * carto (uses npm and node) https://www.npmjs.com/package/carto (7 > dependencies - at least 1 with a lot of dependencies (yargs)) > * 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. > > It seems we need a renderd-service also. > > Thoughts? Hey, I've had some experience with tile servers, but this was a little while ago when I was still using Debian. I wrote up some documentation for Debian, but that might be useful when looking at how to configure the relevant services within Guix [1]. 1: https://wiki.debian.org/OSM/tileserver/jessie I'd love to see it being easy to setup a tile server with Guix :) Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxyvhxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdqkA/9GjcXLcb6iZNsvdpFtDqhbojfyY40LeKgc+JSa0s5c1cqdRJQ2xS6WpNj dBMlZBqcuRNINN2q2Duml+LeBPtuhiuAADYr2XBAi8fwBqRaGQtNJE3hPEavq+FR niQu7xwiHQ5FjoCwpW0OTEBJzhmhmUHZ5r4U8noT8s52Swo586MgClK/ruV4Jvs8 2za/NY9TRBMlif62JzAxkb0UU3uTOQs/Hfbb43XivAoVQKrDj6hGsTbEDJ5q6afO NspEvQ9/Dom7kiMToW0amLToWebICq5X/pECxP9G+AeJeAs18b9vWN/hdu1banOZ LfFJwDjtl0q0cbd335MKs+UknxFBNtz4mWvxqPEFlWDN3C2MijiDk+XfZ0wvSLrY 8BcDBshqMl7gL/eskYNs6ySKoyiU+VbzC+xedZLgFuH9cab06R5R6Xu192PAzKI2 Ym0j5KGI90FfeoQDTy21Uv/xRSW2K4nJmFaPf16NJ+F2PyWBoztUHtY6KPv9cYul JweeteH2pn3+BUqo3+d22ey/ErHWbMGJG1b6P/R6/yLJWqzlS7HNI845m1aI4ZWY A6mn1bSd7zeW3zZAa9xnZwsfNHCwGMdq3C931PtgW9LXdWv5Er3ZtAvpNg4C1l/+ IKvAQu4aHqVp01ScaL6cF9RG+5qw7/U0LpLowgfr8kvMl2a1bhE= =VWgY -----END PGP SIGNATURE----- --=-=-=--