Hi, I get the following cast exception while using startNearestNeighborLatLonSearch method:
*Exception in thread "main" java.lang.ClassCastException: java.lang.Double cannot be cast to [B*my code is as follows: Layer layer = spatialDbInstance.getLayer("mylayer"); Coordinate coord = new Coordinate(0.0d, 0.0d); List<Node> nodes = GeoPipeline.startNearestNeighborLatLonSearch(layer, coord, 1.0).toNodeList(); Basically, I am trying to find all other points within distance one of the origin (i.e., (0.0., 0.0) ). Cheers, Alireza -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.