mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-23 16:42:35 +00:00
Add 2 regression tests for mixed dimmentionalty input to 3d distance calculations (giving z-value under FLT_MIN which is not used any more) #3244
git-svn-id: http://svn.osgeo.org/postgis/trunk@13965 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
ebb5d79b51
commit
261986ef53
|
@ -258,7 +258,8 @@ select st_3ddistance('linestring(0 0,1 1,2 0)'::geometry, 'linestring(0 2 3, 3 2
|
|||
--distance with 3d as first point and 2d as second
|
||||
select st_3ddistance('linestring(0 0 1,1 1 2,2 0 3)'::geometry, 'linestring(0 2, 3 2)'::geometry);
|
||||
|
||||
|
||||
select ST_AsText(ST_3DClosestPoint('POINT(0 0 0)', 'POINT(0 0)'));
|
||||
select ST_AsText(ST_3DShortestLine('LINESTRING(2 1, 3 0)', 'LINESTRING(0 0 2, 3 3 -4)'));
|
||||
|
||||
|
||||
-- Area of an empty polygon
|
||||
|
|
|
@ -47,6 +47,10 @@ NOTICE: One or both of the geometries is missing z-value. The unknown z-value w
|
|||
1
|
||||
NOTICE: One or both of the geometries is missing z-value. The unknown z-value will be regarded as "any value"
|
||||
1
|
||||
NOTICE: One or both of the geometries is missing z-value. The unknown z-value will be regarded as "any value"
|
||||
POINT Z (0 0 0)
|
||||
NOTICE: One or both of the geometries is missing z-value. The unknown z-value will be regarded as "any value"
|
||||
LINESTRING Z (2 1 -1,1.5 1.5 -1)
|
||||
emptyPolyArea|0
|
||||
emptyLineArea|0
|
||||
emptyPointArea|0
|
||||
|
|
Loading…
Reference in a new issue