<div dir="ltr">I have an interesting little problem. <div><br></div><div>I want to write (in the code using the API - not as a test script - actually in C#) a command that will fail if the GDAL data path is set incorrectly.</div><div><br></div><div>I am having difficulty finding a command that will fail if the path is incorrect.</div><div><br></div><div>I thought that some of the commands in OSR (like ImportFromPCI ) would fail since the data files are in the data folder - but when I try that with the GDAL-DATA configuration item set to a path that does not exists - they do not fail!</div><div><br></div><div>There are a lot of commands out there - and I do not want to have to try them all. Does anyone have a good idea about what should fail?</div></div>