PostGIS  2.1.10dev-r@@SVN_REVISION@@
if ( psSHP->sHooks.FRead(psSHP->pabyRec, nEntitySize, 1, psSHP->fpSHP)!  = 1)

Definition at line 1626 of file shpopen.c.

1627  {
1628  /*
1629  * TODO - mloskot: Consider detailed diagnostics of shape file,
1630  * for example to detect if file is truncated.
1631  */
1632  char str[128];
1633  sprintf( str,
1634  "Error in fread() reading object of size %u at offset %u from .shp file",
1635  nEntitySize, psSHP->panRecOffset[hEntity] );
1636 
1637  psSHP->sHooks.Error( str );
1638  return NULL;
1639  }
nEntitySize
Definition: shpopen.c:1580