#6145 closed defect (fixed)

Coordinates in WKT are output with too many significant figures

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.1.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords: wkt precision
Cc:

Description

See https://lists.osgeo.org/pipermail/gdal-dev/2015-October/042817.html

We use '%.15f' formatting currently which leads to far too many decimal figures w.r.t the precision of a double number, especially when using projecting coordinates

Using '%.15g' is then more appropriate

Change History (1)

comment:1 Changed 18 months ago by Even Rouault

Milestone: 2.1.0
Resolution: fixed
Status: newclosed

trunk r30976 "WKT export: use 15 significant figures, instead of 15 figures after decimal point (#6145)"

Note: See TracTickets for help on using tickets.