Find a file
Sandro Santilli b8fc690fa5 do not heap-allocate SPI arg types
git-svn-id: http://svn.osgeo.org/postgis/trunk@9113 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 20:51:49 +00:00
doc Added documentation for 1 and 2 raster map algebra user callback function documentation for pixel position array parameter to userfunc. #1525 2012-02-08 19:44:48 +00:00
extensions Add missing target 2012-02-08 17:39:57 +00:00
extras #1494: build parent structures to support census tract reporting by geocoder. 2012-02-01 17:28:42 +00:00
java Fix contact per a message on postgis-users from Markus Innerebner 2012-01-26 16:22:00 +00:00
liblwgeom Stop relying on private projects.h PROJ header (#1541) 2012-02-08 18:51:32 +00:00
libpgcommon Stop relying on private projects.h PROJ header (#1541) 2012-02-08 18:51:32 +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 Stop relying on private projects.h PROJ header (#1541) 2012-02-08 18:51:32 +00:00
raster do not heap-allocate SPI arg types 2012-02-08 20:51:49 +00:00
regress Added regression tests for raster2pgsql loader. Ticket is #1388 2012-02-08 16:11:13 +00:00
topology Allow changing a closed edge (but w/out fixing linking, see #892) 2012-02-07 10:14:37 +00:00
utils Handle French svn? 2012-02-08 19:09:39 +00:00
.gitignore Re-add install-sh in the repository to support libtool < 2.0 2012-02-07 09:50:28 +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 configure_json.patch (#1539) from Evan Roualt 2012-02-08 06:42:26 +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 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
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 Detect asprintf, vasprintf, fseeko 2012-01-26 20:19:42 +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).