From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45836) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGNcq-0001cS-1c for guix-patches@gnu.org; Fri, 04 Oct 2019 09:28:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGNco-0008Dq-QA for guix-patches@gnu.org; Fri, 04 Oct 2019 09:28:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33020) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGNco-0008De-NP for guix-patches@gnu.org; Fri, 04 Oct 2019 09:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iGNco-0003ns-H6 for guix-patches@gnu.org; Fri, 04 Oct 2019 09:28:02 -0400 Subject: [bug#37619] [PATCH] gnu: Add libspatialindex. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:45780) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGNcM-0001aV-6l for guix-patches@gnu.org; Fri, 04 Oct 2019 09:27:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGNcI-0007wi-Rs for guix-patches@gnu.org; Fri, 04 Oct 2019 09:27:34 -0400 Received: from freeshell.de ([2a01:360:106::2]:42717) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iGNcI-0007w3-Lv for guix-patches@gnu.org; Fri, 04 Oct 2019 09:27:30 -0400 From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Date: Fri, 4 Oct 2019 15:25:16 +0200 Message-Id: <20191004132516.16761-1-wz@freeshell.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37619@debbugs.gnu.org From: Wiktor =C5=BBelazny * gnu/packages/geo.scm (libspatialindex): new variable. --- gnu/packages/geo.scm | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 5e1f7e39d7..1d635c4f1f 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -9,6 +9,7 @@ ;;; Copyright =C2=A9 2018 Julien Lepiller ;;; Copyright =C2=A9 2019 Guillaume Le Vaillant ;;; Copyright =C2=A9 2019 Efraim Flashner +;;; Copyright =C2=A9 2019 Wiktor =C5=BBelazny ;;; ;;; This file is part of GNU Guix. ;;; @@ -65,7 +66,8 @@ #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages wxwidgets) - #:use-module (gnu packages xml)) + #:use-module (gnu packages xml) + #:use-module (ice-9 regex)) =20 (define-public geos (package @@ -996,3 +998,40 @@ XyGrib is the continuation of the zyGrib software pa= ckage with a new team of volunteers.") (home-page "https://opengribs.org") (license license:gpl3+))) + +(define-public libspatialindex + (package + (name "libspatialindex") + (version "1.8.5") + (source + (origin + (method url-fetch) + (uri (string-append + "https://download.osgeo.org/" name "/" + (regexp-substitute #f (string-match "^lib" name) 'pre "" = 'post) + "-src-" version ".tar.gz")) + (sha256 + (base32 + ; checked .md5 + "1vxzm7kczwnb6qdmc0hb00z8ykx11zk3sb68gc7rch4vrfi4dakw")))) + (build-system gnu-build-system) + (home-page "https://libspatialindex.org") + (synopsis "Spatial indexing library") + (description "The purpose of this library is to provide: + +@itemize + @item An extensible framework that will support robust spatial indexing +methods. + @item Support for sophisticated spatial queries. Range, point location= , + nearest neighbor and k-nearest neighbor as well as parametric queries (= defined +by spatial constraints) should be easy to deploy and run. + @item Easy to use interfaces for inserting, deleting and updating infor= mation. + @item Wide variety of customization capabilities. Basic index and stor= age +characteristics like the page size, node capacity, minimum fan-out, spli= tting +algorithm, etc. should be easy to customize. + @item Index persistence. Internal memory and external memory structure= s +should be supported. Clustered and non-clustered indices should be easy= to be +persisted. +@end itemize +") + (license license:expat))) --=20 2.23.0