Package org.geotools.coverage.io.CoverageSource

Examples of org.geotools.coverage.io.CoverageSource.HorizontalDomain


                    }
                  }
                 
                 
                  // HORIZONTAL DOMAIN
                  final HorizontalDomain horizontalDomain= gridSource.getHorizontalDomain();
                  if(horizontalDomain==null)
                    LOGGER.info("Horizontal domain is null");
                  else{
                    // print the horizontal domain elements
                    final CoordinateReferenceSystem crs2D=horizontalDomain.getCoordinateReferenceSystem2D();
                    assert crs2D!=null;
                    final MathTransform2D g2w=horizontalDomain.getGridToWorldTransform(null);
                    assert g2w !=null;
                    final Set<? extends BoundingBox> spatialElements = horizontalDomain.getSpatialElements(true,null);
                    assert spatialElements!=null&& !spatialElements.isEmpty();
                   
                    final StringBuilder buf= new StringBuilder();
                    buf.append("Horizontal domain is as follows:\n");
                    buf.append("G2W:").append("\t").append(g2w).append("\n");
View Full Code Here

TOP

Related Classes of org.geotools.coverage.io.CoverageSource.HorizontalDomain

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.