Commit graph

382 commits

Author SHA1 Message Date
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 7eee0aae59 Add new populate.sql file to host topology population routines. Properly encode dependencies.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6391 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 13:39:52 +00:00
Sandro Santilli 82943113aa Split sqlmm specific things into its own file
git-svn-id: http://svn.osgeo.org/postgis/trunk@6389 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 11:01:00 +00:00
Sandro Santilli de082e616d Work outside of transaction, to help upgrade/test cycles. Fix leftover from previous commit. [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6388 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 10:48:24 +00:00
Sandro Santilli 3daf93d2f5 Fix typo in TopoGeo_addLinestring description, add DEBUG lines [RT-SIGTA]
git-svn-id: http://svn.osgeo.org/postgis/trunk@6387 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 10:44:37 +00:00
Sandro Santilli 8218075d32 Fix detection of non-existent schema in ST_CreateTopoGeo
git-svn-id: http://svn.osgeo.org/postgis/trunk@6386 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 10:08:31 +00:00
Sandro Santilli ccede85f76 Add comments on the 'edge' topology primitives view
git-svn-id: http://svn.osgeo.org/postgis/trunk@6345 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 10:49:18 +00:00
Sandro Santilli fa64621762 typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@6344 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 09:51:30 +00:00
Sandro Santilli d383600a23 Do not force drop of pre-existing topology schema. Sounds dangerous when start using it for real.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6339 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-11 00:27:25 +00:00
Sandro Santilli 37d7438c8a Drop references to topology geometry tables in DropTopology (see #586)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5966 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-13 19:18:13 +00:00
Sandro Santilli aaa0ad8971 Add note about topology.sql expecting a postgis-enabled db
git-svn-id: http://svn.osgeo.org/postgis/trunk@5965 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-13 17:01:24 +00:00
Sandro Santilli f3634e60f4 PostgreSQL 9 support : don't use reserved 'table' keyword (see #585)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5964 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-13 16:59:21 +00:00
Sandro Santilli 3a102a5ec8 Make edge-edge relations clearer. Thanks to Peter Hopfgartner and to
Xfig developers for the wonderful experience of patching a diagram ! :)


git-svn-id: http://svn.osgeo.org/postgis/trunk@5893 b70326c6-7e19-0410-871a-916f4a2858ee
2010-09-03 12:31:41 +00:00
Sandro Santilli ac913341c7 Add 7.3+ CAST (wasn't needed up to 7.2, against which this topology implementation was coded)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5732 b70326c6-7e19-0410-871a-916f4a2858ee
2010-07-07 21:52:15 +00:00
Sandro Santilli 25c10402ef Remove spurious element (was hiding behind a fill)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5722 b70326c6-7e19-0410-871a-916f4a2858ee
2010-07-06 08:28:08 +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 e2d33bcc46 More explicit cast from geometry to text (for quote_ident's sake) and an handling of unexistent topology. Tests run again with psql 8.3.9
git-svn-id: http://svn.osgeo.org/postgis/trunk@5716 b70326c6-7e19-0410-871a-916f4a2858ee
2010-06-30 16:10:54 +00:00
Sandro Santilli bacacf52bc Define the cross-pgsql macros that used to be in sqldefines.h (now lost) + use st_union rather than geomunion (now lost)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5715 b70326c6-7e19-0410-871a-916f4a2858ee
2010-06-30 15:52:02 +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
Paul Ramsey ddfe100a7c Change references from ./lwgeom to ./postgis
git-svn-id: http://svn.osgeo.org/postgis/trunk@3687 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-11 18:28:53 +00:00
Paul Ramsey cdfcc4e366 Propset Author Id Keyword Revision on all files.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3639 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-04 00:28:37 +00:00
Mark Cave-Ayland b6e444e638 Change configure to check for the existence of the PGXS Makefile, even if pg_config can be found. This is become distributions such as Debian install pg_config as part of libpq-dev but this package doesn't contain the required Makefile. Per bug report from strk.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3261 b70326c6-7e19-0410-871a-916f4a2858ee
2008-11-06 15:15:06 +00:00
Mark Cave-Ayland 4eec27c992 Allow Makefile substitutions for PGCONFIG which are required if pg_config is not located in the path. Note that as part of this fix, we now need to generate topology/Makefile using autoconf. Thanks to Jorgen Austvik for the report and partial patch.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2885 b70326c6-7e19-0410-871a-916f4a2858ee
2008-07-28 10:03:31 +00:00
Mark Cave-Ayland 70609da272 Update topology/ directory to use the new PGXS build system.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2779 b70326c6-7e19-0410-871a-916f4a2858ee
2008-05-22 14:31:02 +00:00
Sandro Santilli 17de7461ef removed duplicated function definition
git-svn-id: http://svn.osgeo.org/postgis/trunk@2469 b70326c6-7e19-0410-871a-916f4a2858ee
2006-09-06 11:16:59 +00:00
Sandro Santilli 13d7f31340 Added 'with oids' specification to create table (oids are used for the test).
'With oids' was available in postgresql 7.3.4 so we should not be highering
the requirements for topology. Suggestion from Alex Bodnaru.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2363 b70326c6-7e19-0410-871a-916f4a2858ee
2006-05-22 12:10:58 +00:00
Sandro Santilli 36f7d35145 Applied cleanups by Alex Bodnaru
git-svn-id: http://svn.osgeo.org/postgis/trunk@2362 b70326c6-7e19-0410-871a-916f4a2858ee
2006-05-22 11:17:34 +00:00
Sandro Santilli 946649dc11 Initial work on ST_AddEdgeNewFaces
git-svn-id: http://svn.osgeo.org/postgis/trunk@2018 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-01 11:56:20 +00:00
Sandro Santilli e51b2fe6b6 Added ST_ModEdgesSplit function, cleaned up test files, added tests for
the new topology editing functions.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1971 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-19 10:04:15 +00:00
Sandro Santilli 307df8801e Fixed ST_NewEdgesSplit function to return new Node id rather then text
git-svn-id: http://svn.osgeo.org/postgis/trunk@1970 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-18 16:39:15 +00:00
Sandro Santilli a7fcbf3910 Added SQL/MM functions ST_RemoveIsoEdge and ST_NewEdgesSplit.
The ST_NewEdgesSplit also updates the Relation table (out of SQL/MM specs).


git-svn-id: http://svn.osgeo.org/postgis/trunk@1969 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-18 15:31:26 +00:00
Sandro Santilli 2b5868ca90 Initial work on topology model support
git-svn-id: http://svn.osgeo.org/postgis/trunk@1964 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-13 16:21:49 +00:00