Commit eb17c37c authored by Regina Obe's avatar Regina Obe

#3127 Switch knn to use spheroid distance instead of sphere distance

git-svn-id: http://svn.osgeo.org/postgis/trunk@13590 b70326c6-7e19-0410-871a-916f4a2858ee
parent 41653192
......@@ -61,7 +61,7 @@ Datum geography_distance_knn(PG_FUNCTION_ARGS)
GSERIALIZED *g2 = NULL;
double distance;
double tolerance = FP_TOLERANCE;
bool use_spheroid = false;
bool use_spheroid = true;
SPHEROID s;
/* Get our geometry objects loaded into memory. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment