pgLatLon

view 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
line source
1 #!/bin/sh
2 dropdb latlon_test --if-exists
3 createdb latlon_test || exit 1
4 psql -v ON_ERROR_STOP=1 -f create_test_db.schema.sql latlon_test || exit 1
5 for i in 1 2 3 4 5 6 7 8 9 10
6 do
7 psql -v ON_ERROR_STOP=1 -f create_test_db.data.sql latlon_test || exit 1
8 done

Impressum / About Us