Changeset 3521


Ignore:
Timestamp:
Nov 29, 2011 6:01:25 AM (4 years ago)
Author:
strk
Message:

Use 18 significant digits for TopologyException? point coordinates

Location:
branches/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/NEWS

    r3519 r3521  
    77    - Fix noding of self-intersecting lines through UnaryUnion (#482)
    88    - Fix handling of collapsed edges skipping in BufferOp (#494)
     9    - Print up to 18 digits of precision for TopologyException points
    910
    1011Changes in 3.3.1
  • branches/3.3/src/geom/Coordinate.cpp

    r3367 r3521  
    1919#include <sstream>
    2020#include <string>
     21#include <iomanip>
    2122
    2223#ifndef GEOS_INLINE
     
    4142{
    4243        ostringstream s;
    43         s<<*this;
     44        s << std::setprecision(17) << *this;
    4445        return s.str();
    4546}
Note: See TracChangeset for help on using the changeset viewer.