- #2100, ST_AsRaster may not return raster with specified pixel type
- #2126, Better handling of empty rasters from ST_ConvexHull()
- #2165, ST_NumPoints regression failure with CircularString
+ - #2168, ST_Distance is not always commutative
- #2182, Fix issue with outdb rasters with no SRID and ST_Resize
- #2188, Fix function parameter value overflow that caused problems
when copying data from a GDAL dataset
PG_RETURN_NULL();
}
+ /* Knock off any funny business at the micrometer level, ticket #2168 */
+ distance = round(distance * 10e8) / 10e8;
+
PG_RETURN_FLOAT8(distance);
}