****Hi, I am trying to create a TIFF file from scratch by doing this :
GDALDriver* pDriver = (GDALDriver*) GDALGetDriverByName("GTiff"); GDALDataset* 
pOutDS = pDriver->Create( sFilePath.c_str(), m_lWidth, m_lHeight, 
m_lNumberOfBands, GDT_Byte, NULL);GDALClose(pOutDS );**** It creates the file 
but it failed when iI try to loaded it.  I got  ... not recognised as a 
supported file formatGDALDataset* pOutDS2  = (GDALDataset*) 
GDALOpenShared(sFilePath.c_str(), GA_Update); What missing? 
Mario Beaulieu
Agent de recherche senior
Équipe Vision & Imagerie
CRIM (Centre de recherche informatique de Montréal /
Computer Research Institut of Montreal)
514-840-1235, poste 2478
mario.beaul...@crim.ca
www.crim.ca  
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to