summaryrefslogtreecommitdiffstats
path: root/src/gdal-test.c
blob: d6a8c8ea243098e30268ffb235ec72634b268c89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include "gdal.h"
#include "cpl_conv.h" /* for CPLMalloc() */
int main()
{
  GDALDatasetH  hDataset;
  GDALAllRegister();
  hDataset = GDALOpen( "/tmp/test.img", GA_ReadOnly );
  if( hDataset == NULL )
    {

    }
  else
    {
      GDALClose( hDataset );
    }

  return 0;
}