Examples of IsGeographic()


Examples of org.gdal.osr.SpatialReference.IsGeographic()

      /* -------------------------------------------------------------------- */
      /*      Initialize srs                                                  */
      /* -------------------------------------------------------------------- */
      SpatialReference src = new SpatialReference("");
      src.ImportFromProj4("+proj=latlong +datum=WGS84 +no_defs");
      System.out.println( "SOURCE IsGeographic:" + src.IsGeographic() + " IsProjected:" + src.IsProjected() );
      SpatialReference dst = new SpatialReference("");
      dst.ImportFromProj4("+proj=somerc +lat_0=47.14439372222222 +lon_0=19.04857177777778 +x_0=650000 +y_0=200000 +ellps=GRS67 +units=m +no_defs");
      System.out.println( "DEST IsGeographic:" + dst.IsGeographic() + " IsProjected:" + dst.IsProjected() );
      /* -------------------------------------------------------------------- */
      /*      making the transform                                            */
 
View Full Code Here

Examples of org.gdal.osr.SpatialReference.IsGeographic()

      SpatialReference src = new SpatialReference("");
      src.ImportFromProj4("+proj=latlong +datum=WGS84 +no_defs");
      System.out.println( "SOURCE IsGeographic:" + src.IsGeographic() + " IsProjected:" + src.IsProjected() );
      SpatialReference dst = new SpatialReference("");
      dst.ImportFromProj4("+proj=somerc +lat_0=47.14439372222222 +lon_0=19.04857177777778 +x_0=650000 +y_0=200000 +ellps=GRS67 +units=m +no_defs");
      System.out.println( "DEST IsGeographic:" + dst.IsGeographic() + " IsProjected:" + dst.IsProjected() );
      /* -------------------------------------------------------------------- */
      /*      making the transform                                            */
      /* -------------------------------------------------------------------- */
            /* New in GDAL 1.10. Before was "new CoordinateTransformation(srs,dst)". */
      CoordinateTransformation ct = CoordinateTransformation.CreateCoordinateTransformation(src, dst);
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.