added support to handle geotagging