Package org.neo4j.gis.spatial.pipes

Examples of org.neo4j.gis.spatial.pipes.GeoPipeline


    System.out.println("Found closest: " + closestGeom);
    System.out.println();

    // Now use the SearchClosest class to perform the search for the closest
    System.out.println("Searching for geometries close to " + point);
        GeoPipeline pipeline;
        try (Transaction tx = graphDb().beginTx()) {
            pipeline = GeoPipeline.startNearestNeighborSearch(layer, point.getCoordinate(), 100)
                    .sort("Distance")
                    .getMin("Distance");
            for (SpatialRecord result : pipeline) {
View Full Code Here

TOP

Related Classes of org.neo4j.gis.spatial.pipes.GeoPipeline

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.