PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ if() [8/9]

if ( psSHP->sHooks.FRead(psSHP->pabyRec, nEntitySize, 1, psSHP->fpSHP) !  = 1)

Definition at line 1625 of file shpopen.c.

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

References nEntitySize.