FoundationDB/sql-layer — pull request #1488 by geophile (2014-10-09 16:03:44+00:00)
Title: Geophile cutover

- Added maven dependency on geophile.

- com.foundationdb.server.geophile has been mostly gutted, and
replaced by com.foundationdb.server.spatial, which serves as glue to
geophile. Due to this change, unit tests of
com.foundationdb.server.spatial have been removed. (There are
similar and more thorough tests in the open-source version.)

- Relying on geophile for Space and spatial objects.

- Changed the coordinate system. The obsolete, internal version of
geophile used integer coordinates, scaled by 1e6, which was suitable
for lat/lon spaces. The open-source version of geophile uses double
coordinates.

- Modified estimated rows and costs in spatial ITs. By going to double
coordinates, and avoiding the fixed 1e6 scaling, the z-values of
spatial objects have changed, and cost estimates of z-order indexes
change too.