https://bugzilla.wikimedia.org/show_bug.cgi?id=35015

--- Comment #2 from Sam Reed (reedy) <[email protected]> 2012-03-07 01:07:49 
UTC ---
    public function testGPSExtraction() {
        $filename = $this->mediaPath . 'exif-gps.jpg';
        $seg = JpegMetadataExtractor::segmentSplitter( $filename ); 
        $exif = new Exif( $filename, $seg['byteOrder'] );
        $data = $exif->getFilteredData();
        $expected = array(
            'GPSLatitude' => 88.5180555556,
            'GPSLongitude' => -21.12357,
            'GPSAltitude' => -200,
            'GPSDOP' => '5/1',
            'GPSVersionID' => '2.2.0.0',
        );
        $this->assertEquals( $expected, $data, '', 0.0000000001 );
    }



suggests it's looking for a number, not a fraction...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to