Examples of cutExtentIntoTiles()


Examples of org.locationtech.udig.catalog.internal.wmt.wmtsource.WMTSource.cutExtentIntoTiles()

                throw new UnsupportedOperationException(Messages.Render_Error_Projection);
            }
           
            int tileLimitWarning = WMTRenderJob.getTileLimitWarning();
            // Find tiles
            Map<String, Tile> tileList = wmtSource.cutExtentIntoTiles(renderJob,
                    WMTRenderJob.getScaleFactor(), false, layerProperties, tileLimitWarning);

            // if we have nothing to display, return
            if (tileList.isEmpty()) {
                throw new UnsupportedOperationException(Messages.Render_Error_NoData);
View Full Code Here

Examples of org.locationtech.udig.catalog.internal.wmt.wmtsource.WWSource.cutExtentIntoTiles()

        WMTRenderJob renderJob1 = WMTRenderJob.createRenderJob(
                new ReferencedEnvelope(1, 2, 48, 49, DefaultGeographicCRS.WGS84),
                10000,
                wwSource);
       
        Map<String, Tile> tiles1 = wwSource.cutExtentIntoTiles(renderJob1,
                50,
                true, null, 1000);
        assertEquals(true, tiles1.isEmpty());
       
        // bounds of the QuadTileSet are inside the extent
View Full Code Here

Examples of org.locationtech.udig.catalog.internal.wmt.wmtsource.WWSource.cutExtentIntoTiles()

        // bounds of the QuadTileSet are inside the extent
        WMTRenderJob renderJob2 = WMTRenderJob.createRenderJob(
                new ReferencedEnvelope(18.34, 18.4, -33.85, -33.5, DefaultGeographicCRS.WGS84),
                20000000,
                wwSource);
        Map<String, Tile> tiles2 = wwSource.cutExtentIntoTiles(renderJob2,
                50,
                true, null, 1000);
        assertEquals(1, tiles2.size());
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.