Commit graph

4935 commits

Author SHA1 Message Date
Regina Obe de4695c246 okay just exclude POLYGON EMPTY and ST_AsKML -- too many victims for POLYGON EMPTY including ST_LineMerge now. change namespace to www.postgis.org
git-svn-id: http://svn.osgeo.org/postgis/trunk@6395 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 15:25:12 +00:00
Sandro Santilli 125cfa0573 Allow run_test calls from foreign directories
git-svn-id: http://svn.osgeo.org/postgis/trunk@6394 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 14:14:29 +00:00
Sandro Santilli 3790492ecb Do not read ~/.psqlrc when creating database
git-svn-id: http://svn.osgeo.org/postgis/trunk@6393 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 14:09:45 +00:00
Sandro Santilli 5fe7180b2d Add a --topology switch to equip regression db with topology support when requested
git-svn-id: http://svn.osgeo.org/postgis/trunk@6392 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 14:04:45 +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
Regina Obe f90dac791e exclude more functions from tests that are sorta broken
git-svn-id: http://svn.osgeo.org/postgis/trunk@6390 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 13:23:48 +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
Paul Ramsey 5504b04085 Flip more memcpy calls away.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6385 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 00:57:35 +00:00
Paul Ramsey bc64e7a8ab Remove some calls to memcpy in favor of API functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6384 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 00:24:34 +00:00
Paul Ramsey 1a2af11f6d Strip out more instances of SERIALIZED_FORM
git-svn-id: http://svn.osgeo.org/postgis/trunk@6383 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-15 00:12:12 +00:00
Paul Ramsey ff64d5a9c8 Return non-zero when tests fail
git-svn-id: http://svn.osgeo.org/postgis/trunk@6382 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 20:30:24 +00:00
Paul Ramsey 5a57623290 Fix regressions in the new KML emitter
git-svn-id: http://svn.osgeo.org/postgis/trunk@6381 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 20:21:27 +00:00
Regina Obe a94d6f7173 exclude from testing functions known to crash with POLYGON EMPTY
git-svn-id: http://svn.osgeo.org/postgis/trunk@6380 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 16:00:28 +00:00
Paul Ramsey fe1aa25a17 Memory leak in geography_from_text (#624)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6376 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 05:53:17 +00:00
Paul Ramsey 26398241e2 Minor usage changes. (#604)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6374 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 05:01:51 +00:00
Paul Ramsey 49d565e198 Update (c) header
git-svn-id: http://svn.osgeo.org/postgis/trunk@6371 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 00:56:21 +00:00
Paul Ramsey e6edd45270 Convert KML output to use stringbuffer for a 50% code shrinkage...
git-svn-id: http://svn.osgeo.org/postgis/trunk@6370 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 00:54:04 +00:00
Paul Ramsey fb25fb3237 Remove multicurve warning
git-svn-id: http://svn.osgeo.org/postgis/trunk@6369 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 00:49:08 +00:00
Regina Obe 342b6b213a fix some typos and add back curvepolygon example that was crashing before with old ewkt parser
git-svn-id: http://svn.osgeo.org/postgis/trunk@6368 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-14 00:37:18 +00:00
Paul Ramsey 79320ce2bb Second thoughts on stringbuffer changes
git-svn-id: http://svn.osgeo.org/postgis/trunk@6367 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 23:50:52 +00:00
Paul Ramsey 447c10e294 Potential minor speed-up functions for stringbuffering
git-svn-id: http://svn.osgeo.org/postgis/trunk@6366 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 23:40:03 +00:00
Paul Ramsey a086b9a908 Add extra multicurve test for WKT
git-svn-id: http://svn.osgeo.org/postgis/trunk@6365 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 23:34:06 +00:00
Paul Ramsey babffaccab Update parser to handling compound curves within multicurves (#525)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6364 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 21:42:11 +00:00
Paul Ramsey 5b3fb97af4 ST_CollectionExtract returns non-requested type (#457)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6363 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 21:31:29 +00:00
Paul Ramsey 639ab205d8 Return value of snprintf not correctly checked (#556)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6360 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 20:40:48 +00:00
Paul Ramsey 394b847ab5 Improve stringbuffer_t performance (#439). This is largely done already in past passes. Added one small memory fix.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6359 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 20:25:48 +00:00
Paul Ramsey 2a22e258a6 Change default shp2pgsql column to "geom" (#352)
git-svn-id: http://svn.osgeo.org/postgis/trunk@6358 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 20:09:26 +00:00
Regina Obe 804131f347 git-svn-id: http://svn.osgeo.org/postgis/trunk@6357 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:50:36 +00:00
Regina Obe c3c376be68 git-svn-id: http://svn.osgeo.org/postgis/trunk@6356 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:44:59 +00:00
Regina Obe 6165472397 git-svn-id: http://svn.osgeo.org/postgis/trunk@6355 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:44:35 +00:00
Paul Ramsey 120278afd1 Fix ST_Segmentize on curved geometries -- CRASH (#706). This is actually a reflection of inconsistency in the lwgeom_clone() function (creates copy of everything except point array) and the ptarray_clone() function (creates copy of everything). The definitions of _clone, _copy, _release, and _free need to be made consistent and documented.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6354 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 19:43:43 +00:00
Regina Obe 83157df7b0 git-svn-id: http://svn.osgeo.org/postgis/trunk@6353 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:42:29 +00:00
Regina Obe 342bcbca1b git-svn-id: http://svn.osgeo.org/postgis/trunk@6352 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:34:35 +00:00
Regina Obe 25c67df263 git-svn-id: http://svn.osgeo.org/postgis/trunk@6351 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:32:58 +00:00
Regina Obe 548b33d8e9 git-svn-id: http://svn.osgeo.org/postgis/trunk@6350 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:25:49 +00:00
Paul Ramsey c5c1ffbe5f Fix up failure in distance calculation (#705) and replace some SRID -1 with SRID_UNKNOWN
git-svn-id: http://svn.osgeo.org/postgis/trunk@6349 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 19:25:15 +00:00
Regina Obe 02e5c33205 git-svn-id: http://svn.osgeo.org/postgis/trunk@6348 b70326c6-7e19-0410-871a-916f4a2858ee 2010-12-13 19:19:18 +00:00
Regina Obe d4b22adae3 Okay changed this to LF since people seemed to like changing this one a lot. We'll see if this fixes my frustrations without causing any frustration for anyone else.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6347 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 16:38:26 +00:00
Regina Obe 6ed503922a remove collection of geometries into crasher group to prevent testing until we revisit #700
git-svn-id: http://svn.osgeo.org/postgis/trunk@6346 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-13 13:14:51 +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
Nicklas Avén 7ab86c96e3 3d distance functions for line-line cases
git-svn-id: http://svn.osgeo.org/postgis/trunk@6343 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-12 22:42:19 +00:00
Nicklas Avén 1ae1fb8107 Some cleaning up in measure functions in lwgeom_functions_basic.c
git-svn-id: http://svn.osgeo.org/postgis/trunk@6342 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-12 18:59:31 +00:00
Paul Ramsey 9b0af95c1b Remove more SERIALIZED_FORM
git-svn-id: http://svn.osgeo.org/postgis/trunk@6341 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-12 00:12:58 +00:00
Paul Ramsey 1ae5b8f68b ptarray_free now frees the serialized_ptlist, unless FLAGS_GET_READONLY is set.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6340 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-11 00:28:57 +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
Paul Ramsey cda972ad06 Switch to cstring2text for text returns.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6338 b70326c6-7e19-0410-871a-916f4a2858ee
2010-12-10 23:22:59 +00:00