Examples of GetProjectionRef()


Examples of org.gdal.gdal.Dataset.GetProjectionRef()

    System.out.println("Size is: " + poDataset.getRasterXSize() + "x"
        + poDataset.getRasterYSize() + "  bands:"
        + poDataset.getRasterCount());

    if (poDataset.GetProjectionRef() != null)
      System.out.println("Projection is `" + poDataset.GetProjectionRef()
          + "'");
   
    Hashtable dict = poDataset.GetMetadata_Dict("");
    Enumeration keys = dict.keys();
View Full Code Here

Examples of org.gdal.gdal.Dataset.GetProjectionRef()

    System.out.println("Size is: " + poDataset.getRasterXSize() + "x"
        + poDataset.getRasterYSize() + "  bands:"
        + poDataset.getRasterCount());

    if (poDataset.GetProjectionRef() != null)
      System.out.println("Projection is `" + poDataset.GetProjectionRef()
          + "'");
   
    Hashtable dict = poDataset.GetMetadata_Dict("");
    Enumeration keys = dict.keys();
    System.out.println(dict.size() + " items of metadata found (via Hashtable dict):");
View Full Code Here

Examples of org.gdal.gdal.Dataset.GetProjectionRef()

                System.out.println("Can't open " + args[0]);
                System.exit(-1);
            }

            System.out.println("Raster dataset parameters:");
            System.out.println("  Projection: " + ds.GetProjectionRef());
            System.out.println("  RasterCount: " + ds.getRasterCount());
            System.out.println("  RasterSize (" + ds.getRasterXSize() + "," + ds.getRasterYSize() + ")");
           
            int[] levels = new int[args.length -2];
View Full Code Here

Examples of org.gdal.gdal.Dataset.GetProjectionRef()

          + hDataset.getRasterYSize());

      /* -------------------------------------------------------------------- */
      /*      Report projection.                                              */
      /* -------------------------------------------------------------------- */
      if (hDataset.GetProjectionRef() != null) {
        SpatialReference hSRS;
        String pszProjection;

        pszProjection = hDataset.GetProjectionRef();

View Full Code Here

Examples of org.gdal.gdal.Dataset.GetProjectionRef()

      /* -------------------------------------------------------------------- */
      if (hDataset.GetProjectionRef() != null) {
        SpatialReference hSRS;
        String pszProjection;

        pszProjection = hDataset.GetProjectionRef();

        hSRS = new SpatialReference(pszProjection);
        if (hSRS != null && pszProjection.length() != 0) {
          String[] pszPrettyWkt = new String[1];

View Full Code Here

Examples of org.gdal.gdal.Dataset.GetProjectionRef()

          System.out.println("Coordinate System is:");
          System.out.println(pszPrettyWkt[0]);
          //gdal.CPLFree( pszPrettyWkt );
        } else
          System.out.println("Coordinate System is `"
              + hDataset.GetProjectionRef() + "'");

        hSRS.delete();
      }

      /* -------------------------------------------------------------------- */
 
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.