Examples of GPSData


Examples of edu.harvard.hul.ois.ots.schemas.MIX.GPSData

        assertEquals ("big endian", byteOrder);
       
        ImageCaptureMetadata icm = mix.getImageCaptureMetadata();
        DigitalCameraCapture dcc = icm.getDigitalCameraCapture();
        CameraCaptureSettings ccs = dcc.getCameraCaptureSettings();
        GPSData gps = ccs.getGPSData();
        String gpsVersionID = gps.getGpsVersionID().toString();
        assertEquals ("99.5", gpsVersionID);
       
        GPSDestLatitude dlat = gps.getGPSDestLatitude();
        double deg = dlat.getDegrees().toRational().getDouble();
        double min = dlat.getMinutes().toRational().getDouble();
        double sec = dlat.getSeconds().toRational().getDouble();
        assertTrue ((int) deg == 33);
        assertTrue ((int) min == 24);
View Full Code Here

Examples of edu.harvard.hul.ois.ots.schemas.MIX.GPSData

            pc = null;                          // We leave this null so we can tell if it's been created
            sc = new ScannerCapture ();         // Add this to icm if needed
            scanm = new ScannerModel ();        // Add this to sc if needed
            sss = new ScanningSystemSoftware ()// add this to sc if needed
            id = new ImageData ();              // Add this to ccs if needed
            gps = new GPSData ();               // Add this to ccs if needed
            sd = new SubjectDistance ();        // Add this to id if needed
           
            // Build DigitalCameraCapture with subelements, but don't hook it to icm
            // until it's needed.
            dcc = new DigitalCameraCapture ();
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.