added flexible views and cleaning
gdal offset