Commit graph

319 commits

Author SHA1 Message Date
Sandro Santilli 44d5075a90 Tweak debug messages not to clutter output
git-svn-id: http://svn.osgeo.org/postgis/trunk@8925 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-26 08:12:44 +00:00
Sandro Santilli dcfd39ba41 Stop WARNING from AddFace about next_left_edge/next_right_edge
git-svn-id: http://svn.osgeo.org/postgis/trunk@8916 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-24 18:04:29 +00:00
Sandro Santilli a7487322ff Optimize ST_AddEdge*Face* detection of face split conditions (#1497)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8915 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-24 17:29:14 +00:00
Sandro Santilli 6b19d9e9c1 Protect DEBUG lines in compile-time conditional
git-svn-id: http://svn.osgeo.org/postgis/trunk@8914 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-24 17:29:07 +00:00
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 83b215071d Fix ambiguos references (with postgresql 9.x)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8903 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-22 20:10:02 +00:00
Sandro Santilli c2d7b9aa37 AddTopoGeometryColumn: check child layer before incrementing sequence
git-svn-id: http://svn.osgeo.org/postgis/trunk@8902 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-22 19:25:24 +00:00
Sandro Santilli fd4aeeebb1 TopoGeo_addLineString: fix node crossing, reduce edges creations
git-svn-id: http://svn.osgeo.org/postgis/trunk@8900 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-22 15:43:57 +00:00
Sandro Santilli d318176d71 Comment typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@8899 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-22 12:10:02 +00:00
Sandro Santilli 4349de763e Have TopoGeometry::Geometry always return a MULTI* (#1462)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8893 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-20 14:47:36 +00:00
Sandro Santilli d3c21af45c In 9.1, it is datamoduledir driving module install dir, not MODULEDIR
git-svn-id: http://svn.osgeo.org/postgis/trunk@8878 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-19 17:39:01 +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 f5bd1c82a6 Detect PERL locally
git-svn-id: http://svn.osgeo.org/postgis/trunk@8840 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 13:56:11 +00:00
Sandro Santilli 237ca95517 Use a CTE for queries involving largs WKB input.
Reduces parsing and execution time.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8825 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 08:25:08 +00:00
Sandro Santilli 74a1d2bf64 Comment out expensive DEBUG lines
git-svn-id: http://svn.osgeo.org/postgis/trunk@8824 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 08:25:00 +00:00
Sandro Santilli 8b3c81adcd Downgrade notice of face splitting to debug level
git-svn-id: http://svn.osgeo.org/postgis/trunk@8823 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 08:24:53 +00:00
Sandro Santilli d6845686e0 Wrap DEBUG output in ifdef POSTGIS_TOPOLOGY_DEBUG (#1469)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8822 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-15 20:52:08 +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 f6fbc6612a Add regress test for topology.AddFace robustness (see #1383)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8791 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-12 17:41:17 +00:00
Regina Obe a945d722fc #1430: create topology_drop_before and topology_drop_after to allow changing names of input args and allow changing functions to use default args
git-svn-id: http://svn.osgeo.org/postgis/trunk@8676 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-05 07:59:16 +00:00
Sandro Santilli 47b2bdce12 Work around a PostgreSQL 8.4+ bug with CREATE INTO (#1431)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8673 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-04 21:38:03 +00:00
Sandro Santilli 35b545b3ab Complete implementation and regress test for toTopoGeom (#1017)
You can start playing with this. Lacks documentation.
Expect troubles. Feel free to report them.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8671 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-04 18:33:06 +00:00
Sandro Santilli ed61e222b8 Implement TopoGeometry->Geometry converter for COLLECTION types
git-svn-id: http://svn.osgeo.org/postgis/trunk@8670 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-04 18:17:49 +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 2aa3211b03 Change parameter names to use the "athing" convention. See #1427
git-svn-id: http://svn.osgeo.org/postgis/trunk@8660 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 20:55:19 +00:00
Sandro Santilli fd82b1ce75 Fix typo in exception message, change signature of TopoGeo_addPolygon
git-svn-id: http://svn.osgeo.org/postgis/trunk@8659 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 20:48:51 +00:00
Sandro Santilli e6dbd1ea0e Test invalid calls to topogeo_addpoint
git-svn-id: http://svn.osgeo.org/postgis/trunk@8657 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 20:24:29 +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 e7a29fe26a Move TopoGeom_addXXX functions to populate.sql and refine signatures
Implement TopoGeom_addPoint (misses regression testing yet)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8650 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 10:10:15 +00:00
Sandro Santilli 07dc8f9946 Don't consider the old self edge when checking integrity
Fixes a bug introduced by previous commit.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8649 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 09:49:54 +00:00
Sandro Santilli 5b2a29f1f2 Don't consider shared nodes as edge intersections. Fixes #1428.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8648 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-03 09:44:10 +00:00
Sandro Santilli 1f0cf9a48d topology.AddNode: add 2 additional optional arguments to allow splitting edges and computing containing_face
git-svn-id: http://svn.osgeo.org/postgis/trunk@8627 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-31 09:47:26 +00:00
Sandro Santilli 531e202f58 Add parameter names
git-svn-id: http://svn.osgeo.org/postgis/trunk@8626 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-31 09:47:14 +00:00
Sandro Santilli 8e4bb07c48 Use DEBUG level for printing SQL being executed...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8625 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-31 09:47:06 +00:00
Sandro Santilli 59eb1b009d Retain type of TopoGeometry objects defined by NO element (#1017)
Includes regression tests for conversion of typed empty objects
from simple to topological model.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8614 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-29 18:13:07 +00:00
Sandro Santilli 8a3c2bf0ee Consider TopoElements of type 0 as empty, allow CreateTopoGeom calls w/out a TopoElementArray to construct empties (#1017)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8613 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-29 18:01:08 +00:00
Sandro Santilli 9cc14498a0 Test more TopoGeometry creation
git-svn-id: http://svn.osgeo.org/postgis/trunk@8612 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-29 11:18:08 +00:00
Sandro Santilli 79ce7227cf CreateTopoGeom: tweak error message on out-of-range TopoGeometry type
git-svn-id: http://svn.osgeo.org/postgis/trunk@8611 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-29 10:52:17 +00:00
Sandro Santilli 53b45f04c2 Complete parameter names
git-svn-id: http://svn.osgeo.org/postgis/trunk@8610 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-29 10:44:08 +00:00
Sandro Santilli b4c62aaf0e Typos and argument names
git-svn-id: http://svn.osgeo.org/postgis/trunk@8609 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-29 07:40:05 +00:00
Sandro Santilli 581c4ed392 Tabs to spaces, a few TODO items...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8607 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-29 07:04:39 +00:00
Sandro Santilli 122ed50bc4 Put overridden (for topology) spatial predicates in their own file
git-svn-id: http://svn.osgeo.org/postgis/trunk@8606 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-29 07:04:29 +00:00
Sandro Santilli 4a8fdcb47c topology.toTopoGeom: add type compatibility checks (#1017)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8605 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-29 06:48:18 +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 990cf6a4bb Add missing dependencies of topology.sql (includes)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8575 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-25 10:56:02 +00:00
Sandro Santilli 95f1d8c181 Drop created tables after run
git-svn-id: http://svn.osgeo.org/postgis/trunk@8564 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-24 11:22:08 +00:00
Sandro Santilli 99edfffbb8 Cleanup created tables after run
git-svn-id: http://svn.osgeo.org/postgis/trunk@8563 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-24 11:22:02 +00:00