3
* Make sure you have a full PostgreSQL/Postgis clean source installation
4
* You need to have Proj4 installed and configured in Pstgis to get the driver work
9
1* Go to frmts directory under GDAL source tree
11
2* Unpack WKTRaster archive in the frmts directory
13
3* Edit GNUMakefile to set your Postgis include path
15
4* Add registration entry point declaration :
16
- Open gdal/gcore/gdal_frmts.h
17
- Add "void CPL_DLL GDALRegister_WKTRaster(void);" between the CPL_C_START and CPL_C_END tags
19
5* Add a call to the registration function in frmts/gdalallregister.c
20
In the GDALAllRegister() function add the followinf lines :
22
GDALRegister_WKTRaster();
25
6* Add the format short name to the GDAL_FORMATS macro in GDALmake.opt.in (and to GDALmake.opt) :
26
- Locate the variable GDAL_FORMATS and add "WKTRaster" (lowercase) to the list of formats
28
7* Add a format specific item to the EXTRAFLAGS macro in frmts/makefile.vc
30
8* Recompile your GDAL library :
36
9* Test your WKTRaster installation :
37
execute gdalinfo --formats and search for WKTRaster