[postgis-commits] svn - r3668 - spike/wktraster
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Fri Feb 6 05:12:10 PST 2009
Author: strk
Date: 2009-02-06 05:12:10 -0800 (Fri, 06 Feb 2009)
New Revision: 3668
Modified:
spike/wktraster/README
Log:
review
Modified: spike/wktraster/README
===================================================================
--- spike/wktraster/README 2009-02-06 13:07:17 UTC (rev 3667)
+++ spike/wktraster/README 2009-02-06 13:12:10 UTC (rev 3668)
@@ -36,37 +36,41 @@
the code from the SVN repository. In that case running ./autogen.sh
should create it for you.
-CHECK
------
+PRE-INSTALL TEST
+----------------
After a successful build, you can run:
$ make check
It won't test postgresql interface, as that would require more setup
-then a simple make check. See INSTALL for more info on how to test
-that part.
+then a simple make check. See POST-INSTALL TESTING for more info on how
+to test that part.
INSTALL
-------
-First you need to install the library to the postgresql library
+You need to install the library to the postgresql library
directory. You do it by running:
- $ make install
+ $ sudo make install
-Then you need to enable your database to use the new functions.
-It is reccommended to use a test database at first:
+POST-INSTALL TEST
+-----------------
- $ createdb test_wktraster
- $ createlang plpgsql test_wktraster
- $ psql -f rt_pg/rtpostgis.sql test_wktraster
+You can run the post install tests against it:
-Then you can run the IO tests against it:
+ $ make post-install-check
- $ psql -f rt_pg/test/io.sql test_wktraster
+USE
+---
-The test succeeds if you get all 't' (true) values in last two
-columns of the final query. The data is left on an rt_table
-for use to further test.
+In order to enable your databases to use the wktraster
+functionalities you have to feed them the enabler script:
+ $ psql -f rt_pg/rtpostgis.sql $MYDB
+
+Note that you must have spatially-enabled the database
+in order for that to work (see postgis documentation
+for how to do that).
+
More information about the postgis-commits
mailing list