loop for each raster as explained in the tutorial, and get the specific metadataitem like this
const char* md = GDALGetMetadataItem(hBand, "NETCDF_DIM_time_VALUE", "") md will contain the value of NETCDF_DIM_time_VALUE for that band On Tue, Mar 18, 2014 at 2:42 PM, sandeep <sandeepkumar7...@gmail.com> wrote: > From the GetRasterCount() i can find the number of bands and using vrt i am > creating a file for every band. in order to to show them according to the > NETCDF_DIM_time_VALUES how can i do that? > > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/How-to-find-the-geoextents-in-a-netCDF-file-tp5129619p5129725.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev