postgis/extras/ogc_test_suite
Paul Ramsey 05664e6558 Add official "adaptions" to the files to make them suitable for
submission to the OGC compliance process.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2411 b70326c6-7e19-0410-871a-916f4a2858ee
2006-07-21 21:21:53 +00:00
..
.cvsignore Renamed examples/ to extras/. Added WFS_locks. 2005-04-15 15:09:20 +00:00
1_schema.sql Add official "adaptions" to the files to make them suitable for 2006-07-21 21:21:53 +00:00
2_queries.sql Add official "adaptions" to the files to make them suitable for 2006-07-21 21:21:53 +00:00
3_cleanup.sql Renamed examples/ to extras/. Added WFS_locks. 2005-04-15 15:09:20 +00:00
Makefile Renamed examples/ to extras/. Added WFS_locks. 2005-04-15 15:09:20 +00:00
README Renamed examples/ to extras/. Added WFS_locks. 2005-04-15 15:09:20 +00:00

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.