removed old gdalconst import, added versions