Package org.geotools.referencing.crs

Examples of org.geotools.referencing.crs.DefaultVerticalCRS


        CoordinateReferenceSystem crs = null;
        try {
            crs = CRS.decode(srsName);
        } catch (NoSuchAuthorityCodeException e) {
            // custom CRS
            crs = new DefaultVerticalCRS(srsName, DefaultVerticalDatum.GEOIDAL,
                    DefaultVerticalCS.DEPTH);
        } catch (FactoryException e) {
            // custom CRS
            crs = new DefaultVerticalCRS(srsName, DefaultVerticalDatum.GEOIDAL,
                    DefaultVerticalCS.DEPTH);
        }

        // just in case
        if (crs == null) {
            crs = new DefaultVerticalCRS(srsName, DefaultVerticalDatum.GEOIDAL,
                    DefaultVerticalCS.DEPTH);
        }
       
        LineString linestring = null;
           
View Full Code Here

TOP

Related Classes of org.geotools.referencing.crs.DefaultVerticalCRS

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.