root/spike/wktraster/README

Revision 4791, 2.2 KB (checked in by jorgearevalo, 3 years ago)

undo commit test

Line 
1PostGIS WKT Raster - Seamless operations between vector and raster layers
2-------------------------------------------------------------------------
3http://www.postgis.org/support/wiki/index.php?WKTRasterHomePage
4
5
6WKT Raster's goal is to implement the RASTER type as much as possible
7like the GEOMETRY type is implemented in PostGIS and to offer a single
8set of overlay SQL functions (like ST_Intersects) operating seamlessly
9on vector and raster coverages.
10
11rt_core/ contains the primitives to deal with rasters in memory,
12the function to serialize/deserialize both in-memory and on-disk
13rasters, the functions to parse and output (hex)wkb.
14You can see rt_core/testapi.c and rt_core/testwkb.c for example usage.
15
16rt_pg/ contains postgresql-specific wrappers, and SQL code to define
17the RASTER type.
18
19doc/ contains technical references and RFC documents.
20
21REQUIREMENTS
22------------
23
24WKTRaster core lib depends on liblwgeom, as found in postgis
25source package as of SVN 2009-01 (latest 1.3.5 release won't work).
26
27PostgreSQL interface depends on PostgreSQL version 8.3.5.
28
29BUILD
30-----
31
32To build:
33
34    $ ./configure --with-postgis-sources=/usr/src/postgis-svn
35    $ make
36
37Note that the 'configure' script isn't there if you fetched
38the code from the SVN repository. In that case running ./autogen.sh
39should create it for you.
40
41Under MinGW you might have to add "--with-pgconfig=/usr/local/pgsql/bin/pg_config" if
42configure can't find your pgsql path.
43
44
45PRE-INSTALL TEST
46----------------
47
48After a successful build, you can run:
49
50    $ make check
51
52It won't test postgresql interface, as that would require more setup
53then a simple make check. See POST-INSTALL TESTING for more info on how
54to test that part.
55
56INSTALL
57-------
58
59You need to install the library to the postgresql library
60directory. You do it by running:
61
62    $ sudo make install
63
64POST-INSTALL TEST
65-----------------
66
67You can run the post install tests against it:
68
69    $ make post-install-check
70
71USE
72---
73
74In order to enable your databases to use the wktraster
75functionalities you have to feed them the enabler script:
76
77    $ psql -f rt_pg/rtpostgis.sql $MYDB
78
79Note that you must have loaded PostGIS in the database
80in order for that to work (see postgis documentation
81for how to do that).
Note: See TracBrowser for help on using the browser.