From: Julien Lepiller <julien@lepiller.eu>
To: 32813@debbugs.gnu.org
Subject: [bug#32813] [PATCH 3/4] gnu: Add osm2pgsql.
Date: Sun, 23 Sep 2018 22:43:10 +0200 [thread overview]
Message-ID: <20180923204311.8086-3-julien@lepiller.eu> (raw)
In-Reply-To: <20180923204311.8086-1-julien@lepiller.eu>
* gnu/packages/geo.scm (osm2pgsql): New variable.
---
gnu/packages/geo.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 81bffcc88..efc68ea85 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -824,3 +824,33 @@ delivered to any client.")
files and imports the data into PostgreSQL/PostGIS databases. It is designed
to create databases that are optimized for rendering/tile/map-services.")
(license license:asl2.0)))
+
+(define-public osm2pgsql
+ (package
+ (name "osm2pgsql")
+ (version "0.96.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/openstreetmap/osm2pgsql/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "08y7776r4l9v9177a4q6cfdri0lpirky96m6g699hwl7v1vhw0mn"))))
+ (build-system cmake-build-system)
+ (arguments
+ ;; failure :/
+ `(#:tests? #f))
+ (inputs
+ `(("boost" ,boost)
+ ("expat" ,expat)
+ ("lua" ,lua)
+ ("postgresql" ,postgresql)
+ ("proj.4" ,proj.4)
+ ("zlib" ,zlib)))
+ (home-page "https://github.com/openstreetmap/osm2pgsql")
+ (synopsis "OSM data importer to postgresql")
+ (description "Osm2pgsql is a tool for loading OpenStreetMap data into a
+PostgreSQL / PostGIS database suitable for applications like rendering into a
+map, geocoding with Nominatim, or general analysis.")
+ (license license:gpl2)))
--
2.18.0
next prev parent reply other threads:[~2018-09-23 20:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-23 20:39 [bug#32813] [PATCH] OSM-related packages Julien Lepiller
2018-09-23 20:43 ` [bug#32813] [PATCH 1/4] gnu: Add tegola Julien Lepiller
2018-09-23 20:43 ` [bug#32813] [PATCH 2/4] gnu: Add imposm3 Julien Lepiller
2018-09-25 17:16 ` Björn Höfling
2018-09-23 20:43 ` Julien Lepiller [this message]
2018-09-25 17:37 ` [bug#32813] [PATCH 3/4] gnu: Add osm2pgsql Björn Höfling
2018-09-25 17:39 ` Björn Höfling
2018-09-23 20:43 ` [bug#32813] [PATCH 4/4] gnu: Add tippecanoe Julien Lepiller
2018-09-25 17:52 ` Björn Höfling
2018-09-25 17:04 ` [bug#32813] [PATCH 1/4] gnu: Add tegola Björn Höfling
2018-09-29 10:47 ` [bug#32813] [PATCH] OSM-related packages Julien Lepiller
2018-09-29 12:11 ` bug#32813: " Julien Lepiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180923204311.8086-3-julien@lepiller.eu \
--to=julien@lepiller.eu \
--cc=32813@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.