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 <bo...@popcha.com> 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 > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user