[postgis-users] Error checking trunk version
Nicklas Avén
nicklas.aven at jordogskog.no
Sat Sep 4 20:43:01 PDT 2010
The difference is 1 extra digit in the expected result compared to
Andreas result. I get the same result as Andrea on PostGISonline which
is 32 bit Ubuntu. The result in "expected" I had from a 64 bit ubuntu
box.
The isolated number that differs shows in
SELECT ST_Y(ST_Endpoint(ST_3DShortestline(a,b)))
FROM (SELECT 'POINT(1 1 1)'::geometry as a, 'LINESTRING(5 2 6, -3 -2
4)'::geometry as b) as foo;
-0.19047619047619 (32bit ubuntu)
-0.190476190476191 (64bit ubuntu)
Is this an expected difference between 64 and 32 bit that the sign eats
one digit from 32 bit but not from 64 bit?
/Nicklas
On Sun, 2010-09-05 at 00:21 +0200, Andrea Peri wrote:
> >Indeed there's a minor slighty changes for wmsservers and tickets ones,
> >but never met for measures before.
> >
> >Could you please post the result of your /tmp/pgis_reg_30438/
> >test_24_diff
>
> >
> >Tks
> >
> >--
> >Olivier
>
> Of Course.
> Here the results.
>
> ----
> *** measures_expected Sat Sep 4 22:30:52 2010
> --- /tmp/pgis_reg_10244/test_24_out Sun Sep 5 00:19:15 2010
> ***************
> *** 40,46 ****
> distancepoly6|0|32.5269119345812|LINESTRING(2 2,2 2)|LINESTRING(2
> 2,2 2)|LINESTRING(2 2,25 25)|LINESTRING(25 25,2 2)
> 3dDistancetest1|6.40312423743285|6.40312423743285|f|f|LINESTRING(1 1
> 1,3 2 7)|POINT(1 1 1)|LINESTRING(1 1 1,3 2 7)
> 3dDistancetest2|0|1.73205080756888|t|t|LINESTRING(1 1 1,1 1 1)|
> POINT(1 1 1)|LINESTRING(1 1 1,0 0 0)
> ! 3dDistancetest3|4.09994192757944|6.48074069840786|t|f|LINESTRING(1 1
> 1,0.619047619047619 -0.190476190476191 4.90476190476191)|POINT(1 1 1)|
> LINESTRING(1 1 1,5 2 6)
> 3dDistancetest4|2|10.0498756211209|t|f|LINESTRING(1 1 3,1 1 1)|
> POINT(1 1 3)|LINESTRING(5 7 8,1 1 1)
> ERROR: Linestring to Linestring distance measures is not yet
> supported for 3d
> emptyPolyArea|0
> --- 40,46 ----
> distancepoly6|0|32.5269119345812|LINESTRING(2 2,2 2)|LINESTRING(2
> 2,2 2)|LINESTRING(2 2,25 25)|LINESTRING(25 25,2 2)
> 3dDistancetest1|6.40312423743285|6.40312423743285|f|f|LINESTRING(1 1
> 1,3 2 7)|POINT(1 1 1)|LINESTRING(1 1 1,3 2 7)
> 3dDistancetest2|0|1.73205080756888|t|t|LINESTRING(1 1 1,1 1 1)|
> POINT(1 1 1)|LINESTRING(1 1 1,0 0 0)
> ! 3dDistancetest3|4.09994192757944|6.48074069840786|t|f|LINESTRING(1 1
> 1,0.619047619047619 -0.19047619047619 4.90476190476191)|POINT(1 1 1)|
> LINESTRING(1 1 1,5 2 6)
> 3dDistancetest4|2|10.0498756211209|t|f|LINESTRING(1 1 3,1 1 1)|
> POINT(1 1 3)|LINESTRING(5 7 8,1 1 1)
> ERROR: Linestring to Linestring distance measures is not yet
> supported for 3d
> emptyPolyArea|0
>
> --------
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list