working with ogr