t this lose information.</dd>
<dt><a name="label-46" id="label-46"><code>shape.wkt</code></a></dt><!-- RDLabel: "shape.wkt" -->
<dd>
<p>returns WKT (well known text) representation of geometry
as defined in <a href="#label-94">ISO 19125-1</a>.
<em>Caution: current implementation does not always handle Polygon[MZ] and MultiPatch correctly.</em></p>
<pre>ShapeLib::Arc.new([1, 2], [3, 4], [5, 6]).wkt
=&gt; "LINESTRING(1 2, 3 4, 5 6)"
ShapeLib::Arc.new([[1, 2], [3, 4]], [[5, 6], [7, 8]]).wkt
=&gt; "MULTILINESTR