<div dir="ltr">Hello,<br><br>I'm having trouble creating a shapefile. My problems are isolated to the following c++ block:<div><br><div> const char *pszDriverName = "ESRI Shapefile";</div><div> GDALDriver *poDriver;</div>
<div> GDALAllRegister();</div><div> poDriver = GetGDALDriverManager()->GetDriverByName(pszDriverName );</div><div> if( poDriver == NULL )</div><div> {</div><div> printf( "%s driver not available.\n", pszDriverName );</div>
<div> exit( 1 );</div><div> }<br><br>which enters the conditional since it cannot find the "ESRI Shapefile" driver.<br><br>The funny thing is that this driver loads no problem with my Python bindings. Does anyone have any advice to help me out?<br>
<br>Thanks,<br>Mike</div></div></div>