summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2015-11-27 17:51:58 +0000
committeradam <adam@pkgsrc.org>2015-11-27 17:51:58 +0000
commita39a0dfaf8970e48ca28bc253c429ecf28d1d77a (patch)
tree06906eba53ae0eac495c162896d20d3691895cfa
parentd906c83fc1a0d2e93c926c1caad0c125ceaead3e (diff)
downloadpkgsrc-a39a0dfaf8970e48ca28bc253c429ecf28d1d77a.tar.gz
The purpose of this library is to provide:
* An extensible framework that will support robust spatial indexing methods. * 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. * Easy to use interfaces for inserting, deleting and updating information. * Wide variety of customization capabilities. Basic index and storage characteristics like the page size, node capacity, minimum fan-out, splitting algorithm, etc. should be easy to customize. * Index persistence. Internal memory and external memory structures should be supported. Clustered and non-clustered indices should be easy to be persisted.
-rw-r--r--geography/spatialindex/DESCR11
-rw-r--r--geography/spatialindex/Makefile19
-rw-r--r--geography/spatialindex/PLIST35
-rw-r--r--geography/spatialindex/buildlink3.mk12
-rw-r--r--geography/spatialindex/distinfo6
5 files changed, 83 insertions, 0 deletions
diff --git a/geography/spatialindex/DESCR b/geography/spatialindex/DESCR
new file mode 100644
index 00000000000..227a42dda8f
--- /dev/null
+++ b/geography/spatialindex/DESCR
@@ -0,0 +1,11 @@
+The purpose of this library is to provide:
+* An extensible framework that will support robust spatial indexing methods.
+* 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.
+* Easy to use interfaces for inserting, deleting and updating information.
+* Wide variety of customization capabilities. Basic index and storage
+ characteristics like the page size, node capacity, minimum fan-out, splitting
+ algorithm, etc. should be easy to customize.
+* Index persistence. Internal memory and external memory structures should be
+ supported. Clustered and non-clustered indices should be easy to be persisted.
diff --git a/geography/spatialindex/Makefile b/geography/spatialindex/Makefile
new file mode 100644
index 00000000000..eb996053cea
--- /dev/null
+++ b/geography/spatialindex/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2015/11/27 17:51:58 adam Exp $
+
+DISTNAME= spatialindex-src-1.8.5
+PKGNAME= ${DISTNAME:S/-src//}
+CATEGORIES= geography
+MASTER_SITES= http://download.osgeo.org/libspatialindex/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://libspatialindex.github.io/
+COMMENT= Robust spatial indexing methods
+LICENSE= mit
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+PKGCONFIG_OVERRIDE= src/libspatialindex.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/spatialindex/PLIST b/geography/spatialindex/PLIST
new file mode 100644
index 00000000000..820d3fe0a4a
--- /dev/null
+++ b/geography/spatialindex/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2015/11/27 17:51:58 adam Exp $
+include/spatialindex/LineSegment.h
+include/spatialindex/MVRTree.h
+include/spatialindex/MovingPoint.h
+include/spatialindex/MovingRegion.h
+include/spatialindex/Point.h
+include/spatialindex/RTree.h
+include/spatialindex/Region.h
+include/spatialindex/SpatialIndex.h
+include/spatialindex/TPRTree.h
+include/spatialindex/TimePoint.h
+include/spatialindex/TimeRegion.h
+include/spatialindex/Version.h
+include/spatialindex/capi/BoundsQuery.h
+include/spatialindex/capi/CountVisitor.h
+include/spatialindex/capi/CustomStorage.h
+include/spatialindex/capi/DataStream.h
+include/spatialindex/capi/Error.h
+include/spatialindex/capi/IdVisitor.h
+include/spatialindex/capi/Index.h
+include/spatialindex/capi/LeafQuery.h
+include/spatialindex/capi/ObjVisitor.h
+include/spatialindex/capi/Utility.h
+include/spatialindex/capi/sidx_api.h
+include/spatialindex/capi/sidx_config.h
+include/spatialindex/capi/sidx_export.h
+include/spatialindex/capi/sidx_impl.h
+include/spatialindex/tools/PointerPool.h
+include/spatialindex/tools/PoolPointer.h
+include/spatialindex/tools/SmartPointer.h
+include/spatialindex/tools/Tools.h
+include/spatialindex/tools/rand48.h
+lib/libspatialindex.la
+lib/libspatialindex_c.la
+lib/pkgconfig/libspatialindex.pc
diff --git a/geography/spatialindex/buildlink3.mk b/geography/spatialindex/buildlink3.mk
new file mode 100644
index 00000000000..b143d466d46
--- /dev/null
+++ b/geography/spatialindex/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/11/27 17:51:58 adam Exp $
+
+BUILDLINK_TREE+= spatialindex
+
+.if !defined(SPATIALINDEX_BUILDLINK3_MK)
+SPATIALINDEX_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.spatialindex+= spatialindex>=1.8.5
+BUILDLINK_PKGSRCDIR.spatialindex?= ../../geography/spatialindex
+.endif # SPATIALINDEX_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -spatialindex
diff --git a/geography/spatialindex/distinfo b/geography/spatialindex/distinfo
new file mode 100644
index 00000000000..8ff0a222af3
--- /dev/null
+++ b/geography/spatialindex/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/11/27 17:51:58 adam Exp $
+
+SHA1 (spatialindex-src-1.8.5.tar.bz2) = 733c859b9d16dfa7466f1d8a33770f47eb68add1
+RMD160 (spatialindex-src-1.8.5.tar.bz2) = 63df2e6c579e91d90de406357cedb89b420e3ca7
+SHA512 (spatialindex-src-1.8.5.tar.bz2) = d3e47982cc2809d04490fae27796b31cdb59675790010d8b45e1a98b5a23048a4a44e321a2470dd36c01aba6f6e7620cafc4988a02b55e4f59d1b7fa9b588b06
+Size (spatialindex-src-1.8.5.tar.bz2) = 407871 bytes