Examples of WKTFormat


Examples of org.apache.sis.io.wkt.WKTFormat

                marshaller.setProperty(Marshaller.JAXB_ENCODING, encoding.name());
                marshaller.marshal(crs != null ? crs : metadata, System.out); // Use OutputStream instead than Writer.
                System.out.flush();
            }
        } else if (wkt != null) {
            final WKTFormat f = new WKTFormat(locale, timezone);
            f.setConvention(wkt);
            if (colors) {
                f.setColors(Colors.DEFAULT);
            }
            f.format(crs, out);
            out.println();
        } else {
            final TreeTable tree = MetadataStandard.ISO_19115.asTreeTable(metadata, ValueExistencePolicy.NON_EMPTY);
            final TreeTableFormat tf = new TreeTableFormat(locale, timezone);
            tf.setColumns(TableColumn.NAME, TableColumn.VALUE);
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.