From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: OSM tile server with Guix Date: Sat, 23 Feb 2019 06:44:45 +0100 Message-ID: <7d1f1d16-41b5-8171-517f-014de5cc0b55@riseup.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3Sc33hWtRis2MXXsw3HOfrCL44pxxH9iP" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxV4q-0005HN-Rg for guix-devel@gnu.org; Sat, 23 Feb 2019 06:02:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxV4p-0005hR-9d for guix-devel@gnu.org; Sat, 23 Feb 2019 06:02:40 -0500 Received: from mx1.riseup.net ([198.252.153.129]:35898) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gxV4o-0005Ak-Ti for guix-devel@gnu.org; Sat, 23 Feb 2019 06:02:39 -0500 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id DB76F1A1609 for ; Sat, 23 Feb 2019 03:02:21 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 68206121391 for ; Sat, 23 Feb 2019 03:02:18 -0800 (PST) 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: guix-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --3Sc33hWtRis2MXXsw3HOfrCL44pxxH9iP Content-Type: multipart/mixed; boundary="OcBYZvNyg300AOCksw5Lloa5CJddjXCGl"; protected-headers="v1" From: swedebugia To: guix-devel Message-ID: <7d1f1d16-41b5-8171-517f-014de5cc0b55@riseup.net> Subject: OSM tile server with Guix --OcBYZvNyg300AOCksw5Lloa5CJddjXCGl Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 * 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? --=20 Cheers Swedebugia --OcBYZvNyg300AOCksw5Lloa5CJddjXCGl-- --3Sc33hWtRis2MXXsw3HOfrCL44pxxH9iP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQR6IWNlOiLn9hD6a1XPzUNbKAts0gUCXHDd1QAKCRDPzUNbKAts 0vvGAQDm1sw9Ou/cZzFCqspyme3V3laRgsgazc9NXPACWp4ICAEA2KZsy84WTAmM 3g3lZ8SoV+OPoOxXucegyjFSjqyAjgM= =E7tf -----END PGP SIGNATURE----- --3Sc33hWtRis2MXXsw3HOfrCL44pxxH9iP--