setup.sql 583 B

12345678910111213141516
  1. ----------------------------------------------------------------------------
  2. -- setup.sql
  3. --
  4. -- This script should be run before any of the sql examples.
  5. --
  6. -- It will create an entry in the spatial_references table which
  7. -- is used by many of the sql examples.
  8. ----------------------------------------------------------------------------
  9. DELETE FROM spatial_references WHERE srid = 1000;
  10. INSERT INTO spatial_references
  11. (srid, falsex, falsey, xyunits, falsez, zunits, falsem, munits, srtext)
  12. VALUES
  13. (1000, -50000, -50000, 1000, -50000, 1000, -50000, 1000, 'UNKNOWN');