Thanks! So it seems you are saying that the bounding box represents a single
point and is the same as the lat/lat lon? What if I make the bounding box
bigger? What I am trying to do is geo queries against a bounding box made of
a set of points, rather than individual points. So the query is, find the
nodes where the given point falls inside their bounding boxes. Can I do this
with REST?

Thanks!

On Tue, Jun 7, 2011 at 11:34 AM, Craig Taverner <[email protected]> wrote:

> Hi,
>
> The bounding boxes are used by the RTree index, which is a typical way to
> index spatial data. For Point data, the lat/long and the bounding box are
> the same thing, but for other shapes (streets/LineString and Polygons), the
> bounding box is quite different to the actual geometry (which is not just a
> single lat/long, but a set of connected points forming a complex shape).
>
> The RTree does not differentiate between points and other geometries,
> because it cares only about the bounding box, and therefor we provide that
> even for something as simple as a Point.
>
> Does that answer the question?
>
> Regards, Craig
>
> On Tue, Jun 7, 2011 at 4:57 PM, Boris Kizelshteyn <[email protected]>
> wrote:
>
> > Greetings!
> >
> > Perhaps someone using neo4j-spatial can answer this seemingly simple
> > question. Nodes classified into layers have both lat/lon properties and
> > bounding boxes, the bounding box seems to be required to establish the
> > relationship between node and layer, however the node is not found if the
> > lat/lon does not match the query. Can someone explain the relationship
> > between these two properties on a node?
> >
> > Many thanks!
> > _______________________________________________
> > Neo4j mailing list
> > [email protected]
> > https://lists.neo4j.org/mailman/listinfo/user
> >
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to