Add optional extent paramater to ogr plugin