mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 09:32:46 +00:00
ae330d306a
git-svn-id: http://svn.osgeo.org/postgis/trunk@1623 b70326c6-7e19-0410-871a-916f4a2858ee
21 lines
640 B
Plaintext
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.
|
|
|
|
|