Package org.opengis.util

Examples of org.opengis.util.ProgressListener


        Coordinate[] data = new Coordinate[] { new Coordinate(4, 4), new Coordinate(4.1, 4.1),
                new Coordinate(4.1, 4.1), new Coordinate(8, 8) };
       
       
        SimpleFeatureCollection fc = createPoints(data, bounds);
        ProgressListener monitor = null;

        PointStackerProcess psp = new PointStackerProcess();
        SimpleFeatureCollection result = psp.execute(fc, 100, // cellSize
                null, // normalize
                null, // preserve location
View Full Code Here


        Coordinate[] data = new Coordinate[] { new Coordinate(4, 4), new Coordinate(4.1, 4.1),
                new Coordinate(4.1, 4.1), new Coordinate(8, 8) };
       
       
        SimpleFeatureCollection fc = createPoints(data, bounds);
        ProgressListener monitor = null;

        PointStackerProcess psp = new PointStackerProcess();
        SimpleFeatureCollection result = psp.execute(fc, 100, // cellSize
                true, // normalize
                null, // preserve location
View Full Code Here

        Coordinate[] data = new Coordinate[] { new Coordinate(4, 4), new Coordinate(6.5, 6.5),
                new Coordinate(6.5, 6.5), new Coordinate(8, 8), new Coordinate(8.3, 8.3) };
       
       
        SimpleFeatureCollection fc = createPoints(data, bounds);
        ProgressListener monitor = null;

        PointStackerProcess psp = new PointStackerProcess();
        SimpleFeatureCollection result = psp.execute(fc, 100, // cellSize
                true, // normalize
                PreserveLocation.Single, // preserve location
View Full Code Here

        Coordinate[] data = new Coordinate[] { new Coordinate(4, 4), new Coordinate(6.5, 6.5),
                new Coordinate(6.5, 6.5), new Coordinate(8, 8), new Coordinate(8.3, 8.3) };
       
       
        SimpleFeatureCollection fc = createPoints(data, bounds);
        ProgressListener monitor = null;

        PointStackerProcess psp = new PointStackerProcess();
        SimpleFeatureCollection result = psp.execute(fc, 100, // cellSize
                true, // normalize
                PreserveLocation.Superimposed, // preserve location
View Full Code Here

        // points are close enough to create a single cluster
        Coordinate[] data = new Coordinate[] { new Coordinate(-121.813201, 48.777343), new Coordinate(-121.813, 48.777) };
       
       
        SimpleFeatureCollection fc = createPoints(data, inBounds);
        ProgressListener monitor = null;

        // Google Mercator BBOX for northern Washington State (roughly)
        CoordinateReferenceSystem webMerc = CRS.decode("EPSG:3785");
        ReferencedEnvelope outBounds = new ReferencedEnvelope(-1.4045034049133E7, -1.2937920131607E7, 5916835.1504419, 6386464.2521607, webMerc);
View Full Code Here

                new Coordinate(10, 20, 20),
                new Coordinate(20, 10, 0),
                new Coordinate(20, 20, 80) };
        SimpleFeatureCollection fc = createPoints(data, bounds);

        ProgressListener monitor = null;

        BarnesSurfaceProcess process = new BarnesSurfaceProcess();
        GridCoverage2D cov = process.execute(fc, // data
                "value", // valueAttr
                1000, // dataLimit
View Full Code Here

                // include a coordinate outside the heatmap buffer bounds, to ensure it is filtered correctly
                new Coordinate(100, 100)
        };
        SimpleFeatureCollection fc = createPoints(data, bounds);

        ProgressListener monitor = null;

        HeatmapProcess process = new HeatmapProcess();
        GridCoverage2D cov = process.execute(fc, // data
                20//radius
                null, // weightAttr
View Full Code Here

        Dimension gridDim = new Dimension(
                (int)bounds.getWidth(),
                (int)bounds.getHeight());

        String covName = "Test";
        ProgressListener monitor = null;

        GridCoverage2D cov = VectorToRasterProcess.process(
                features, "value", gridDim, bounds, covName, monitor);
       
        //textPrint(cov);
View Full Code Here

        Dimension gridDim = new Dimension(100, 100);
       
        SimpleFeatureCollection features = createPoints(bounds, gridDim);
       
        String covName = "Test";
        ProgressListener monitor = null;

        GridCoverage2D cov = VectorToRasterProcess.process(
                features, "value", gridDim, bounds, covName, monitor);
       
        SimpleFeatureIterator iter = features.features();
View Full Code Here

       
        Dimension gridDim = new Dimension(
                (int)bounds.getWidth(),
                (int)bounds.getHeight());

        ProgressListener monitor = null;

        Map<String, Object> map = new HashMap<String, Object>();
        map.put(AbstractFeatureCollectionProcessFactory.FEATURES.key, features);
        map.put("attribute", "value");
        map.put("rasterWidth", gridDim.width);
View Full Code Here

TOP

Related Classes of org.opengis.util.ProgressListener

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.