public void handle(Directory directory, Metadata metadata) throws MetadataException {
            GeoLocation geoLocation = ((GpsDirectory) directory).getGeoLocation();
            if (geoLocation != null) {
                DecimalFormat geoDecimalFormat = new DecimalFormat(GEO_DECIMAL_FORMAT_STRING,
                        new DecimalFormatSymbols(Locale.ENGLISH));
                metadata.set(TikaCoreProperties.LATITUDE,
                        geoDecimalFormat.format(geoLocation.getLatitude()));
                metadata.set(TikaCoreProperties.LONGITUDE,
                        geoDecimalFormat.format(geoLocation.getLongitude()));
            }
            Date gpsDate = ((GpsDirectory)directory).getGpsDate();
            if (gpsDate != null) {
                metadata.set(Geographic.TIMESTAMP, gpsDate);
            }
        }
Maps EXIF Geo Tags onto the Tika Geo metadata namespace.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-image-module/src/main/java/org/apache/tika/parser/image/ImageMetadataExtractor.java