]>
granicus.if.org Git - postgis/log
Olivier Courtin [Tue, 7 Feb 2012 02:34:56 +0000 (02:34 +0000)]
temp desactivation of surface unit test
git-svn-id: http://svn.osgeo.org/postgis/trunk@9059
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 23:50:13 +0000 (23:50 +0000)]
Whoops, slight error in the empty geometry handling fixed.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9058
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Mon, 6 Feb 2012 23:30:27 +0000 (23:30 +0000)]
Temp remove su_surface till everything fixed on it...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9057
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 23:25:00 +0000 (23:25 +0000)]
Have ST_Union aggregate use UnaryUnion from GEOS-3.0.0 (#922)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9056
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Mon, 6 Feb 2012 23:14:21 +0000 (23:14 +0000)]
Make sure new bands when added using ST_AddBand are correctly clamping NODATA values. Ticket is #1546.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9055
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 21:32:35 +0000 (21:32 +0000)]
Remove dead prototype
git-svn-id: http://svn.osgeo.org/postgis/trunk@9054
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Mon, 6 Feb 2012 21:15:33 +0000 (21:15 +0000)]
Fix a bug in tgeom_free, related to #665
git-svn-id: http://svn.osgeo.org/postgis/trunk@9053
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Mon, 6 Feb 2012 20:53:19 +0000 (20:53 +0000)]
Added support to pass pixel positions of both rasters to user function in 2-raster ST_MapAlgebraFct. This provides similar functionality to the keywords described in #1525.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9052
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 20:07:21 +0000 (20:07 +0000)]
Change searched location of proj files when no proj variable (#1022)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9051
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 19:45:29 +0000 (19:45 +0000)]
Quiet rm
git-svn-id: http://svn.osgeo.org/postgis/trunk@9050
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 19:44:08 +0000 (19:44 +0000)]
quiet echo
git-svn-id: http://svn.osgeo.org/postgis/trunk@9049
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 19:33:40 +0000 (19:33 +0000)]
Dummy up a check target
git-svn-id: http://svn.osgeo.org/postgis/trunk@9048
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 19:32:17 +0000 (19:32 +0000)]
Move regres forward again
git-svn-id: http://svn.osgeo.org/postgis/trunk@9047
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 19:30:12 +0000 (19:30 +0000)]
Make exensions depend on comments, so also depend on xsltproc
git-svn-id: http://svn.osgeo.org/postgis/trunk@9046
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 19:13:47 +0000 (19:13 +0000)]
Duplicate named case-insensitive XML refentry ids / HTML files (#1511)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9045
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 19:01:50 +0000 (19:01 +0000)]
PostGIS extensions should build/install automatically if PostGIS is compiled against 9.1 (#1490)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9044
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 18:44:56 +0000 (18:44 +0000)]
Change how we calculate minor versions suitable for extension upgrade.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9043
b70326c6 -7e19-0410-871a-
916f4a2858ee
David Zwarg [Mon, 6 Feb 2012 18:36:07 +0000 (18:36 +0000)]
Checked connection to SPI manager in ST_MapAlgebraExpr
git-svn-id: http://svn.osgeo.org/postgis/trunk@9042
b70326c6 -7e19-0410-871a-
916f4a2858ee
David Zwarg [Mon, 6 Feb 2012 17:49:32 +0000 (17:49 +0000)]
Whitespace changes to _st_hillshade4ma
git-svn-id: http://svn.osgeo.org/postgis/trunk@9041
b70326c6 -7e19-0410-871a-
916f4a2858ee
David Zwarg [Mon, 6 Feb 2012 17:26:17 +0000 (17:26 +0000)]
Reordered linking order for core regression tests. Follow up to http://postgis.refractions.net/pipermail/postgis-devel/2011-December/016646.html and r8399
git-svn-id: http://svn.osgeo.org/postgis/trunk@9040
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 6 Feb 2012 13:43:21 +0000 (13:43 +0000)]
Tabs to spaces (2)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9039
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 6 Feb 2012 13:16:02 +0000 (13:16 +0000)]
Don't let ValidateTopology choke on invalid edges (#1544)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9038
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 03:20:48 +0000 (03:20 +0000)]
Allow 'make check' to run all the way through on OSX (the sed implementation must be slightly different, so let's see if Perl is any more standard). Hopefully other platforms will be happy.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9037
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 6 Feb 2012 02:15:01 +0000 (02:15 +0000)]
Try out the pj_get_def() method of finding the spheroid parameters, but: it doesn't work.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9036
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Sun, 5 Feb 2012 02:15:45 +0000 (02:15 +0000)]
put in an FAQ about the common function is not unique error that I suspect a lot of people will be running into because they don't cast their geometry inputs and that a lot of raster functions have overloaded functions similar to the geometry ones.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9035
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Sun, 5 Feb 2012 00:30:36 +0000 (00:30 +0000)]
Change encoding reference URL to that used for libiconv rather than PostgreSQL since that's what we are using to do the encoding conversion (as per #1303).
git-svn-id: http://svn.osgeo.org/postgis/trunk@9033
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Sun, 5 Feb 2012 00:30:28 +0000 (00:30 +0000)]
Fix for #1540: Fix segfault in shp2pgsql-gui when no port is specified. Prevent dereferencing a NULL pointer if the string is empty.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9032
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Sat, 4 Feb 2012 17:53:39 +0000 (17:53 +0000)]
Implemented new keywords for 1-raster ST_MapAlgebraExpr (#1525)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9031
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Sat, 4 Feb 2012 02:36:44 +0000 (02:36 +0000)]
Fix an issue in the shapefile GUI caused by saving the original shapefile name before processing.
This was a bug caused by having two separate passes during export; we were saving the original
export shapefile name during the first loop, and so when we came to free() the temporary name
at the end of export it would only free the shapefile name from the last iteration, and do it
multiple times causing random crashes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9030
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Sat, 4 Feb 2012 01:30:14 +0000 (01:30 +0000)]
Geography should support SRIDs other than 4326 (#1538)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9029
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Sat, 4 Feb 2012 01:17:33 +0000 (01:17 +0000)]
Alter the shapefile GUI so that multiple shapefiles can be selected in the import file chooser.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9028
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Sat, 4 Feb 2012 00:39:38 +0000 (00:39 +0000)]
Add GUI support for the shp2pgsql -S (simple geometries) switch. This closes #660.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9027
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Sat, 4 Feb 2012 00:39:31 +0000 (00:39 +0000)]
Update shapefile GUI "About" text and window title to reflect that it now handles export as well as import.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9026
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Sat, 4 Feb 2012 00:39:24 +0000 (00:39 +0000)]
Add shapefile dumper (table export) to the shp2pgsql GUI. This closes ticket #1480.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9025
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Sat, 4 Feb 2012 00:02:08 +0000 (00:02 +0000)]
Explicitly set the output band's pixel type depending on the band being returned (FIRST, SECOND, BOTH. OTHER is left NULL) in ST_Intersection(raster, raster). Related ticket is #1537.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9024
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Fri, 3 Feb 2012 22:57:36 +0000 (22:57 +0000)]
Implemented keywords for 2-raster ST_MapAlgebraExpr as described in #1525. Will do 2-raster ST_MapAlgebraFct next.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9023
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Fri, 3 Feb 2012 21:29:15 +0000 (21:29 +0000)]
Separate the cache handling code from the transform function
git-svn-id: http://svn.osgeo.org/postgis/trunk@9022
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Fri, 3 Feb 2012 21:04:08 +0000 (21:04 +0000)]
Fix pgsql2shp crash when dumping a table without a geo column.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9021
b70326c6 -7e19-0410-871a-
916f4a2858ee
Mark Cave-Ayland [Fri, 3 Feb 2012 21:04:01 +0000 (21:04 +0000)]
Fix construction of pgsql2shp's main retrieval query in ShpDumperOpenTable().
This fixes a regression which caused pgsql2shp to generate an incorrect SQL query
for tables without any geo columns.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9020
b70326c6 -7e19-0410-871a-
916f4a2858ee
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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