GDAL
OGRWktOptions Class Reference

Options for formatting WKT output. More...

#include <ogr_geometry.h>

Public Member Functions

 OGRWktOptions ()
 Constructor.
 OGRWktOptions (int xyPrecisionIn, bool roundIn)
 Constructor.
 OGRWktOptions (const OGRWktOptions &)=default
 Copy constructor.

Static Public Member Functions

static int getDefaultPrecision ()
 Return default precision.
static bool getDefaultRound ()
 Return default rounding mode.

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
 Whether GDAL-special rounding should be applied.
OGRWktFormat format = OGRWktFormat::Default
 Formatting type.

Detailed Description

Options for formatting WKT output.


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