Package edu.harvard.hul.ois.ots.schemas.MIX

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


        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);
        assertTrue ((int) sec == 51);
       
        BasicImageInformation bii = mix.getBasicImageInformation();
View Full Code Here


        catch (XmlContentException e) {}
    }

    protected void populateGPSDestLatitude (String latitude)  {
        attachGPSData ();
        GPSDestLatitude latit = new GPSDestLatitude ();
        parseItude (latit, latitude);
        try {
            gps.setGPSDestLatitude(latit);
        }
        catch (XmlContentException e) {}
View Full Code Here

TOP

Related Classes of edu.harvard.hul.ois.ots.schemas.MIX.GPSDestLatitude

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.