9 | | It should work also for other mission, but probably meta-data handling has to be adapted. If you want a mission-specific file to be added, feel free to contact the author mailto:sebastian.walter@fu-berlin.de |
| 9 | It should work also for other missions, but probably meta-data handling has to be adapted. If you want a mission-specific file to be added, feel free to contact me, mailto:sebastian.walter@fu-berlin.de |
| 10 | |
| 11 | I wasn't able to commit via svn, so this is the diff to existing files: |
| 12 | |
| 13 | |
| 14 | {{{ |
| 15 | Index: frmts/gdalallregister.cpp |
| 16 | =================================================================== |
| 17 | --- frmts/gdalallregister.cpp (revision 28072) |
| 18 | +++ frmts/gdalallregister.cpp (working copy) |
| 19 | @@ -231,6 +231,7 @@ |
| 20 | GDALRegister_ISIS3(); |
| 21 | GDALRegister_ISIS2(); |
| 22 | GDALRegister_PDS(); |
| 23 | + GDALRegister_VICAR(); |
| 24 | #endif |
| 25 | |
| 26 | #ifdef FRMT_til |
| 27 | Index: frmts/pds/GNUmakefile |
| 28 | =================================================================== |
| 29 | --- frmts/pds/GNUmakefile (revision 28072) |
| 30 | +++ frmts/pds/GNUmakefile (working copy) |
| 31 | @@ -1,13 +1,13 @@ |
| 32 | |
| 33 | include ../../GDALmake.opt |
| 34 | |
| 35 | -OBJ = pdsdataset.o isis2dataset.o isis3dataset.o nasakeywordhandler.o |
| 36 | +OBJ = pdsdataset.o isis2dataset.o isis3dataset.o vicardataset.o nasakeywordhandler.o vicarkeywordhandler.o |
| 37 | |
| 38 | -CPPFLAGS := -I../raw $(CPPFLAGS) |
| 39 | +CPPFLAGS := -I../raw $(GDAL_INCLUDE) $(CPPFLAGS) |
| 40 | |
| 41 | default: $(OBJ:.o=.$(OBJ_EXT)) |
| 42 | |
| 43 | -$(O_OBJ): nasakeywordhandler.h ../raw/rawdataset.h |
| 44 | +$(O_OBJ): nasakeywordhandler.h vicarkeywordhandler.h ../raw/rawdataset.h |
| 45 | |
| 46 | clean: |
| 47 | rm -f *.o $(O_OBJ) |
| 48 | Index: gcore/gdal_frmts.h |
| 49 | =================================================================== |
| 50 | --- gcore/gdal_frmts.h (revision 28072) |
| 51 | +++ gcore/gdal_frmts.h (working copy) |
| 52 | @@ -120,6 +120,7 @@ |
| 53 | void CPL_DLL GDALRegister_ISIS3(void); |
| 54 | void CPL_DLL GDALRegister_ISIS2(void); |
| 55 | void CPL_DLL GDALRegister_PDS(void); |
| 56 | +void CPL_DLL GDALRegister_VICAR(void); |
| 57 | void CPL_DLL GDALRegister_IDRISI(void); |
| 58 | void CPL_DLL GDALRegister_Terragen(void); |
| 59 | void CPL_DLL GDALRegister_WCS(void); |
| 60 | }}} |