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
Sandro Santilli
b10fcc9513
drop created table after run
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8562 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-24 11:21:56 +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
0e25f7b4e6
Generate uninstall_topology.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8556 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-24 10:42:40 +00:00
Sandro Santilli
f4a53f17dc
Drop topology specific versioning
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8406 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 13:31:07 +00:00
Sandro Santilli
8c780265a5
topology.AddToSearchPath: quote database identifier.
...
Thanks to Jose Carlos Martinez Llario <jomarlla@cgf.upv.es>
git-svn-id: http://svn.osgeo.org/postgis/trunk@8315 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-08 08:07:58 +00:00
Regina Obe
efbea175da
#1346 : fix misuse of quote_literal causing topology, topology, topology, topology
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8299 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 17:44:26 +00:00
Sandro Santilli
57248139f7
Encode dependency of topology.sql on ManageHelper.sql
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8298 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-02 17:28:16 +00:00
Sandro Santilli
a71b7fa8bd
Move the 'CREATE SCHEMA' query out of first column anchorage ( #1325 )
...
Makes the upgrade script generator less confused...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8239 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-24 21:13:22 +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
01ad3d3b53
Shake legacy testcase a bit to avoid to mix population with queries
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8236 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-24 16:01:14 +00:00
Sandro Santilli
4cbae93e9e
Add testcase for ticket #1302 (now passes)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8202 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 09:33:51 +00:00
Sandro Santilli
f622223663
Update expected error messages not to include the "topology" namespace (now that it's part of the search_path).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8201 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 08:33:43 +00:00
Regina Obe
243df1584e
Logic to add topology to database search path on install or upgrade
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8197 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-21 07:48:23 +00:00