pgLatLon

annotate create_test_db.sh @ 46:3cbce515387f

Added safety margins for distance calculation on index lookups (fixes bug that caused nearest-neighbor search to fail in certain cases); Improved "fair_distance" function
author jbe
date Mon Oct 31 13:06:31 2016 +0100 (2016-10-31)
parents 3b70e93cc07d
children
rev   line source
jbe@0 1 #!/bin/sh
jbe@0 2 dropdb latlon_test --if-exists
jbe@0 3 createdb latlon_test || exit 1
jbe@0 4 psql -v ON_ERROR_STOP=1 -f create_test_db.schema.sql latlon_test || exit 1
jbe@0 5 for i in 1 2 3 4 5 6 7 8 9 10
jbe@0 6 do
jbe@0 7 psql -v ON_ERROR_STOP=1 -f create_test_db.data.sql latlon_test || exit 1
jbe@0 8 done

Impressum / About Us