adapted reader for foramts supported by spatialhadoop