Changeset 405
- Timestamp:
- 10/17/06 22:24:02 (2 years ago)
- Files:
-
- Quadtree/trunk/AUTHORS.txt (moved) (moved from Quadtree/trunk/COMMITTERS.txt)
- Quadtree/trunk/DEPENDENCIES.txt (modified) (1 diff)
- Quadtree/trunk/README.txt (modified) (4 diffs)
- Quadtree/trunk/setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Quadtree/trunk/DEPENDENCIES.txt
r400 r405 1 - setuptools Quadtree/trunk/README.txt
r404 r405 1 1 2 Quadtree 3 ======== 2 Quadtree: spatial index for Python GIS 3 ====================================== 4 4 5 Whether for P CL in-memory feature stores, Plone content, or whatever -- we need6 a simple spatial index to speed up retrieval of objects that intersect with a 7 givenbounding box.5 Whether for Python in-memory feature stores, Plone content, or whatever -- we 6 need a simple spatial index to speed up the search for objects that intersect 7 with a given spatial bounding box. 8 8 9 9 The simplest, most tried-and-true, open source spatial index is shapelib's … … 18 18 In a nutshell: 19 19 20 >>> index.add(id=id, bounds= [minx, miny, maxx, maxy])21 >>> [n for n in index.likely_intersection( bounds=[minx, miny, maxx, maxy])]20 >>> index.add(id=id, bounds=(left, bottom, right, top)) 21 >>> [n for n in index.likely_intersection((left, bottom, right, top))] 22 22 [id] 23 23 … … 27 27 bounding box. This method can produce false positives. It is up to the 28 28 application to handle such false positive index hits and to map ids to objects. 29 30 31 Installation 32 ------------ 33 34 $ python setup.py install 29 35 30 36 … … 43 49 44 50 45 Installation 46 ------- -----51 Support 52 ------- 47 53 48 $ python setup.py install 54 For current information about this project, see 55 56 http://icon.stoa.org/trac/pleiades/wiki/QuadTree 57 58 If you have questions, please consider joining our software support list: 59 60 http://icon.stoa.org/trac/pleiades/wiki/PleiadesSoftwareList 49 61 50 62 Quadtree/trunk/setup.py
r396 r405 10 10 11 11 setup(name = 'Quadtree', 12 version = '0. 0',13 description = 'Quadtree spatial index for Python ',14 license = ' GPL',12 version = '0.1', 13 description = 'Quadtree spatial index for Python GIS', 14 license = 'BSD', 15 15 keywords = 'spatial index', 16 16 author = 'Sean Gillies', 17 17 author_email = 'sgillies@frii.com', 18 url \ 19 = 'http://icon.stoa.org/trac/pleiades/wiki/SpatialIndexUserStory', 18 url = 'http://icon.stoa.org/trac/pleiades/wiki/QuadTree', 20 19 packages = ['quadtree'], 21 20 ext_modules = [_tree]
