mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 09:02:37 +00:00
Test invalid calls to topogeo_addpoint
git-svn-id: http://svn.osgeo.org/postgis/trunk@8657 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
1d655f2a29
commit
e6dbd1ea0e
|
@ -3,6 +3,10 @@ set client_min_messages to ERROR;
|
|||
|
||||
\i load_topology.sql
|
||||
|
||||
-- Invalid calls
|
||||
SELECT 'invalid', TopoGeo_addPoint('city_data', 'LINESTRING(36 26, 38 30)');
|
||||
SELECT 'invalid', TopoGeo_addPoint('city_data', 'MULTIPOINT((36 26))');
|
||||
|
||||
-- Save max node id
|
||||
select 'node'::text as what, max(node_id) INTO city_data.limits FROM city_data.node;
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@ t
|
|||
22
|
||||
26
|
||||
COMMIT
|
||||
ERROR: Invalid geometry type (LINESTRING) passed to TopoGeo_AddPoint, expected POINT
|
||||
ERROR: Invalid geometry type (MULTIPOINT) passed to TopoGeo_AddPoint, expected POINT
|
||||
iso_uni|23
|
||||
iso_f3|24
|
||||
iso_ex|23
|
||||
|
|
Loading…
Reference in a new issue