Changes between Version 92 and Version 93 of WKTRaster/Documentation01


Ignore:
Timestamp:
Apr 12, 2010, 8:22:42 AM (14 years ago)
Author:
jorgearevalo
Comment:

Added instructions to compile using development flag. It enables the use of ST_DumpAsPolygons, but this function crash just now.

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/Documentation01

    v92 v93  
    125125 * [http://www.python.org/ Python] version 2.5 or higher and [http://pypi.python.org/pypi/GDAL/ GDAL for Python] version 1.6.0 or higher for the loader (gdal2wktraster.py).
    126126
     127 * [http://www.gdal.org/ GDAL] version 1.6.0 or higher, for some of the [http://trac.osgeo.org/postgis/wiki/WKTRaster/SpecificationWorking01#Objective0.1.6e-Beingabletointersectvectorandrastertoproducevector. Objective 0.1.6e] features. This features are under development, and must be enabled during configure to use it. See section 2.3.1 - Compiling on Linux, to know how to enable them
     128
    127129== '''2.2 - Installing Precompiled Binaries''' ==
    128130
     
    151153>./configure --with-postgis-sources=/thesrc/postgis-version
    152154}}}
     155
     156If you want to use '''ST_DumpAsPolygons''' function, you should provide the option ''--enable-development'' to configure script. In this way:
     157
     158{{{
     159>./configure --with-postgis-sources=/thesrc/postgis-version --enable-development
     160}}}
     161
     162Please, take into account that, if you use this option:
     163  * The script will look for GDAL version 1.6.0 or higher. If it isn't present, the configure script will fail.
     164  * The ST_DumpAsPolygons function is '''under development''', and '''may crash'''.
     165
     166The rest of the functions of [http://trac.osgeo.org/postgis/wiki/WKTRaster/SpecificationWorking01#Objective0.1.6e-Beingabletointersectvectorandrastertoproducevector. Objective 0.1.6e] are not implemented yet.
    153167 
    154168 4. Run the compile and install commands:
     
    191205
    192206 5. From the wktraster folder, do:
    193 If you don't want to build with GDAL leave out the --enable-development and --with-gdal lines
     207If you don't want to build with GDAL leave out the --enable-development line
    194208
    195209{{{
    196210>./configure --enable-development \
    197       --with-gdal=/c/projects/gdal/rel-1.7.1/bin/gdal-config  \
    198211      --prefix=/c/postgres --with-postgis-sources=/c/thesrc/postgis-version --with-pgconfig=/c/postgres/bin/pg_config
    199212}}}