ogr plugin extent error handling