PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ rt_raster_get_num_bands()

uint16_t rt_raster_get_num_bands ( rt_raster  raster)

Definition at line 372 of file rt_raster.c.

372  {
373 
374 
375  assert(NULL != raster);
376 
377  return raster->numBands;
378 }
raster
Be careful!! Zeros function's input parameter can be a (height x width) array, not (width x height): ...
Definition: rtrowdump.py:121

References rtrowdump::raster.

Referenced by _rt_raster_geotransform_warn_offline_band(), _rti_colormap_arg_destroy(), cu_add_band(), cu_free_raster(), RASTER_addBand(), RASTER_addBandOutDB(), RASTER_addBandRasterArray(), RASTER_band(), RASTER_bandmetadata(), RASTER_clip(), RASTER_contains(), RASTER_containsProperly(), RASTER_copyBand(), RASTER_coveredby(), RASTER_covers(), raster_destroy(), RASTER_dfullywithin(), RASTER_dumpAsPolygons(), RASTER_dumpValues(), RASTER_dwithin(), RASTER_getNumBands(), RASTER_getPixelPolygons(), RASTER_getPolygon(), RASTER_histogram(), RASTER_histogramCoverage(), RASTER_intersects(), RASTER_mapAlgebraExpr(), RASTER_metadata(), RASTER_nearestValue(), RASTER_neighborhood(), RASTER_overlaps(), RASTER_pixelOfValue(), RASTER_quantile(), RASTER_quantileCoverage(), RASTER_reclass(), RASTER_setPixelValuesArray(), RASTER_setPixelValuesGeomval(), RASTER_summaryStats(), RASTER_summaryStats_transfn(), RASTER_summaryStatsCoverage(), RASTER_tile(), RASTER_touches(), RASTER_union_transfn(), RASTER_valueCount(), RASTER_valueCountCoverage(), rt_raster_clone(), rt_raster_colormap(), rt_raster_from_band(), rt_raster_from_gdal_dataset(), rt_raster_fully_within_distance(), rt_raster_gdal_warp(), rt_raster_generate_new_band(), rt_raster_geos_spatial_relationship(), rt_raster_get_perimeter(), rt_raster_intersects(), rt_raster_surface(), rt_raster_to_gdal_mem(), rt_raster_within_distance(), rtpg_union_arg_destroy(), rtpg_union_noarg(), test_gdal_rasterize(), test_gdal_to_raster(), test_gdal_warp(), test_raster_clone(), test_raster_colormap(), test_raster_metadata(), and test_raster_wkb().