Hi there,
well, spatial querying is not something that can be easily stuck into an
iterator. If you want more than casual querying, I think you need to use the
GeoTools APIs, we provide support for CQL as a query lang there, see
https://github.com/neo4j/spatial/blob/master/src/test/java/org/neo4j/gis/spatial/TestDynamicLayers.java#L60for
some examples. Basically, you define a dynamic layer witha  CQL query,
which will return the subset of the full layer (e.g. a SimplePointLayer)
that matches that query.

Would that help?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Ă–resund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.


On Mon, Aug 29, 2011 at 1:37 AM, faffi <obscurredbyclo...@gmail.com> wrote:

> Hey guys,
>
> I'm seeing some kind of disconnect between the spatial and the regular
> graph
> traversing query. I can't find a way of executing a spatial query like in
> SimplePointLayer but also providing something like a ReturnEvaluator.
>
> My use case is essentially for all nodes within a 10km radius, return all
> with name "foo". Do I actually have to iterate through all the nodes
> returned by the query in a list and individually check them?
>
> Thanks,
> faffi
>
> --
> View this message in context:
> http://neo4j-community-discussions.438527.n3.nabble.com/Spatial-query-with-property-filter-tp3291410p3291410.html
> Sent from the Neo4j Community Discussions mailing list archive at
> Nabble.com.
> _______________________________________________
> 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

Reply via email to