Find a file
2012-03-10 10:34:47 +00:00
doc minor correction in title of example 2012-03-09 14:59:24 +00:00
extensions Update trunk versions for next cycle 2012-03-07 20:51:19 +00:00
extras Drop .cvsignore files 2012-03-08 10:36:15 +00:00
java Drop .cvsignore files 2012-03-08 10:36:15 +00:00
liblwgeom Work around difference between behavior of MS snprintf and C99 snprintf. (#1668) 2012-03-09 17:46:29 +00:00
libpgcommon Try again with line endings, this time using eol-style instead of eol-type (#1605) 2012-02-27 22:08:12 +00:00
loader Drop .cvsignore files 2012-03-08 10:36:15 +00:00
macros Allow building with gettext 0.14. Patch by Greg Troxel <gdt@ir.bbn.com> 2012-01-16 14:04:21 +00:00
postgis Drop .cvsignore files 2012-03-08 10:36:15 +00:00
raster Initialize variables that may cause compile-time warnings in rt_api.c. Added additional NLS items to raster2pgsql. 2012-03-09 19:00:25 +00:00
regress Fix need to hack regress source path 2012-03-07 20:47:38 +00:00
topology Drop .cvsignore files 2012-03-08 10:36:15 +00:00
utils Fix typos (FUNCION), drop duplicate entries 2012-03-05 08:28:46 +00:00
.gitignore Ignore all html files under doc/html/ (also chunked) 2012-03-08 10:58:47 +00:00
astyle.sh Correctly handle the new lexer/parser output files 2012-02-22 23:13:20 +00:00
authors.svn Update kneufeld contact info 2012-03-05 16:45:30 +00:00
autogen.sh Can't put backslash-commands in 'echo' parameter in a standard way 2009-09-30 14:10:25 +00:00
ChangeLog Update for beta2 release 2012-03-07 20:50:11 +00:00
config.rpath Add config rpath 2010-12-09 16:10:01 +00:00
configure.ac Cleanup for testing GDAL include files 2012-03-10 00:40:10 +00:00
COPYING Initial revision 2001-06-22 17:39:29 +00:00
CREDITS Substitute CREDITS content with pointers to manual (#1601) 2012-03-10 10:34:47 +00:00
GNUmakefile.in Have staged-install install comments when possible (#1532) 2012-02-13 10:58:28 +00:00
HOWTO_RELEASE Push forward version numbers 2012-02-08 17:36:41 +00:00
install-sh Re-add install-sh in the repository to support libtool < 2.0 2012-02-07 09:50:28 +00:00
LICENSE.TXT Stay within 80 cols 2012-02-22 15:52:57 +00:00
make_dist.sh Be quiet when postgis_svn_revision.h isn't needed (#1666) 2012-03-10 10:27:28 +00:00
Makefile Add rules to avoid the infinite loop took before ./configure is run 2010-12-22 18:24:27 +00:00
MIGRATION more column width cleanup 2011-07-03 01:58:48 +00:00
NEWS Update for beta2 release 2012-03-07 20:50:11 +00:00
postgis_config.h.in Report SVN revision in PostGIS_Full_Version (#1518) 2012-02-11 05:14:39 +00:00
README.postgis Update for beta2 release 2012-03-07 20:50:11 +00:00
README.raster Fixes on PostGIS Raster debug system. The raster core uses 2010-10-26 17:40:32 +00:00
spatial_ref_sys.sql VACUUM cannot be executed from a function or multi-command string (#1517) 2012-02-01 02:14:49 +00:00
STYLE forgot to save last change 2009-07-06 07:37:47 +00:00
TODO I didn't realize we had ST_AsLatLonText already :) 2012-03-07 08:17:41 +00:00
Version.config Update trunk versions for next cycle 2012-03-07 20:51:19 +00:00

PostGIS WKT Raster - Seamless operations between vector and raster layers
-------------------------------------------------------------------------
http://www.postgis.org/support/wiki/index.php?WKTRasterHomePage


PostGIS Raster's goal is to implement the RASTER type as much as possible
like the GEOMETRY type is implemented in PostGIS and to offer a single
set of overlay SQL functions (like ST_Intersects) operating seamlessly
on vector and raster coverages.

raster/rt_core/ contains the primitives to deal with rasters in memory,
the function to serialize/deserialize both in-memory and on-disk
rasters, the functions to parse and output (hex)wkb.
You can see raster/rt_core/testapi.c and raster/rt_core/testwkb.c for 
example usage.

raster/rt_pg/ contains postgresql-specific wrappers, and SQL code to define
the RASTER type.

raster/doc/ contains technical references and RFC documents.

REQUIREMENTS
------------

PostGIS Raster core lib depends on liblwgeom, as found in postgis
source package as of SVN 2009-01 (latest 1.3.5 release won't work).

Some PostGIS Raster functions depends on GDAL library version 1.6.0 or
higher

PostGIS Raster loader dependes on Python GDAL bindings.

PostgreSQL interface depends on PostgreSQL version 8.3.5.


BUILD
-----

To build PostGIS with raster support:

    $ ./configure --with-raster
    $ make

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.

Under MinGW you might have to add "--with-pgconfig=/usr/local/pgsql/bin/pg_config" if 
configure can't find your pgsql path.


PRE-INSTALL TEST
----------------

After a successful build, you can run:

    $ make raster-check

It won't test postgresql interface, as that would require more setup
then a simple make check. See POST-INSTALL TESTING for more info on how
to test that part.

INSTALL
-------

You need to install the library to the postgresql library
directory. You do it by running:

    $ sudo make install

POST-INSTALL TEST
-----------------

You can run the post install tests against it:

    $ make raster-post-install-check

USE
---

In order to enable your databases to use the raster
functionalities you have to feed them the enabler script:

    $ psql -f raster/rt_pg/rtpostgis.sql $MYDB

Note that you must have loaded PostGIS in the database
in order for that to work (see PostGIS documentation
for how to do that).