494
506
VALIDATE_POINTER1( hSrcBand, "GDALPolygonize", CE_Failure );
495
507
VALIDATE_POINTER1( hOutLayer, "GDALPolygonize", CE_Failure );
497
509
if( pfnProgress == NULL )
498
510
pfnProgress = GDALDummyProgress;
500
514
/* -------------------------------------------------------------------- */
501
515
/* Confirm our output layer will support feature creation. */
502
516
/* -------------------------------------------------------------------- */