writeGeometry(geometry, options) {
    const node = this.writeGeometryNode(geometry, options);
    return this.xmlSerializer_.serializeToString(node);
  }
Encode a geometry as string.

@param {import("../geom/Geometry.js").default} geometry Geometry.
@param {import("./Feature.js").WriteOptions} [options] Write options.
@return {string} Encoded geometry.
@override