]> granicus.if.org Git - postgis/log
postgis
13 years agoMove initialisation of pgsql2shp state endian flag to the same location all the other...
Mark Cave-Ayland [Fri, 3 Feb 2012 21:03:54 +0000 (21:03 +0000)]
Move initialisation of pgsql2shp state endian flag to the same location all the other initialisers.

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

13 years agoFix missing #ifdef POSTGIS_GEOS_VERSION ... #endif preventing liblwgeom from compilin...
Mark Cave-Ayland [Fri, 3 Feb 2012 21:03:46 +0000 (21:03 +0000)]
Fix missing #ifdef POSTGIS_GEOS_VERSION ... #endif preventing liblwgeom from compiling on GEOS < 3.3.0.

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

13 years agoFixed optimization bug in 1-raster ST_MapAlgebraExpr. Ticket is #1515.
Bborie Park [Fri, 3 Feb 2012 18:09:27 +0000 (18:09 +0000)]
Fixed optimization bug in 1-raster ST_MapAlgebraExpr.  Ticket is #1515.

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

13 years ago#1530: fix typo in full upgrade -- was using the postgis only script instead of the...
Regina Obe [Fri, 3 Feb 2012 12:51:25 +0000 (12:51 +0000)]
#1530: fix typo in full upgrade -- was using the postgis only script instead of the combined postgis + raster script.  Still need to test, will close out once tested.

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

13 years agoReverted r9014. Hudson ain't happy with sed.
Bborie Park [Fri, 3 Feb 2012 03:58:48 +0000 (03:58 +0000)]
Reverted r9014.  Hudson ain't happy with sed.

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

13 years agoMerge of patch provided in #1533. Thanks gdt.
Bborie Park [Fri, 3 Feb 2012 03:51:26 +0000 (03:51 +0000)]
Merge of patch provided in #1533.  Thanks gdt.

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

13 years agoMessage cleanup by removing unnecessary newlines.
Bborie Park [Thu, 2 Feb 2012 19:25:37 +0000 (19:25 +0000)]
Message cleanup by removing unnecessary newlines.

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

13 years agoRefactored stderr messaging so that C API messages are properly emitted. Based on...
Bborie Park [Thu, 2 Feb 2012 18:47:00 +0000 (18:47 +0000)]
Refactored stderr messaging so that C API messages are properly emitted.  Based on suggestion in comment 4 of #1531.

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

13 years agoAdditional error checking and formatting of error messages
Bborie Park [Thu, 2 Feb 2012 17:38:14 +0000 (17:38 +0000)]
Additional error checking and formatting of error messages

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

13 years agoAdd lwcollection_homogenize and ST_Homogenize (#375)
Paul Ramsey [Wed, 1 Feb 2012 23:55:48 +0000 (23:55 +0000)]
Add lwcollection_homogenize and ST_Homogenize (#375)

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

13 years agoAdd lwcollection_homogenize and ST_Homogenize (#375)
Paul Ramsey [Wed, 1 Feb 2012 23:18:19 +0000 (23:18 +0000)]
Add lwcollection_homogenize and ST_Homogenize (#375)

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

13 years agoSupport curves in lwgeom_homogenize (#1526)
Paul Ramsey [Wed, 1 Feb 2012 23:00:09 +0000 (23:00 +0000)]
Support curves in lwgeom_homogenize (#1526)

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

13 years agoAdded check of values being passed to atan2() in _st_hillshade4ma()
Bborie Park [Wed, 1 Feb 2012 22:06:18 +0000 (22:06 +0000)]
Added check of values being passed to atan2() in _st_hillshade4ma()

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

13 years agoEnhance ST_Rotate by adding offset origin parameters (#1251) from mwtoews
Paul Ramsey [Wed, 1 Feb 2012 21:27:01 +0000 (21:27 +0000)]
Enhance ST_Rotate by adding offset origin parameters (#1251) from mwtoews

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

13 years agoST_Azimuth, ST_Project regression tests (#1398)
Paul Ramsey [Wed, 1 Feb 2012 21:17:10 +0000 (21:17 +0000)]
ST_Azimuth, ST_Project regression tests (#1398)

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

13 years agoAlso remove .gitignore files from tarbal distro
Paul Ramsey [Wed, 1 Feb 2012 17:39:13 +0000 (17:39 +0000)]
Also remove .gitignore files from tarbal distro

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

13 years agoPush forward versions for weekly snap
Paul Ramsey [Wed, 1 Feb 2012 17:35:59 +0000 (17:35 +0000)]
Push forward versions for weekly snap

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

13 years ago#1494: build parent structures to support census tract reporting by geocoder.
Regina Obe [Wed, 1 Feb 2012 17:28:42 +0000 (17:28 +0000)]
#1494: build parent structures to support census tract reporting by geocoder.

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

13 years agoAdditional cleanup of a few functions using ST_PixelAsPolygon(raster, int, int, int...
Bborie Park [Wed, 1 Feb 2012 15:28:40 +0000 (15:28 +0000)]
Additional cleanup of a few functions using ST_PixelAsPolygon(raster, int, int, int).  Also, made map algebra expression case-sensitive in 2-raster ST_MapAlgebraExpr.  Now, the keywords must be RAST1 and RAST2.

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

13 years agoRefactored regression test for ST_PixelAsPolygon
Bborie Park [Wed, 1 Feb 2012 14:58:32 +0000 (14:58 +0000)]
Refactored regression test for ST_PixelAsPolygon

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

13 years agoDeleted deprecated ST_PixelAsPolygon(raster, int, int, int) variant.
Bborie Park [Wed, 1 Feb 2012 14:32:36 +0000 (14:32 +0000)]
Deleted deprecated ST_PixelAsPolygon(raster, int, int, int) variant.

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

13 years agoMake test more readable
Sandro Santilli [Wed, 1 Feb 2012 11:51:42 +0000 (11:51 +0000)]
Make test more readable

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

13 years agoKeep initial value when an expression eveluates to null (#1523)
Sandro Santilli [Wed, 1 Feb 2012 11:39:36 +0000 (11:39 +0000)]
Keep initial value when an expression eveluates to null (#1523)

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

13 years agoImplement RAST.X and RAST.Y keyword substitution in ST_MapAlgebraExpr
Sandro Santilli [Wed, 1 Feb 2012 10:15:53 +0000 (10:15 +0000)]
Implement RAST.X and RAST.Y keyword substitution in ST_MapAlgebraExpr

Includes regression test and documentation update. See #1519.

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

13 years agoImplement ST_PixelAsPolygon in C, provide a core API entry for it
Sandro Santilli [Wed, 1 Feb 2012 09:20:44 +0000 (09:20 +0000)]
Implement ST_PixelAsPolygon in C, provide a core API entry for it

The API entry point is expected to be useful for #1519

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

13 years agoTry again to fix #1292
Paul Ramsey [Wed, 1 Feb 2012 05:30:28 +0000 (05:30 +0000)]
Try again to fix #1292

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

13 years agoVACUUM cannot be executed from a function or multi-command string (#1517)
Paul Ramsey [Wed, 1 Feb 2012 02:14:49 +0000 (02:14 +0000)]
VACUUM cannot be executed from a function or multi-command string (#1517)

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

13 years agoFix include to be pathless
Paul Ramsey [Wed, 1 Feb 2012 00:41:18 +0000 (00:41 +0000)]
Fix include to be pathless

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

13 years agoUpdate spatial_ref_sys to latest GDAL generated version (#1493)
Paul Ramsey [Tue, 31 Jan 2012 23:36:32 +0000 (23:36 +0000)]
Update spatial_ref_sys to latest GDAL generated version (#1493)

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

13 years agoST_Line_Interpolate_Point doesn't interpolate M-values (#639)
Paul Ramsey [Tue, 31 Jan 2012 22:33:09 +0000 (22:33 +0000)]
ST_Line_Interpolate_Point doesn't interpolate M-values (#639)

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

13 years agoRemove some compile warnings.
Paul Ramsey [Tue, 31 Jan 2012 20:46:18 +0000 (20:46 +0000)]
Remove some compile warnings.

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

13 years agoGah, someone else can do this...
Paul Ramsey [Tue, 31 Jan 2012 18:56:57 +0000 (18:56 +0000)]
Gah, someone else can do this...

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

13 years agoReally, I do know how to write XML.
Paul Ramsey [Tue, 31 Jan 2012 18:24:03 +0000 (18:24 +0000)]
Really, I do know how to write XML.

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

13 years agoST_SnapToGrid returns a value out of range (#1292)
Paul Ramsey [Tue, 31 Jan 2012 18:19:36 +0000 (18:19 +0000)]
ST_SnapToGrid returns a value out of range (#1292)

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

13 years agoRename ST_BuildArea backend function
Paul Ramsey [Tue, 31 Jan 2012 18:12:58 +0000 (18:12 +0000)]
Rename ST_BuildArea backend function

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

13 years agoFix missing tag
Paul Ramsey [Tue, 31 Jan 2012 18:10:46 +0000 (18:10 +0000)]
Fix missing tag

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

13 years agoDrop Equals(geom,geom) - deprecated in 1.2.3 (#1486)
Paul Ramsey [Tue, 31 Jan 2012 18:09:35 +0000 (18:09 +0000)]
Drop Equals(geom,geom) - deprecated in 1.2.3 (#1486)

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

13 years agoFAQ about licensing (#1262)
Paul Ramsey [Tue, 31 Jan 2012 18:03:20 +0000 (18:03 +0000)]
FAQ about licensing (#1262)

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

13 years agoExplicitly set spatial index name as PostgreSQL 8.4 requires an index name. Associat...
Bborie Park [Tue, 31 Jan 2012 17:44:01 +0000 (17:44 +0000)]
Explicitly set spatial index name as PostgreSQL 8.4 requires an index name.  Associated ticket is #1513.  Also fixed string trim functions to prevent modification of passed string.

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

13 years agoFixed evaluation of two floating point numbers in RASTER_getRotation. Fixes one...
Bborie Park [Tue, 31 Jan 2012 14:50:39 +0000 (14:50 +0000)]
Fixed evaluation of two floating point numbers in RASTER_getRotation.  Fixes one of the two regression failures described in #1501.

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

13 years agoAdded check of band # passed to ST_DumpAsPolygons. Fixes #1514.
Bborie Park [Tue, 31 Jan 2012 14:46:42 +0000 (14:46 +0000)]
Added check of band # passed to ST_DumpAsPolygons.  Fixes #1514.

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

13 years agoPgsql2shp: Dumping: XWKB structure does not match expected size! (#1479)
Paul Ramsey [Tue, 31 Jan 2012 05:50:08 +0000 (05:50 +0000)]
Pgsql2shp: Dumping: XWKB structure does not match expected size! (#1479)

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

13 years agoST_Segmentize returns invalid LINESTRING for zero-length input (#1304)
Paul Ramsey [Mon, 30 Jan 2012 21:52:47 +0000 (21:52 +0000)]
ST_Segmentize returns invalid LINESTRING for zero-length input (#1304)

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

13 years agoST_LocateBetweenElevations should return NULL and not fail if intersection is void...
Paul Ramsey [Mon, 30 Jan 2012 20:41:59 +0000 (20:41 +0000)]
ST_LocateBetweenElevations should return NULL and not fail if intersection is void (#1250)

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

13 years agoST_Within not using prepared geometries (#962)
Paul Ramsey [Mon, 30 Jan 2012 20:17:48 +0000 (20:17 +0000)]
ST_Within not using prepared geometries (#962)

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

13 years ago(#393) shp2pgsql returns "fseek(-xxx) failed on DBF file." for large (>2GB) DBF files
Paul Ramsey [Mon, 30 Jan 2012 02:47:34 +0000 (02:47 +0000)]
(#393) shp2pgsql returns "fseek(-xxx) failed on DBF file." for large (>2GB) DBF files

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

13 years agoGML for empty geometries should be NULL (#1377)
Paul Ramsey [Mon, 30 Jan 2012 00:37:45 +0000 (00:37 +0000)]
GML for empty geometries should be NULL (#1377)

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

13 years agoIncrease robustness in distance-calculations when point is on segment.
Nicklas Avén [Sun, 29 Jan 2012 23:30:18 +0000 (23:30 +0000)]
Increase robustness in distance-calculations when point is on segment.

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

13 years agotypo
Sandro Santilli [Sun, 29 Jan 2012 21:19:41 +0000 (21:19 +0000)]
typo

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

13 years agoBe more liberal in accepting "empty" tags in constructing geometries from GML (#1059)
Paul Ramsey [Sun, 29 Jan 2012 19:57:34 +0000 (19:57 +0000)]
Be more liberal in accepting "empty" tags in constructing geometries from GML (#1059)

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

13 years agoGive me psc status
Sandro Santilli [Sun, 29 Jan 2012 14:44:33 +0000 (14:44 +0000)]
Give me psc status

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

13 years agoFix _ST_AddFaceSplit code against PostgreSQL 9.1
Sandro Santilli [Sat, 28 Jan 2012 23:11:08 +0000 (23:11 +0000)]
Fix _ST_AddFaceSplit code against PostgreSQL 9.1

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

13 years agoDon't put constant geometries in CTE, which confuses estimator
Sandro Santilli [Sat, 28 Jan 2012 22:08:49 +0000 (22:08 +0000)]
Don't put constant geometries in CTE, which confuses estimator

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

13 years agoSimplify code in _ST_AddFaceSplit, reduce edges table scans.
Sandro Santilli [Sat, 28 Jan 2012 17:05:34 +0000 (17:05 +0000)]
Simplify code in _ST_AddFaceSplit, reduce edges table scans.

Also set debugging off by default

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

13 years agoSwitch ST_AddEdgeNewFaces from ST_Polygonize to _ST_AddSplitFace
Sandro Santilli [Sat, 28 Jan 2012 16:20:14 +0000 (16:20 +0000)]
Switch ST_AddEdgeNewFaces from ST_Polygonize to _ST_AddSplitFace

See ticket #1508

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

13 years agoStop using ST_Polygonize from ST_AddEdgeModFace.
Sandro Santilli [Sat, 28 Jan 2012 13:45:45 +0000 (13:45 +0000)]
Stop using ST_Polygonize from ST_AddEdgeModFace.

This commit also estrapolates an internal _ST_AddSplitFace function
for reuse by ST_AddEdgeModFaces

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

13 years agoRename topogeometry column check to be more readable
Sandro Santilli [Sat, 28 Jan 2012 13:18:24 +0000 (13:18 +0000)]
Rename topogeometry column check to be more readable

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

13 years agoNew test for closing multi-edge ring in a face (ST_AddEdge*Face*)
Sandro Santilli [Sat, 28 Jan 2012 10:42:50 +0000 (10:42 +0000)]
New test for closing multi-edge ring in a face (ST_AddEdge*Face*)

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

13 years agoAllow multiple topogeometry columns in one table (again)
Sandro Santilli [Sat, 28 Jan 2012 07:44:40 +0000 (07:44 +0000)]
Allow multiple topogeometry columns in one table (again)

Dunno why this piece was missing from previous commit, sorry

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

13 years agoAllow multiple TopoGeometry column in the same table
Sandro Santilli [Sat, 28 Jan 2012 07:37:01 +0000 (07:37 +0000)]
Allow multiple TopoGeometry column in the same table

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

13 years agoadd protos for ST_Quantile raster table coverage. Still some more to add as well...
Regina Obe [Sat, 28 Jan 2012 00:23:26 +0000 (00:23 +0000)]
add protos for ST_Quantile raster table coverage.  Still some more to add as well as examples of usage

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

13 years agoFix one remaining crasher for ST_AsGML('SRID=4326;POLYGON EMPTY');
Paul Ramsey [Fri, 27 Jan 2012 23:31:18 +0000 (23:31 +0000)]
Fix one remaining crasher for ST_AsGML('SRID=4326;POLYGON EMPTY');

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

13 years ago#1504 (Segfault running ST_EstimatedExtent())
Paul Ramsey [Fri, 27 Jan 2012 22:24:44 +0000 (22:24 +0000)]
#1504 (Segfault running ST_EstimatedExtent())

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

13 years agoFixed segfault caused by an empty quantile linked list being used to get the quantile...
Bborie Park [Fri, 27 Jan 2012 21:05:32 +0000 (21:05 +0000)]
Fixed segfault caused by an empty quantile linked list being used to get the quantile's value.  Ticket is #1506.

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

13 years agoTighten up on-arc test a bit more.
Paul Ramsey [Fri, 27 Jan 2012 20:55:22 +0000 (20:55 +0000)]
Tighten up on-arc test a bit more.

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

13 years agoAdd "face has no rings" validity checking
Sandro Santilli [Fri, 27 Jan 2012 20:14:52 +0000 (20:14 +0000)]
Add "face has no rings" validity checking

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

13 years agoRevert accidental inclusion of shape file size patch in curve patch
Paul Ramsey [Fri, 27 Jan 2012 18:57:42 +0000 (18:57 +0000)]
Revert accidental inclusion of shape file size patch in curve patch

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

13 years ago#920 (ST_LineToCurve generating invalid CURVEPOLYGON)
Paul Ramsey [Fri, 27 Jan 2012 18:54:37 +0000 (18:54 +0000)]
#920 (ST_LineToCurve generating invalid CURVEPOLYGON)

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

13 years agoMore test for face splitting and inside holes
Sandro Santilli [Fri, 27 Jan 2012 14:22:32 +0000 (14:22 +0000)]
More test for face splitting and inside holes

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

13 years agoMore test for update of isolated nodes in split-faces.
Sandro Santilli [Fri, 27 Jan 2012 11:36:58 +0000 (11:36 +0000)]
More test for update of isolated nodes in split-faces.

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

13 years agoRewrite test for ST_AddIsoNode (see #1503)
Sandro Santilli [Fri, 27 Jan 2012 11:05:44 +0000 (11:05 +0000)]
Rewrite test for ST_AddIsoNode (see #1503)

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

13 years agoSimplify the code looking for face containment in ST_AddIsoNode
Sandro Santilli [Fri, 27 Jan 2012 11:05:35 +0000 (11:05 +0000)]
Simplify the code looking for face containment in ST_AddIsoNode

Fixes bug #1503 for me, altough I didn't handle to produce a
testcase for it.

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

13 years agoAdd test for update of isolated nodes in split-faces.
Sandro Santilli [Fri, 27 Jan 2012 08:18:23 +0000 (08:18 +0000)]
Add test for update of isolated nodes in split-faces.

Affects both ST_AddEdgeModFace and ST_AddEdgeNewFaces (both work)

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

13 years agoComplete #737
Paul Ramsey [Thu, 26 Jan 2012 20:25:29 +0000 (20:25 +0000)]
Complete #737

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

13 years agoDetect asprintf, vasprintf, fseeko
Paul Ramsey [Thu, 26 Jan 2012 20:19:42 +0000 (20:19 +0000)]
Detect asprintf, vasprintf, fseeko

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

13 years agoChange expectations from tests involving ST_MakeLine
Sandro Santilli [Thu, 26 Jan 2012 18:09:57 +0000 (18:09 +0000)]
Change expectations from tests involving ST_MakeLine

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

13 years agoClean up and exit when shp file missing
Paul Ramsey [Thu, 26 Jan 2012 17:23:31 +0000 (17:23 +0000)]
Clean up and exit when shp file missing

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

13 years agoFix contact per a message on postgis-users from Markus Innerebner
Paul Ramsey [Thu, 26 Jan 2012 16:22:00 +0000 (16:22 +0000)]
Fix contact per a message on postgis-users from Markus Innerebner

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

13 years agoAdd support for linestrings in ST_MakeLine (#1500)
Sandro Santilli [Thu, 26 Jan 2012 13:00:08 +0000 (13:00 +0000)]
Add support for linestrings in ST_MakeLine (#1500)

Affects both the aggregate and the 2-parameters function.
Regression testing included.
Documentation was updated, but lacks examples.

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

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