View Component 25.3
View Component Help

# Supported Well-Known Text Geometric Objects

Geometric objects such as points, lines, and polygons can be represented as text using the Well-Known Text (WKT) format. Knowledge Discovery supports the following WKT geometric objects. You can use these in unified geospatial document fields and in queries against those fields (for example, see the GEOCONTAINS, GEOINTERSECTS, and GEOWITHIN field specifiers).

NOTE: If you use longitude and latitude values, you must still specify points in the order x y (that is, longitude then latitude).

Geometric Object | Description
--- | ---
POINT | A point. You specify a single pair of coordinates. `POINT(X1 Y1)` or `POINT(LONG1 LAT1)`
LINESTRING | A line, or a line with multiple segments. You specify at least two pairs of coordinates. To construct a `LINESTRING` with multiple segments, specify more than two pairs of coordinates. `LINESTRING(X1 Y1, X2 Y2, ...)` `LINESTRING(LONG1 LAT1, LONG2 LAT2, ...)`
POLYGON | A polygon. You specify a pair of coordinates for each vertex, working either clockwise or counterclockwise around the polygon. The polygon can be concave, but the edges cannot cross themselves. `POLYGON((X1Y1, X2Y2, ...))` `POLYGON((LONG1 LAT1, LONG2 LAT2, ...))` A polygon can also contain holes, defined by further groups of coordinates. `POLYGON((X1 Y1, X2 Y2, ...), (X1 Y1, X2 Y2, ...))` `POLYGON((LONG1 LAT1, LONG2 LAT2, ...), (LONG1 LAT1, LONG2 LAT2, ...))`
MUTLIPOINT | A collection of points. `MULTIPOINT (X1 Y1, X2 Y2, ...)` `MULTIPOINT (LONG1 LAT1, LONG2 LAT2, ...)`
MULTILINESTRING | A collection of lines. `MULTILINESTRING ((X1 Y1, X2 Y2, ...), (X1 Y1, X2 Y2, ...))` `MULTILINESTRING ((LONG1 LAT1, LONG2 LAT2, ...), (LONG1 LAT1, LONG2 LAT2, ...))`
MULTIPOLYGON | A collection of polygons. `MULTIPOLYGON (((X1 Y1, X2 Y2, ...)), ((X1 Y1, X2 Y2, ...)))` `MULTIPOLYGON (((LONG1 LAT1, LONG2 LAT2, ...)), ((LONG1 LAT1, LONG2 LAT2, ...)))`
GEOMETRYCOLLECTION | A collection of other WKT objects. `GEOMETRYCOLLECTION(POINT(X1 Y1), LINESTRING(X1 Y1, X2 Y2, ...), POLYGON((X1 Y1, X2 Y2, ...)))` `GEOMETRYCOLLECTION(POINT(LONG1 LAT1), LINESTRING(LONG1 LAT1, LONG2 LAT2, ...), POLYGON((LONG1 LAT1, LONG2 LAT2, ...)))` You cannot include a GEOMETRYCOLLECTION within a GEOMETRYCOLLECTION.

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.3

Topic Title: Supported Well-Known Text Geometric Objects