postgis/extras/ogc_test_suite/README
Sandro Santilli ae330d306a Renamed examples/ to extras/. Added WFS_locks.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1623 b70326c6-7e19-0410-871a-916f4a2858ee
2005-04-15 15:09:20 +00:00

21 lines
640 B
Plaintext

This test suite was originally downloaded from
http://www.opengeospatial.org/resources/?page=testing&view=sfsql
and legal adaptations necessary for PostGIS were added to allow it
to run.
- All tests must be run in a database named 'ogc' in order for the
AddGeometryColumn() function calls to work.
createdb ogc
createlang plpgsql ogc
psql ogc < ../../lwpostgis.sql
psql -a -f 1_schema.sql ogc >& 1_output.txt
psql -a -f 2_queries.sql ogc >& 2_output.txt
psql -a -f 3_cleanup.sql ogc >& 3_output.txt
- Load the test files in order. File 2 has the actual tests, with the
correct answers for each test in the comments.