GDAL

Public Member Functions | Public Attributes | List of all members
OGRWktOptions Struct Reference

Options for formatting WKT output. More...

`#include <ogr_geometry.h>`

## Public Member Functions
| OGRWktOptions ()
| Constructor.
| OGRWktOptions (const OGRWktOptions &)=default
| Copy constructor.

## Public Attributes
OGRwkbVariant | variant = wkbVariantOldOgc
| Type of WKT output to produce.
int | xyPrecision
| Precision of output for X,Y coordinates. Interpretation depends on `format`.
int | zPrecision
| Precision of output for Z coordinates. Interpretation depends on `format`.
int | mPrecision
| Precision of output for M coordinates. Interpretation depends on `format`.
bool | round = getDefaultRound()
| Whether GDAL-special rounding should be applied.
OGRWktFormat | format = OGRWktFormat::Default
| Formatting type.

## Detailed Description

Options for formatting WKT output.

The documentation for this struct was generated from the following files:

- ogr_geometry.h
- ogrgeometry.cpp