[Community] zgeo.geographer and spatialindex on PyPI
Eric Bréhault
ebrehault at gmail.com
Tue Dec 4 20:26:43 EET 2007
It is quite simple:
- the GeometryIndex works just like a regular ZCatalog index but instead of
storing keywords values in a hash map for each indexed objetc it just uses a
SpatialIndex instance to index the object's geometry (considering the object
has to implement IGeoreferenceable)
- when performing a catalog search, we provide an operator (i.e. "touches",
"crosses", "intersects", or whatever) and a geometry, then the GeometryIndex
uses its SpatialIndex instances to get all the indexed geoitems which
intersect the given geometry bbox, and it tests each of them to filter only
the ones which really satisfy the given operator
I will send you the source tomorrow (I cannot reach my dev server from here)
Eric
On Dec 4, 2007 7:14 PM, Sean Gillies <sgillies at frii.com> wrote:
> Eric,
>
> I need to learn how the geometry index works first. Can you briefly
> explain its objectives and design?
>
> We should also get a zgeo.wfs wiki page going and link to it from the
> front page like I just did for some other zgeo packages:
>
> http://trac.gispython.org/projects/PrimaGIS/wiki
>
> Cheers,
> Sean
>
>
> Eric Bréhault wrote:
> > Sean,
> >
> > do you think it would be accurate to move the ZCatalog spatial index
> (named
> > geometryindex at the moment) from zgeo.wfs.geocatalog to
> > zgeo.spatialindex(as it is totally based on SpatialIndex and it is not
> > specifically related
> > to WFS) ?
> > it could be named zgeo.spatialindex.catalogindex
> >
> > Eric BREHAULT
> >
> > On Dec 4, 2007 5:08 PM, Sean Gillies <sgillies at frii.com> wrote:
> >
> >> http://pypi.python.org/pypi/zgeo.geographer/
> >> http://pypi.python.org/pypi/zgeo.spatialindex/
> >>
> >> I'm starting in on zgeo.atom today.
> >>
> >> Cheers,
> >> Sean
> >> _______________________________________________
> >> Community mailing list
> >> Community at lists.gispython.org
> >> http://lists.gispython.org/mailman/listinfo/community
> >>
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Community mailing list
> > Community at lists.gispython.org
> > http://lists.gispython.org/mailman/listinfo/community
>
> _______________________________________________
> Community mailing list
> Community at lists.gispython.org
> http://lists.gispython.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gispython.org/pipermail/community/attachments/20071204/528e65d2/attachment.htm>
More information about the Community
mailing list