Package com.bbn.openmap.dataAccess.image

Examples of com.bbn.openmap.dataAccess.image.ImageReaderLoader


     * loads GeoTIFFImageReader.Loader.
     */
    protected void configureImageReaderLoaders() {
        imageReaderLoaders = new Vector();

        ImageReaderLoader idl = (ImageReaderLoader) ComponentFactory.create("com.bbn.openmap.dataAccess.image.geotiff.GeoTIFFImageReaderLoader");

        if (idl != null) {
            imageReaderLoaders.add(idl);
        } else {
            logger.warning("ImageTileLayer needs JAI installed in order to use GeoTIFF Image Reader.");
View Full Code Here


        if (imageReaderLoaders != null) {
            int count = 0;
            StringBuffer sbuf = null;
            for (Iterator it = imageReaderLoaders.iterator(); it.hasNext(); count++) {
                ImageReaderLoader idl = (ImageReaderLoader) it.next();
                props.put(prefix + "idl" + count, idl.getClass().getName());

                if (sbuf == null) {
                    sbuf = new StringBuffer("idl" + count);
                } else {
                    // Space separated for parsing on input
View Full Code Here

                URL fileURL = PropUtils.getResourceOrFileOrURL(filePath);
                if (fileURL != null) {
                    if (imageReaderLoaders != null) {
                        ImageTile imageTile = null;
                        for (Iterator it = imageReaderLoaders.iterator(); it.hasNext();) {
                            ImageReaderLoader idl = (ImageReaderLoader) it.next();
                            if (idl.isLoadable(filePath)) {
                                ImageReader id = idl.getImageReader(fileURL);
                                ImageTile tmpImageTile = id.getImageTile(imageCache);

                                if (imageTile == null) {
                                    imageTile = tmpImageTile;
                                } else if (tmpImageTile != null
View Full Code Here

TOP

Related Classes of com.bbn.openmap.dataAccess.image.ImageReaderLoader

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.