]> granicus.if.org Git - postgis/log
postgis
13 years agoImplement lwline_from_lwgeom_array (untested)
Sandro Santilli [Thu, 26 Jan 2012 12:59:59 +0000 (12:59 +0000)]
Implement lwline_from_lwgeom_array (untested)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8930 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDon't let ptarray_append_ptarray change read-only pointarrays
Sandro Santilli [Thu, 26 Jan 2012 12:59:51 +0000 (12:59 +0000)]
Don't let ptarray_append_ptarray change read-only pointarrays

git-svn-id: http://svn.osgeo.org/postgis/trunk@8929 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest that mixed dimensionality is not allowed by ptarray_append_ptarray
Sandro Santilli [Thu, 26 Jan 2012 12:59:43 +0000 (12:59 +0000)]
Test that mixed dimensionality is not allowed by ptarray_append_ptarray

git-svn-id: http://svn.osgeo.org/postgis/trunk@8928 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd more test for FLAGS_GET_ and FLAGS_SET_
Sandro Santilli [Thu, 26 Jan 2012 12:34:32 +0000 (12:34 +0000)]
Add more test for FLAGS_GET_ and FLAGS_SET_

git-svn-id: http://svn.osgeo.org/postgis/trunk@8927 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement ptarray_append_ptarray, and change its signature
Sandro Santilli [Thu, 26 Jan 2012 09:16:37 +0000 (09:16 +0000)]
Implement ptarray_append_ptarray, and change its signature

This is propedeutic to ticket #1500

git-svn-id: http://svn.osgeo.org/postgis/trunk@8926 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTweak debug messages not to clutter output
Sandro Santilli [Thu, 26 Jan 2012 08:12:44 +0000 (08:12 +0000)]
Tweak debug messages not to clutter output

git-svn-id: http://svn.osgeo.org/postgis/trunk@8925 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoBump version string forward
Paul Ramsey [Wed, 25 Jan 2012 17:40:31 +0000 (17:40 +0000)]
Bump version string forward

git-svn-id: http://svn.osgeo.org/postgis/trunk@8924 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoPrep for alpha2
Paul Ramsey [Wed, 25 Jan 2012 17:38:54 +0000 (17:38 +0000)]
Prep for alpha2

git-svn-id: http://svn.osgeo.org/postgis/trunk@8921 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSVG empty geometries gives invalid memory alloc (#1038)
Paul Ramsey [Tue, 24 Jan 2012 22:23:53 +0000 (22:23 +0000)]
SVG empty geometries gives invalid memory alloc (#1038)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8920 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUpdate shplib to the latest release (1.3.0b3) and stitch in our special date and...
Paul Ramsey [Tue, 24 Jan 2012 21:57:06 +0000 (21:57 +0000)]
Update shplib to the latest release (1.3.0b3) and stitch in our special date and logical handling. (#393)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8919 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDouble guard against geos versions of 3.4.dev form. (#1488)
Paul Ramsey [Tue, 24 Jan 2012 19:42:45 +0000 (19:42 +0000)]
Double guard against geos versions of 3.4.dev form. (#1488)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8917 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoStop WARNING from AddFace about next_left_edge/next_right_edge
Sandro Santilli [Tue, 24 Jan 2012 18:04:29 +0000 (18:04 +0000)]
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

13 years agoOptimize ST_AddEdge*Face* detection of face split conditions (#1497)
Sandro Santilli [Tue, 24 Jan 2012 17:29:14 +0000 (17:29 +0000)]
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

13 years agoProtect DEBUG lines in compile-time conditional
Sandro Santilli [Tue, 24 Jan 2012 17:29:07 +0000 (17:29 +0000)]
Protect DEBUG lines in compile-time conditional

git-svn-id: http://svn.osgeo.org/postgis/trunk@8914 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest for #1150, null entry in spatial_ref_sys
Paul Ramsey [Tue, 24 Jan 2012 17:20:57 +0000 (17:20 +0000)]
Test for #1150, null entry in spatial_ref_sys

git-svn-id: http://svn.osgeo.org/postgis/trunk@8913 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix linking bugs with ST_NewEdgesSplit function (#1496)
Sandro Santilli [Tue, 24 Jan 2012 14:03:26 +0000 (14:03 +0000)]
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

13 years agoFix edge-linking in ST_ModEdgeSplit (#1496)
Sandro Santilli [Tue, 24 Jan 2012 11:15:56 +0000 (11:15 +0000)]
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

13 years agoPrevent people from inserting entries in spatial_ref_sys with no proj4text (#1150)
Paul Ramsey [Tue, 24 Jan 2012 00:09:53 +0000 (00:09 +0000)]
Prevent people from inserting entries in spatial_ref_sys with no proj4text (#1150)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8910 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake topology enabled the default
Paul Ramsey [Mon, 23 Jan 2012 23:27:24 +0000 (23:27 +0000)]
Make topology enabled the default

git-svn-id: http://svn.osgeo.org/postgis/trunk@8908 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAllow raster to actually turn on by default
Paul Ramsey [Mon, 23 Jan 2012 23:20:02 +0000 (23:20 +0000)]
Allow raster to actually turn on by default

git-svn-id: http://svn.osgeo.org/postgis/trunk@8907 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMove raster/topology status to the bottom of the report
Paul Ramsey [Mon, 23 Jan 2012 22:20:48 +0000 (22:20 +0000)]
Move raster/topology status to the bottom of the report

git-svn-id: http://svn.osgeo.org/postgis/trunk@8906 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoReport on raster status whether enabled or not
Paul Ramsey [Mon, 23 Jan 2012 22:18:38 +0000 (22:18 +0000)]
Report on raster status whether enabled or not

git-svn-id: http://svn.osgeo.org/postgis/trunk@8905 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoPush forward the trunk version to match release march
Paul Ramsey [Mon, 23 Jan 2012 21:42:32 +0000 (21:42 +0000)]
Push forward the trunk version to match release march

git-svn-id: http://svn.osgeo.org/postgis/trunk@8904 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix ambiguos references (with postgresql 9.x)
Sandro Santilli [Sun, 22 Jan 2012 20:10:02 +0000 (20:10 +0000)]
Fix ambiguos references (with postgresql 9.x)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8903 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAddTopoGeometryColumn: check child layer before incrementing sequence
Sandro Santilli [Sun, 22 Jan 2012 19:25:24 +0000 (19:25 +0000)]
AddTopoGeometryColumn: check child layer before incrementing sequence

git-svn-id: http://svn.osgeo.org/postgis/trunk@8902 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agotypo
Sandro Santilli [Sun, 22 Jan 2012 19:13:28 +0000 (19:13 +0000)]
typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@8901 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTopoGeo_addLineString: fix node crossing, reduce edges creations
Sandro Santilli [Sun, 22 Jan 2012 15:43:57 +0000 (15:43 +0000)]
TopoGeo_addLineString: fix node crossing, reduce edges creations

git-svn-id: http://svn.osgeo.org/postgis/trunk@8900 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoComment typo
Sandro Santilli [Sun, 22 Jan 2012 12:10:02 +0000 (12:10 +0000)]
Comment typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@8899 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoupdate build extensions to include the make comments if building from source repo...
Regina Obe [Sat, 21 Jan 2012 01:31:52 +0000 (01:31 +0000)]
update build extensions to include the make comments if building from source repo and also that it requires a separate compile step (until #1490)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8898 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix typo
Paul Ramsey [Fri, 20 Jan 2012 23:41:32 +0000 (23:41 +0000)]
Fix typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@8897 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake raster on by default and --without-raster the configuration parameter to disable it.
Paul Ramsey [Fri, 20 Jan 2012 23:05:49 +0000 (23:05 +0000)]
Make raster on by default and --without-raster the configuration parameter to disable it.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8896 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agofix typo
Regina Obe [Fri, 20 Jan 2012 18:14:40 +0000 (18:14 +0000)]
fix typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@8895 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd a plpython example for outputting raster images
Regina Obe [Fri, 20 Jan 2012 18:14:19 +0000 (18:14 +0000)]
Add a plpython example for outputting raster images

git-svn-id: http://svn.osgeo.org/postgis/trunk@8894 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave TopoGeometry::Geometry always return a MULTI* (#1462)
Sandro Santilli [Fri, 20 Jan 2012 14:47:36 +0000 (14:47 +0000)]
Have TopoGeometry::Geometry always return a MULTI* (#1462)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8893 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDon't let ST_Multi create collections of a single EMPTY (#1489)
Sandro Santilli [Fri, 20 Jan 2012 14:47:24 +0000 (14:47 +0000)]
Don't let ST_Multi create collections of a single EMPTY (#1489)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8892 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1487: add out_db argument to AddRasterConstraints and DropRasterConstraints document...
Regina Obe [Fri, 20 Jan 2012 10:06:04 +0000 (10:06 +0000)]
#1487: add out_db argument to AddRasterConstraints and DropRasterConstraints documentation so extensions can install again

git-svn-id: http://svn.osgeo.org/postgis/trunk@8891 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest new types in regress/wkt (#1476)
Sandro Santilli [Fri, 20 Jan 2012 10:02:24 +0000 (10:02 +0000)]
Test new types in regress/wkt (#1476)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8890 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoExclude raster_columns from geometry_columns (#1122)
Sandro Santilli [Fri, 20 Jan 2012 09:11:42 +0000 (09:11 +0000)]
Exclude raster_columns from geometry_columns (#1122)

Add regress test, with a newborn "tickets" testcase for raster

git-svn-id: http://svn.osgeo.org/postgis/trunk@8889 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix a missing return introduced with fix to #547
Sandro Santilli [Fri, 20 Jan 2012 08:46:04 +0000 (08:46 +0000)]
Fix a missing return introduced with fix to #547

git-svn-id: http://svn.osgeo.org/postgis/trunk@8888 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChange ST_Equals to use the ~= operator (#1453)
Sandro Santilli [Fri, 20 Jan 2012 08:12:15 +0000 (08:12 +0000)]
Change ST_Equals to use the ~= operator (#1453)

Doing so it will consistently return TRUE for EMPTY-EMPTY, while
previously _ST_Equals returned TRUE but ST_Equals returned FALSE.

The commit also changes signature of the C function
from 'geomequals' to 'ST_Equals' and marks an SQL 'Equals'
signature as a candidate for dropping before 2.0.0 final

git-svn-id: http://svn.osgeo.org/postgis/trunk@8886 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRevert "remove ~= from documentation -- we don't want people using this operator"
Sandro Santilli [Fri, 20 Jan 2012 08:12:06 +0000 (08:12 +0000)]
Revert "remove ~= from documentation -- we don't want people using this operator"

This reverts r8799

git-svn-id: http://svn.osgeo.org/postgis/trunk@8885 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoreadme was outdated.
Regina Obe [Fri, 20 Jan 2012 07:10:44 +0000 (07:10 +0000)]
readme was outdated.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8884 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUpdate for alpha1?
Paul Ramsey [Fri, 20 Jan 2012 05:08:52 +0000 (05:08 +0000)]
Update for alpha1?

git-svn-id: http://svn.osgeo.org/postgis/trunk@8881 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTransforming from SRID 4267 to 4326 returns incorrect result (#1301)
Paul Ramsey [Fri, 20 Jan 2012 00:11:41 +0000 (00:11 +0000)]
Transforming from SRID 4267 to 4326 returns incorrect result (#1301)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8880 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoStop configure if we don't find perl. (#1484)
Paul Ramsey [Thu, 19 Jan 2012 23:58:24 +0000 (23:58 +0000)]
Stop configure if we don't find perl. (#1484)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8879 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIn 9.1, it is datamoduledir driving module install dir, not MODULEDIR
Sandro Santilli [Thu, 19 Jan 2012 17:39:01 +0000 (17:39 +0000)]
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

13 years agoHave both RTREE and PREPARED_GEOM caches cohexist (#547)
Sandro Santilli [Thu, 19 Jan 2012 17:15:45 +0000 (17:15 +0000)]
Have both RTREE and PREPARED_GEOM caches cohexist (#547)

Fixes a memory leak and improves performances when both p-i-p
and other kind of overlays are requested during the same statement.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8877 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUpdate expected raster intersection results after fix to #852
Sandro Santilli [Thu, 19 Jan 2012 17:03:07 +0000 (17:03 +0000)]
Update expected raster intersection results after fix to #852

I've carefully checked the cases and where indeed expecting wrong
results (the point is very close to the raster's convex hull boundary
but slightly outside, ST_Distance reports 1.58882185807825e-14 units)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8876 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd test for cached version of point_in_ring (#852)
Sandro Santilli [Thu, 19 Jan 2012 09:48:57 +0000 (09:48 +0000)]
Add test for cached version of point_in_ring (#852)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8874 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop use of tolerance in PIP (#852)
Sandro Santilli [Thu, 19 Jan 2012 08:59:41 +0000 (08:59 +0000)]
Drop use of tolerance in PIP (#852)

Affects point_in_ring and point_in_ring_rtree.
Includes regress test but not hitting the cache.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8873 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDo not run the upgrade test if the normal test failed
Sandro Santilli [Thu, 19 Jan 2012 08:16:39 +0000 (08:16 +0000)]
Do not run the upgrade test if the normal test failed

git-svn-id: http://svn.osgeo.org/postgis/trunk@8872 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoOops, forgot to cleanup after debugging (triggered testsuite failure)
Sandro Santilli [Thu, 19 Jan 2012 08:16:34 +0000 (08:16 +0000)]
Oops, forgot to cleanup after debugging (triggered testsuite failure)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8871 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRework st_estimated_extent to deal with analyzed empty tables (#818)
Sandro Santilli [Wed, 18 Jan 2012 15:47:45 +0000 (15:47 +0000)]
Rework st_estimated_extent to deal with analyzed empty tables (#818)

Still doesn't distinguish between empty and not analyzed recently
(might be improved in that reguard)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8870 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop &Z_support in ST_Summary, see #649 comment:2
Sandro Santilli [Wed, 18 Jan 2012 14:19:38 +0000 (14:19 +0000)]
Drop &Z_support in ST_Summary, see #649 comment:2

git-svn-id: http://svn.osgeo.org/postgis/trunk@8869 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd ST_Summary(geography), "G" flag (#1277), document (#649)
Sandro Santilli [Wed, 18 Jan 2012 14:17:11 +0000 (14:17 +0000)]
Add ST_Summary(geography), "G" flag (#1277), document (#649)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8868 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoComplete binary IO testing in presence of typmod (#850)
Sandro Santilli [Wed, 18 Jan 2012 13:46:50 +0000 (13:46 +0000)]
Complete binary IO testing in presence of typmod (#850)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8867 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDo proper cleanups
Sandro Santilli [Wed, 18 Jan 2012 13:46:27 +0000 (13:46 +0000)]
Do proper cleanups

git-svn-id: http://svn.osgeo.org/postgis/trunk@8866 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCheck typmod on binary geometry input (#850)
Sandro Santilli [Wed, 18 Jan 2012 13:46:21 +0000 (13:46 +0000)]
Check typmod on binary geometry input (#850)

Testcase will follow

git-svn-id: http://svn.osgeo.org/postgis/trunk@8865 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave geography typmod threat unkonwn srid an omitted srid (#1482)
Sandro Santilli [Wed, 18 Jan 2012 10:17:24 +0000 (10:17 +0000)]
Have geography typmod threat unkonwn srid an omitted srid (#1482)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8864 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd --expect switch to save obtained output as expected
Sandro Santilli [Wed, 18 Jan 2012 10:17:17 +0000 (10:17 +0000)]
Add --expect switch to save obtained output as expected

Will help generating testcases

git-svn-id: http://svn.osgeo.org/postgis/trunk@8863 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop the support for multiple expected files (not needed anymore)
Sandro Santilli [Wed, 18 Jan 2012 10:17:12 +0000 (10:17 +0000)]
Drop the support for multiple expected files (not needed anymore)

The support was also broken, btw...

git-svn-id: http://svn.osgeo.org/postgis/trunk@8862 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest roundtrip with a binary cursor for both geometry and geography
Sandro Santilli [Wed, 18 Jan 2012 08:19:42 +0000 (08:19 +0000)]
Test roundtrip with a binary cursor for both geometry and geography

With this commit the binary.sql testcase doesn't test the actual
binary output anymore but rather uses canonical binary output to
copy objects to a temporary file, then uses canonical binary input
to read the objects again into a new table and then compares the
original and the final tables.

In order for this to work run_test was modified to pass a :tmpfile
variable to testcases. Next stop: typmod for canonical binary input.

See ticket #850 for more info

git-svn-id: http://svn.osgeo.org/postgis/trunk@8861 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement canonical input-output for geography (#850)
Sandro Santilli [Tue, 17 Jan 2012 20:01:36 +0000 (20:01 +0000)]
Implement canonical input-output for geography (#850)

Note: canonical output is tested, input isn't.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8860 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest canonical binary output for geometry (#850)
Sandro Santilli [Tue, 17 Jan 2012 19:15:48 +0000 (19:15 +0000)]
Test canonical binary output for geometry (#850)

NOTE: big-endian machines are expected to fail this new test
      please send your actual output for a fix

git-svn-id: http://svn.osgeo.org/postgis/trunk@8859 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSupport alternate expected files
Sandro Santilli [Tue, 17 Jan 2012 19:15:41 +0000 (19:15 +0000)]
Support alternate expected files

Useful to test WKB output on different byte-endian machines.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8858 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSupport for binary output (#850)
Sandro Santilli [Tue, 17 Jan 2012 19:15:20 +0000 (19:15 +0000)]
Support for binary output  (#850)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8857 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoOverride geometrytype for geography (#1450).
Sandro Santilli [Tue, 17 Jan 2012 18:04:58 +0000 (18:04 +0000)]
Override geometrytype for geography (#1450).

The testusite runs without problems so I didn't also add a
geometrytype(text) function [I want the implicit cast!]

git-svn-id: http://svn.osgeo.org/postgis/trunk@8856 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRun the testsuite again after upgrading (#1326)
Sandro Santilli [Tue, 17 Jan 2012 17:52:57 +0000 (17:52 +0000)]
Run the testsuite again after upgrading (#1326)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8855 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoReword loading of upgrade scripts
Sandro Santilli [Tue, 17 Jan 2012 17:52:46 +0000 (17:52 +0000)]
Reword loading of upgrade scripts

git-svn-id: http://svn.osgeo.org/postgis/trunk@8854 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoEnhance staged install to include raster, topology and all scripts
Sandro Santilli [Tue, 17 Jan 2012 17:13:32 +0000 (17:13 +0000)]
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

13 years agoDo not drop legacy getSRID in postgis_drop (#1401)
Sandro Santilli [Tue, 17 Jan 2012 08:57:00 +0000 (08:57 +0000)]
Do not drop legacy getSRID in postgis_drop (#1401)

This commit reverts r8837

git-svn-id: http://svn.osgeo.org/postgis/trunk@8852 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRename lwpoint_interpolate to point_interpolate
Paul Ramsey [Mon, 16 Jan 2012 22:26:45 +0000 (22:26 +0000)]
Rename lwpoint_interpolate to point_interpolate

git-svn-id: http://svn.osgeo.org/postgis/trunk@8851 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSnap output of test for #723 to a grid
Sandro Santilli [Mon, 16 Jan 2012 21:13:08 +0000 (21:13 +0000)]
Snap output of test for #723 to a grid

The test was failing due to coordinate drifts on 32bit

git-svn-id: http://svn.osgeo.org/postgis/trunk@8850 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix 2.5d split (#745)
Sandro Santilli [Mon, 16 Jan 2012 17:37:12 +0000 (17:37 +0000)]
Fix 2.5d split (#745)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8847 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoKeep UTM zone numbers in range, regress-test _ST_BestSRID (#1234)
Sandro Santilli [Mon, 16 Jan 2012 17:00:50 +0000 (17:00 +0000)]
Keep UTM zone numbers in range, regress-test _ST_BestSRID (#1234)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8846 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd an ST_AsEWKT(text) to prefer geometry over geography
Sandro Santilli [Mon, 16 Jan 2012 15:39:24 +0000 (15:39 +0000)]
Add an ST_AsEWKT(text) to prefer geometry over geography

git-svn-id: http://svn.osgeo.org/postgis/trunk@8845 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd ST_EWKT for geography type (#675)
Sandro Santilli [Mon, 16 Jan 2012 14:46:03 +0000 (14:46 +0000)]
Add ST_EWKT for geography type (#675)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8844 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoThe official unknown SRID is 0, not -1
Sandro Santilli [Mon, 16 Jan 2012 14:33:28 +0000 (14:33 +0000)]
The official unknown SRID is 0, not -1

git-svn-id: http://svn.osgeo.org/postgis/trunk@8843 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave 'make doc' build the single-page HTML
Sandro Santilli [Mon, 16 Jan 2012 14:21:54 +0000 (14:21 +0000)]
Have 'make doc' build the single-page HTML

git-svn-id: http://svn.osgeo.org/postgis/trunk@8842 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAllow building with gettext 0.14. Patch by Greg Troxel <gdt@ir.bbn.com>
Sandro Santilli [Mon, 16 Jan 2012 14:04:21 +0000 (14:04 +0000)]
Allow building with gettext 0.14. Patch by Greg Troxel <gdt@ir.bbn.com>

git-svn-id: http://svn.osgeo.org/postgis/trunk@8841 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDetect PERL locally
Sandro Santilli [Mon, 16 Jan 2012 13:56:11 +0000 (13:56 +0000)]
Detect PERL locally

git-svn-id: http://svn.osgeo.org/postgis/trunk@8840 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore generated extension files
Sandro Santilli [Mon, 16 Jan 2012 13:10:35 +0000 (13:10 +0000)]
Ignore generated extension files

git-svn-id: http://svn.osgeo.org/postgis/trunk@8839 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMove lwgeom_summary to liblwgeom (#1446)
Sandro Santilli [Mon, 16 Jan 2012 12:33:16 +0000 (12:33 +0000)]
Move lwgeom_summary to liblwgeom (#1446)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8838 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDrop getsrid (#1401)
Sandro Santilli [Mon, 16 Jan 2012 12:25:23 +0000 (12:25 +0000)]
Drop getsrid (#1401)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8837 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd test for insertion into typmod-ed table (#1414)
Sandro Santilli [Mon, 16 Jan 2012 12:10:05 +0000 (12:10 +0000)]
Add test for insertion into typmod-ed table (#1414)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8836 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix WKB output for POINT EMPTY with SRID or higher dims (#1478)
Sandro Santilli [Mon, 16 Jan 2012 11:22:27 +0000 (11:22 +0000)]
Fix WKB output for POINT EMPTY with SRID or higher dims (#1478)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8835 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd WKB round-trip test for TIN
Sandro Santilli [Mon, 16 Jan 2012 10:34:30 +0000 (10:34 +0000)]
Add WKB round-trip test for TIN

git-svn-id: http://svn.osgeo.org/postgis/trunk@8834 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix reading TRIANGLE EMPTY in WKB form (#1474)
Sandro Santilli [Mon, 16 Jan 2012 10:31:18 +0000 (10:31 +0000)]
Fix reading TRIANGLE EMPTY in WKB form (#1474)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8833 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd POLYHEDRALSURFACE roundtrip WKB test
Sandro Santilli [Mon, 16 Jan 2012 10:31:09 +0000 (10:31 +0000)]
Add POLYHEDRALSURFACE roundtrip WKB test

git-svn-id: http://svn.osgeo.org/postgis/trunk@8832 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement lwgeom_same for MULTICURVE and MULTISURFACE (#1475)
Sandro Santilli [Mon, 16 Jan 2012 10:24:54 +0000 (10:24 +0000)]
Implement lwgeom_same for MULTICURVE and MULTISURFACE (#1475)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8831 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement lwgeom_same for CURVEPOLYGON types (#1475)
Sandro Santilli [Mon, 16 Jan 2012 10:21:09 +0000 (10:21 +0000)]
Implement lwgeom_same for CURVEPOLYGON types (#1475)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8830 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement lwgeom_same for COMPOUNDCURVE (#1475)
Sandro Santilli [Mon, 16 Jan 2012 10:18:07 +0000 (10:18 +0000)]
Implement lwgeom_same for COMPOUNDCURVE (#1475)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8829 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement lwgeom_same for circularstring (#1475)
Sandro Santilli [Mon, 16 Jan 2012 10:11:44 +0000 (10:11 +0000)]
Implement lwgeom_same for circularstring (#1475)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8828 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoA CURVEPOLY is also a collection. Fixes #1473.
Sandro Santilli [Mon, 16 Jan 2012 09:11:45 +0000 (09:11 +0000)]
A CURVEPOLY is also a collection. Fixes #1473.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8827 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoPrevent lwcollection_construct from creating non-collection types
Sandro Santilli [Mon, 16 Jan 2012 09:11:38 +0000 (09:11 +0000)]
Prevent lwcollection_construct from creating non-collection types

git-svn-id: http://svn.osgeo.org/postgis/trunk@8826 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUse a CTE for queries involving largs WKB input.
Sandro Santilli [Mon, 16 Jan 2012 08:25:08 +0000 (08:25 +0000)]
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

13 years agoComment out expensive DEBUG lines
Sandro Santilli [Mon, 16 Jan 2012 08:25:00 +0000 (08:25 +0000)]
Comment out expensive DEBUG lines

git-svn-id: http://svn.osgeo.org/postgis/trunk@8824 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDowngrade notice of face splitting to debug level
Sandro Santilli [Mon, 16 Jan 2012 08:24:53 +0000 (08:24 +0000)]
Downgrade notice of face splitting to debug level

git-svn-id: http://svn.osgeo.org/postgis/trunk@8823 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoWrap DEBUG output in ifdef POSTGIS_TOPOLOGY_DEBUG (#1469)
Sandro Santilli [Sun, 15 Jan 2012 20:52:08 +0000 (20:52 +0000)]
Wrap DEBUG output in ifdef POSTGIS_TOPOLOGY_DEBUG (#1469)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8822 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake AddTopoGeometryColumn less sequence-number-eager, regress-test
Sandro Santilli [Sun, 15 Jan 2012 17:50:46 +0000 (17:50 +0000)]
Make AddTopoGeometryColumn less sequence-number-eager, regress-test

git-svn-id: http://svn.osgeo.org/postgis/trunk@8821 b70326c6-7e19-0410-871a-916f4a2858ee