~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to frmts/wktraster/install

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
REQUIREMENTS :
2
 
 
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
5
 
 
6
 
 
7
 
INSTALL NOTES :
8
 
 
9
 
1* Go to frmts directory under GDAL source tree
10
 
 
11
 
2* Unpack WKTRaster archive in the frmts directory 
12
 
 
13
 
3* Edit GNUMakefile to set your Postgis include path
14
 
 
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
18
 
 
19
 
5* Add a call to the registration function in frmts/gdalallregister.c
20
 
    In the GDALAllRegister() function add the followinf lines :
21
 
    #ifdef FRMT_WKTRaster
22
 
        GDALRegister_WKTRaster();
23
 
    #endif
24
 
    
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
27
 
    
28
 
7* Add a format specific item to the EXTRAFLAGS macro in frmts/makefile.vc
29
 
 
30
 
8* Recompile your GDAL library :
31
 
    - make clean
32
 
    -./configure
33
 
    - make
34
 
    - make install
35
 
    
36
 
9* Test your WKTRaster installation :
37
 
    execute gdalinfo --formats and search for WKTRaster