Opened 8 years ago

Closed 8 years ago

#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



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 by Even Rouault, 8 years ago

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.