Show
Ignore:
Timestamp:
12/14/05 03:13:13 (6 years ago)
Author:
strk
Message:

Snapped buffer() output to a grid of 1.0E-14 grid to account for slightly
different floating number behaviours on Solaris.
Normalized Infinity to inf to account for different libc outputs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/regress/regress_ogc.sql

    r2153 r2179  
    1 SELECT 'buffer', astext(buffer('POINT(0 0)', 1, 2)); 
     1-- Ouput is snapped to grid to account for small floating numbers 
     2-- differences between architectures 
     3SELECT 'buffer', astext(SnapToGrid(buffer('POINT(0 0)', 1, 2), 1.0e-14)); 
     4 
    25SELECT 'geomunion', astext(geomunion('POINT(0 0)', 'POINT(1 1)')); 
    36SELECT 'unite_garray', astext(unite_garray(geom_accum('{POINT(0 0)}', 'POINT(2 3)')));