mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 17:12:35 +00:00
A CURVEPOLY is also a collection. Fixes #1473.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8827 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
930da10769
commit
6b4c747328
|
@ -833,6 +833,7 @@ lwtype_is_collection(uint8_t type)
|
|||
case MULTILINETYPE:
|
||||
case MULTIPOLYGONTYPE:
|
||||
case COLLECTIONTYPE:
|
||||
case CURVEPOLYTYPE:
|
||||
case COMPOUNDTYPE:
|
||||
case MULTICURVETYPE:
|
||||
case MULTISURFACETYPE:
|
||||
|
|
|
@ -511,6 +511,9 @@ SELECT '#1453.2', ST_OrderingEquals('POINT EMPTY', 'POINT Z EMPTY');
|
|||
with inp as ( select 'MULTILINESTRING((0 0, 2 0))'::geometry as g )
|
||||
SELECT '#1454', st_orderingequals(g,g) from inp;
|
||||
|
||||
-- #1414
|
||||
SELECT '#1414', st_astext(st_force_3dz('CURVEPOLYGON EMPTY'));
|
||||
|
||||
-- Clean up
|
||||
DELETE FROM spatial_ref_sys;
|
||||
|
||||
|
|
|
@ -172,3 +172,4 @@ ERROR: MultiSurface cannot contain MultiPoint element
|
|||
#1453.1|t
|
||||
#1453.2|f
|
||||
#1454|t
|
||||
#1414|CURVEPOLYGON Z EMPTY
|
||||
|
|
Loading…
Reference in a new issue