@Test
    public void testJPEGGeo2() throws Exception {
        Metadata metadata = new Metadata();
        metadata.set(Metadata.CONTENT_TYPE, "image/jpeg");
        try (InputStream stream = getClass()
                .getResourceAsStream("/test-documents/testJPEG_GEO_2.jpg")) {
            parser.parse(stream, new DefaultHandler(), metadata, new ParseContext());
        }

        // Geo tags should be there with 5dp, and not rounded
        assertEquals("51.575762", metadata.get(Metadata.LATITUDE));
        assertEquals("-1.567886", metadata.get(Metadata.LONGITUDE));

        assertEquals("2012-02-20T16:44:22Z", metadata.get(Geographic.TIMESTAMP));
    }
Test for an image with the geographic information stored in a slightly
different way, see TIKA-915 for details
Disabled for now, pending a fix to the underlying library
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/test/java/org/apache/tika/parser/image/JpegParserTest.java