Loading TOC...

MarkLogic 9 Product Documentation
cts functions (Geospatial Constructors)

Use the geospatial constructor functions to create geospatial primitive types such as points, boxes, circles, and polygons from raw data. You can use the resulting constructs in geospatial queries, geospatial lexicon analysis, and geospatial operations such as tests for containment or interesection.

18 functions
Function name Description
cts.box Returns a geospatial box value.
cts.boxEast Returns a box's eastern boundary.
cts.boxNorth Returns a box's northern boundary.
cts.boxSouth Returns a box's southern boundary.
cts.boxWest Returns a box's western boundary.
cts.circle Returns a geospatial circle value.
cts.circleCenter Returns a circle's center point.
cts.circleRadius Returns a circle's radius.
cts.complexPolygon Returns a geospatial complex polygon value.
cts.complexPolygonInner Returns a complex polygon's inner polygons.
cts.complexPolygonOuter Returns a complex polygon's outer polygon.
cts.linestring Returns a geospatial linestring value.
cts.linestringVertices Returns a linestring's vertices.
cts.point Returns a point value.
cts.pointLatitude Returns a point's latitude value.
cts.pointLongitude Returns a point's longitude value.
cts.polygon Returns a geospatial polygon value.
cts.polygonVertices Returns a polygon's vertices.