Find a file
2012-02-14 22:21:48 +00:00
doc Example of how to use only psql to output a raster image. 2012-02-14 22:21:48 +00:00
extensions Drop the now-generated Makefile on distclean, and ignore it 2012-02-10 09:19:33 +00:00
extras #1494: done with programming need to finish documenting and regress test. 2012-02-14 17:53:40 +00:00
java Fix contact per a message on postgis-users from Markus Innerebner 2012-01-26 16:22:00 +00:00
liblwgeom Make one-point lines convertible to GEOS, see #1543 2012-02-14 13:31:22 +00:00
libpgcommon Drop postgis_config.h include from lwgeom_pg.h header. 2012-02-09 17:00:23 +00:00
loader Fix a couple of compiler warnings in shp2pgsql-gui caused by uninitialised variables. 2012-02-07 13:12:31 +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 Fix crash with empty polygons in P-I-P tests (#1578) 2012-02-14 17:57:45 +00:00
raster Readded rt_clip regression test. 2012-02-14 17:47:12 +00:00
regress Fix crash with empty polygons in P-I-P tests (#1578) 2012-02-14 17:57:45 +00:00
topology Accept more feature type names from AddTopoGeometryColumn (#1470) 2012-02-13 16:29:30 +00:00
utils Allow retaining all custom spatial_ref_sys entries, even clashing 2012-02-13 18:06:53 +00:00
.gitignore Move SRID max and user-max definitions to configure.ac 2012-02-13 14:48:17 +00:00
astyle.sh Check astyle version prior to do anything. 'blessed' version is 1.23. Related to #433 and postgis-devel discussions 2010-02-23 15:21:45 +00:00
authors.svn Add dzwarg 2012-02-07 22:17:49 +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 Commit in preparation for 2.0.0alpha4 2012-02-08 17:33:21 +00:00
config.rpath Add config rpath 2010-12-09 16:10:01 +00:00
configure.ac Configured without raster still tries to make raster/rt_pg/rtpostgis.sql (#1575) only try to build extensions if we have both raster and topology as well as pgsql 9.1 2012-02-13 22:02:55 +00:00
COPYING Initial revision 2001-06-22 17:39:29 +00:00
CREDITS Give me psc status 2012-01-29 14:44:33 +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 update license to provide detail about documentation license and copyright of data etc. 2011-12-07 03:41:57 +00:00
make_dist.sh Force generation of an svnrevision.h file when building in a repo and the svn executable is available. 2012-02-07 23:27:57 +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 Commit in preparation for 2.0.0alpha4 2012-02-08 17:33:21 +00:00
postgis_config.h.in Report SVN revision in PostGIS_Full_Version (#1518) 2012-02-11 05:14:39 +00:00
README.postgis Commit in preparation for 2.0.0alpha4 2012-02-08 17:33:21 +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 ST_Split was implemented - a lot more to remove from TODO 2012-01-03 21:30:23 +00:00
Version.config Push forward version numbers 2012-02-08 17:36:41 +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).