simplified geotiff methods. moved tileidmatrix to grid file