Changes between Version 66 and Version 67 of WKTRaster/Documentation01


Ignore:
Timestamp:
Dec 10, 2009, 12:00:14 PM (14 years ago)
Author:
pracine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/Documentation01

    v66 v67  
    150150 PostgreSQL provides a utility called pg_config to enable extensions like PostGIS to locate the PostgreSQL installation directory. If ./configure didn't find pg_config, try using the --with-pgconfig=/path/to/pg_config switch to specify a particular PostgreSQL installation.
    151151
     152
     153'''2.3.2 - Compiling on Windows using MSYS/MinGW'''
     154
     155 1. Compile PostGIS [wiki:UsersWikiWinCompile using these instructions].
     156
     157 2. Get the WKT Raster source code. You have two options:
     158
     159  * Using a SVN client, retrieve the very last WKT Raster source from http://svn.osgeo.org/postgis/spike/wktraster
     160
     161  * Download the latest development snapshot from http://postgis.refractions.net/download/
     162
     163 3. From the wktraster folder, do:
     164
     165{{{
     166>./configure --with-postgis-sources=/thesrc/postgis-version
     167}}}
     168
     169 4. Run the compile and install commands:
     170
     171{{{
     172>make & make install
     173}}}
     174
     175 Note that the 'configure' script isn't there if you fetched the code from the SVN repository. In that case running ./autogen.sh should create it for you.
     176
     177 Under MinGW you might have to add "--with-pgconfig=/usr/local/pgsql/bin/pg_config" if configure can't find your pgsql path.
     178
     179
     180'''2.3.3 - Compiling on Windows using Visual Studio'''
     181
     182
     183
     184'''2.3.4 - Final Installation'''
     185
     186 1. Load the PostGIS WKT Raster object and function definitions into your database by loading the rtpostgis.sql definitions file.
     187
     188{{{
     189>psql -d [yourdatabase] -f rtpostgis.sql
     190
     191}}}
     192
     193 The PostGIS WKT Raster extensions should now be loaded and ready to use.
     194
    152195 All files are installed using information provided by pg_config:
    153196
    154197   * Core functionality (rtpostgis shared library) is installed in [pkglibdir]/lib/
    155198
    156    * SQL function file (rtpostgis.sql) is installed in [prefix]/share/contrib
     199   * SQL function file (rtpostgis.sql) is installed in [prefix]/share/contrib/
    157200
    158201   * Loader (gdal2wktraster.py) is installed in [bindir]/
    159 
    160 
    161 
    162 
    163 '''2.3.2 - Compiling on Windows using MSYS/MinGW'''
    164 
    165  1. Compile PostGIS [wiki:UsersWikiWinCompile using these instructions].
    166 
    167  2. Get the WKT Raster source code. You have two options:
    168 
    169   * Using a SVN client, retrieve the very last WKT Raster source from http://svn.osgeo.org/postgis/spike/wktraster
    170 
    171   * Download the latest development snapshot from http://postgis.refractions.net/download/
    172 
    173  3. From the wktraster folder, do:
    174 
    175 {{{
    176 >./configure --with-postgis-sources=/thesrc/postgis-version
    177 }}}
    178 
    179  4. Run the compile and install commands:
    180 
    181 {{{
    182 >make & make install
    183 }}}
    184 
    185  Note that the 'configure' script isn't there if you fetched the code from the SVN repository. In that case running ./autogen.sh should create it for you.
    186 
    187  Under MinGW you might have to add "--with-pgconfig=/usr/local/pgsql/bin/pg_config" if configure can't find your pgsql path.
    188 
    189 
    190 '''2.3.3 - Compiling on Windows using Visual Studio'''
    191 
    192 
    193 
    194 '''2.3.4 - Final Installation'''
    195 
    196  1. Load the PostGIS WKT Raster object and function definitions into your database by loading the rtpostgis.sql definitions file.
    197 
    198 {{{
    199 >psql -d [yourdatabase] -f rtpostgis.sql
    200 
    201 }}}
    202 
    203  The PostGIS WKT Raster extensions should now be loaded and ready to use.
    204202
    205203