Closed GoogleCodeExporter closed 9 years ago
At the very least, it would be handy to have a way to convert the lat/lon
Rational[] into a float, even if it was a hidden/undocumented method until
there is time to build this new GeoLocation class.
Original comment by ibex...@gmail.com
on 1 May 2012 at 5:57
Code for this has been committed and will be available in the next release.
To see it in action, check out the new sample application:
http://code.google.com/p/metadata-extractor/source/browse/Samples/com/drew/metad
ata/GeoTagMapBuilder.java
In short, you can write code like this:
{{{
GeoLocation geoLocation = gpsDirectory.getGeoLocation();
if (geoLocation == null || geoLocation.isZero())
{
// geoLocation.Latitude / geoLocation.Longitude
}
}}}
Original comment by drewnoakes
on 21 May 2012 at 2:07
Original issue reported on code.google.com by
drewnoakes
on 2 May 2011 at 8:09