Build the georeference for dir, or null when the file carries no usable transform or sits in a projection the engine can't invert.
null