Sandro Santilli
1620199917
Fix linking bugs with ST_NewEdgesSplit function ( #1496 )
...
Includes test coverage for this other function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8912 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-24 14:03:26 +00:00
Sandro Santilli
90bb0776df
Fix edge-linking in ST_ModEdgeSplit ( #1496 )
...
Includes regression test. ST_NewEdgesSplit still needs testing.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8911 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-24 11:15:56 +00:00
Sandro Santilli
3a61ab1f87
Run the testsuite again after upgrading ( #1326 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8855 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 17:52:57 +00:00
Sandro Santilli
419470fc86
Enhance staged install to include raster, topology and all scripts
...
Add an --upgrade switch to regress/run_test in preparation of
regress testing upgrade scripts (#1326 )
git-svn-id: http://svn.osgeo.org/postgis/trunk@8853 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-17 17:13:32 +00:00
Sandro Santilli
75e35d741f
Make AddTopoGeometryColumn less sequence-number-eager, regress-test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8821 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 17:50:46 +00:00
Sandro Santilli
5f605e40b6
Implement and regress-test TopoGeo_addPolygon
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8663 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 23:17:42 +00:00
Sandro Santilli
741da6eab7
Implement and regress-test TopoGeo_AddLineString
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8654 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 18:41:55 +00:00
Sandro Santilli
9f05015fa6
Add regression test for TopoGeo_AddPoint
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8651 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 10:39:38 +00:00
Sandro Santilli
cd6909bc09
Stub toTopoGeom function and testcase ( #1017 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8576 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-25 10:56:12 +00:00
Sandro Santilli
7761d221f0
run_test doesn't need USE_VERSION anymore
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8557 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-24 10:42:48 +00:00
Sandro Santilli
543e61df5d
Override GeometryType and ST_GeometryType for TopoGeometry ( #1289 )
...
Includes regression testing.
NOTE: we'll always advertise MULTI as a safest bet
git-svn-id: http://svn.osgeo.org/postgis/trunk@8237 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-24 16:01:29 +00:00
Sandro Santilli
f631305f2f
Implement topology.ST_CreateTopoGeo ( #1190 ) [RT-SIGTA]
...
Includes regress testing and documentation update
git-svn-id: http://svn.osgeo.org/postgis/trunk@7885 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-23 19:21:08 +00:00
Sandro Santilli
68ced72696
Implement ST_RemEdgeModFace ( #1189 ) [RT-SIGTA]
...
Include regress testing and documentation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7871 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-20 15:21:14 +00:00
Sandro Santilli
3cf12fc2d2
Implement ST_RemEdgeNewFace ( #1188 ) [RT-SIGTA]
...
Includes regress testing and documentation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7858 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-17 06:46:04 +00:00
Sandro Santilli
85e12d5f2c
Apply patch by Andrea Peri to fix topology layer trigger. Includes regress test. Closes ticket #950 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7514 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-28 19:36:39 +00:00
Sandro Santilli
3ead9a536d
Implement topology.ST_AddEdgeModFace. Includes regress test. [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7273 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-27 14:01:14 +00:00
Sandro Santilli
5230cc400d
Move tests for ST_ChangeEdgeGeom into a dedicated file. Prepared for ticket #979 . [RT-SIGTA].
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7225 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 08:13:46 +00:00
Sandro Santilli
966db07632
Do not let ST_AddIsoNode add non-isolated nodes. Allow specifying 0 as the isolated node face and check it is correct. If containing_face is given as null then compute it. Patch by Andrea Peri. [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7222 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 06:55:29 +00:00
Sandro Santilli
f94c1a3de4
Put tests for ST_AddIsoEdge in their own file. Fix use of ! rather than "not" for negating booleans in pl/pgsql.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7211 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-23 12:33:12 +00:00
Sandro Santilli
906fd8cd0a
topology.GetRingEdges() implementation and test. This is the first real user of next_left_edge/next_right_edge fields in the edge table. [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7185 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-18 08:58:34 +00:00
Sandro Santilli
6e3318a18c
topology.ST_AddEdgeNewFaces : tabs to spaces, named arguments, code cleanups and improved checks, tests for invalid calls [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7134 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-12 16:14:53 +00:00
Sandro Santilli
0e69383d94
Don't miss to clean load_topology-4326.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7133 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-12 10:23:24 +00:00
Sandro Santilli
de679b25e7
Implement, document, and regress-test SQL/MM ST_NewEdgeHeal [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7118 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-09 15:16:30 +00:00
Sandro Santilli
9ca3b1669e
Complete primitive (SQL/MM) portion of ST_ModEdgeHeal, regress test [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7086 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-04 18:19:51 +00:00
Sandro Santilli
ece190863a
Implement ST_GetFaceEdges (sql/mm topology function) [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7081 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-03 13:32:41 +00:00
Sandro Santilli
cd37bf1577
Regress test for topology.polygonize(<toponame>)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7048 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-19 16:58:52 +00:00
Sandro Santilli
e38fac3d06
Add support for a RUNTESTFLAGS variable so you can do something like: 'make check RUNTESTFLAGS=-v' and get the problems printed w/out having to look at logs.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7015 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-11 09:54:06 +00:00
Sandro Santilli
727cd3369c
Use a 2d geometry for face mbr, even for 2.5d topologies. After all mbr is a rectangle (not cube) by definition (Minimum Bounding Rectangle) so we don't want to mess with poliedron or whatnot [see #103 for more infos about the can of worms..]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6995 b70326c6-7e19-0410-871a-916f4a2858ee
2011-04-02 12:27:13 +00:00
Sandro Santilli
f69dd26749
Add support for creating topologies allowing 3d vertices on edges and nodes. Includes regress testing [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6991 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-31 09:35:11 +00:00
Sandro Santilli
bff7f6071f
Ticket #849 by Andrea Peri: topology.GetFaceByPoint implementation and test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6889 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-09 21:59:39 +00:00
Sandro Santilli
e5ca72613d
Ticket #856 : topology.CopyTopology(text,text) implementation, test and documentation
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6888 b70326c6-7e19-0410-871a-916f4a2858ee
2011-03-09 19:18:45 +00:00
Sandro Santilli
e13426764b
topology.GetEdgeByPoint: implementation and regress test, by Andrea Peri. Ticket #791 . Note that previous commit (for #793 ) was GetNodeByPoint. My mistake, sorry.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6865 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-25 08:56:01 +00:00
Sandro Santilli
54ec9a6b4f
topology.GetEdgeByPoint: implementation and regress test, by Andrea Peri. Ticket #793
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6864 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-25 08:45:03 +00:00
Sandro Santilli
e80cdbbb54
Fix a bug in topology.CreateTopoGeom in presence of MixCased topologies [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6776 b70326c6-7e19-0410-871a-916f4a2858ee
2011-02-04 17:19:16 +00:00
Sandro Santilli
63381ad200
Test GML output of puntual TopoGeometry objects. Lineal and Areal are still undergoing manual tests and debate about importance of components sequence ordering [RT-SIGTA].
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6708 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-24 09:31:21 +00:00
Sandro Santilli
14cbbbd617
Cleanup the topology regress dir Makefile. Have load_topology.sql generated to allow for specifying different SRIDs.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6695 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-22 18:08:34 +00:00
Sandro Santilli
2db89579b8
Make the TopoElement domain stricter to forbid arrays with more than 2 elements and also checking the element type being in valid range [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6672 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-19 16:46:16 +00:00
Sandro Santilli
3b1c9e47d7
Fix bug in topology.DropTopology getting confused in presence of multiple topologies [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6578 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-07 09:55:00 +00:00
Sandro Santilli
a56cbf8a70
Add TopoElementArray_agg function, to help with TopoGeometry construction [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6577 b70326c6-7e19-0410-871a-916f4a2858ee
2011-01-07 09:54:49 +00:00
Sandro Santilli
5ced73be27
Make ST_GetFaceGeometry use ST_BuildArea rather than assuming first polygon coming out of Polygonize will be the correct one. Fixes ticket #726 . Enables automated testing for it.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6484 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-23 12:49:01 +00:00
Sandro Santilli
42f41926b7
Implement topology.AddFace and add test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6471 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-22 17:27:02 +00:00
Sandro Santilli
43cc5b5a2b
Add regress testing for topology.AddEdge
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6435 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 17:56:56 +00:00
Sandro Santilli
694dec36a3
Add test for topology.addNode
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6426 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 15:27:12 +00:00
Sandro Santilli
578d0ac9a0
split load_topology in 3 steps: load of topology, creation of feature tables, query of feature tables. Adapt tests accordingly.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6423 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-17 07:52:06 +00:00
Sandro Santilli
2592f840d3
Make sure predicate sql file is generated before use
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6399 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 17:06:12 +00:00
Sandro Santilli
01263e654d
Add sqlmm automated test. Drop old rules [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6398 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 16:41:12 +00:00
Sandro Santilli
c7117c9a02
automatize topology validity checking [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6397 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 16:24:01 +00:00
Sandro Santilli
6cec1b8e0c
Start a proper 'make check' rule, using the testrunner in top dir's regress dir
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6396 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 16:04:05 +00:00
Sandro Santilli
d98e51793b
Do not source psqlrc when doing tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5717 b70326c6-7e19-0410-871a-916f4a2858ee
2010-06-30 16:14:03 +00:00
Sandro Santilli
d30ca83a70
Fix loading of postgis.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@5714 b70326c6-7e19-0410-871a-916f4a2858ee
2010-06-30 15:51:17 +00:00