# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
Whether for PCL in-memory feature stores, Plone content, or whatever \
-- we need a simple spatial index to speed up retrieval of objects \
that intersect with a given bounding box. \
The simplest, most tried-and-true, open source spatial index is \
shapelib's (http://shapelib.maptools.org) quadtree. It's been \
improving the performance of MapServer applications for years. The \
quadtree itself is completely separable from any shapefile. We can use \
it with arbitrary Python object collections.
homepage http://trac.gispython.org/projects/PCL/wiki/QuadTree
master_sites pypi:Q/Quadtree/
distname Quadtree-${version}
md5 2ace3a8077e4b456e74fc2be870c71f1 \
sha1 be2cdbe1322e381fd4f333d570462a3767bfeb7c \
rmd160 dd32d7bca2acbd3295a407a7d3f5e40c994821d3
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools
# See http://trac.gispython.org/lab/ticket/110
patchfiles patch-quadtree-_treemodule.c.diff
xinstall -d -m 755 ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 ${worksrcpath}/PKG-INFO \
{*}[glob ${worksrcpath}/*.txt] \
${destroot}${prefix}/share/doc/${subport}
livecheck.url "https://pypi.python.org/packages/source/Q/Quadtree/?C=M;O=D"
livecheck.regex Quadtree-(\\d+(?:\\.\\d+)*)${extract.suffix}