<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/cts.approxCenter.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>cts.approxCenter</api:function-name><api:suggest>cts.approxcenter</api:suggest><api:suggest>cts</api:suggest><api:suggest>approxcenter</api:suggest><api:function-link mode="xquery" fullname="cts:approx-center">/apidoc/8.0/cts:approx-center.xml</api:function-link><api:function mode="javascript" name="approxCenter" type="builtin" lib="cts" category="SearchBuiltins" subcategory="Geospatial (Deprecated)" hidden="false" bucket="MarkLogic Built-In Functions" prefix="cts" namespace="http://marklogic.com/cts" fullname="cts.approxCenter"><api:summary>
  [DEPRECATED: use <a href="./geo:approx-center" xmlns="http://www.w3.org/1999/xhtml"><code>geo:approx-center</code></a>
  instead]
   Return a point approximating the center of the given region.
   For a point, this is the point itself.
   For a circle, it is the center point.
   For a box, it is the point whose latitude is half-way between the northern
   and southern limits and whose longitude is half-way between the western and
   eastern limits.
   For a linestring, it is the middle point in the line.
   For polygons and complex polygons, an approximate centroid
   is returned. This approximation is rough, and useful for quick comparisons.
</api:summary></api:function></api:function-page>