GeometryToWKT
The example program GeometryToWKT reads geometry objects from the HCL Informix® spatial table and converts them into WKT (well-known text format) strings.
The program first creates a table, inserts geometry data into it, and then queries the table. The output of the program shows the well-known text representation of sample geometries.