]> granicus.if.org Git - postgis/log
postgis
12 years agoAdd in 2.0.1 news
Regina Obe [Mon, 18 Jun 2012 02:35:31 +0000 (02:35 +0000)]
Add in 2.0.1 news

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

12 years agoput link to user contributed install guides (more nicely organized than the dev one)
Regina Obe [Sat, 16 Jun 2012 17:44:33 +0000 (17:44 +0000)]
put link to user contributed install guides (more nicely organized than the dev one)

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

12 years agoHide internal arguments for tree calculations and shut up the print output.
Paul Ramsey [Fri, 15 Jun 2012 23:53:33 +0000 (23:53 +0000)]
Hide internal arguments for tree calculations and shut up the print output.

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

12 years agoUpdate the caching infrastructure to allow for arbitrary new caching systems to be...
Paul Ramsey [Fri, 15 Jun 2012 23:11:03 +0000 (23:11 +0000)]
Update the caching infrastructure to allow for arbitrary new caching systems to be combined into one fn_extra pointer slot. Clean up the 1-d r-tree code a little bit. Make the cache handling code for geometry caching generic so it can be re-used across different internal indexing approaches

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

12 years agoChange ignore parameters on directory
Paul Ramsey [Fri, 15 Jun 2012 23:08:19 +0000 (23:08 +0000)]
Change ignore parameters on directory

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

12 years agoAdd circular tree calculations and associated tests in support of faster geography...
Paul Ramsey [Fri, 15 Jun 2012 22:51:57 +0000 (22:51 +0000)]
Add circular tree calculations and associated tests in support of faster geography calculations.

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

12 years agoFixed expected output. Ticket is #1848
Bborie Park [Fri, 15 Jun 2012 21:59:10 +0000 (21:59 +0000)]
Fixed expected output.  Ticket is #1848

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

12 years agoAdditional sorting of rt_clip regression test. Ticket is #1848
Bborie Park [Fri, 15 Jun 2012 15:30:03 +0000 (15:30 +0000)]
Additional sorting of rt_clip regression test.  Ticket is #1848

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

12 years agoMake the sql in rtpg_getSR slightly more flexible when handling
Bborie Park [Fri, 15 Jun 2012 15:16:25 +0000 (15:16 +0000)]
Make the sql in rtpg_getSR slightly more flexible when handling
auth_name and auth_srid.

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

12 years agoupdate ignore to ignore generated doxygen file
Paul Ramsey [Thu, 14 Jun 2012 16:56:38 +0000 (16:56 +0000)]
update ignore to ignore generated doxygen file

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

12 years agoCatch invalid topology name passed to topogeo_add* (#1867)
Sandro Santilli [Thu, 14 Jun 2012 16:06:54 +0000 (16:06 +0000)]
Catch invalid topology name passed to topogeo_add* (#1867)

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

12 years agoDon't strip comment lines in the middle of COPY commands (#1865)
Sandro Santilli [Wed, 13 Jun 2012 18:28:43 +0000 (18:28 +0000)]
Don't strip comment lines in the middle of COPY commands (#1865)

Patch by J Smith <dark.panda@gmail.com>

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

12 years agoMove sqldefine include on top of the file (#1822)
Sandro Santilli [Tue, 12 Jun 2012 17:28:58 +0000 (17:28 +0000)]
Move sqldefine include on top of the file (#1822)

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

12 years agoFix call to GEOS_interruptRegisterCallback (win32)
Sandro Santilli [Tue, 12 Jun 2012 13:11:03 +0000 (13:11 +0000)]
Fix call to GEOS_interruptRegisterCallback (win32)

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

12 years agoOnly show readable relations in metadata tables (#1813)
Sandro Santilli [Tue, 12 Jun 2012 13:06:39 +0000 (13:06 +0000)]
Only show readable relations in metadata tables (#1813)

Affects both geometry_columns and geography_columns.
No easy way to put this under automated regression testing.

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

12 years agoClearer error on setting an geometry to an invalid one (#1774)
Sandro Santilli [Tue, 12 Jun 2012 12:34:23 +0000 (12:34 +0000)]
Clearer error on setting an geometry to an invalid one (#1774)

Include testcase

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

12 years agoDrop temporary table at end of ValidateTopology (#1797)
Sandro Santilli [Tue, 12 Jun 2012 10:46:58 +0000 (10:46 +0000)]
Drop temporary table at end of ValidateTopology (#1797)

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

12 years agoReally accept collections and multipoints from ST_MakeValid (#1719)
Sandro Santilli [Tue, 12 Jun 2012 09:30:34 +0000 (09:30 +0000)]
Really accept collections and multipoints from ST_MakeValid (#1719)

Also updates documentation and SQL level tests.

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

12 years agoAdd test for MULTIPOINT processing
Sandro Santilli [Tue, 12 Jun 2012 09:30:21 +0000 (09:30 +0000)]
Add test for MULTIPOINT processing

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

12 years agoAdd GEOMETRYCOLLECTION input support for ST_MakeValid (#1719)
Sandro Santilli [Tue, 12 Jun 2012 09:09:06 +0000 (09:09 +0000)]
Add GEOMETRYCOLLECTION input support for ST_MakeValid (#1719)

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

12 years agopart fix for #1860 ST_SRID not unique
Regina Obe [Tue, 12 Jun 2012 08:29:27 +0000 (08:29 +0000)]
part fix for #1860 ST_SRID not unique

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

12 years agoInstall comments when available, even withouth XSLTPROC (#1779)
Sandro Santilli [Tue, 12 Jun 2012 07:57:33 +0000 (07:57 +0000)]
Install comments when available, even withouth XSLTPROC (#1779)

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

12 years agoBuild and install comments when if possible (#1779)
Sandro Santilli [Mon, 11 Jun 2012 18:39:19 +0000 (18:39 +0000)]
Build and install comments when if possible (#1779)

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

12 years agoMislabeled function (raster missing new flag and ST_ASGML mislabeled as new instead...
Regina Obe [Mon, 11 Jun 2012 18:01:14 +0000 (18:01 +0000)]
Mislabeled function (raster missing new flag and ST_ASGML mislabeled as new instead of enhanced)

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

12 years agoget rid of 2.1 enhancements section -- probably causing pdflatex issues because we...
Regina Obe [Mon, 11 Jun 2012 17:28:06 +0000 (17:28 +0000)]
get rid of 2.1 enhancements section -- probably causing pdflatex issues because we have no enhancements

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

12 years agofix unclosed tag
Regina Obe [Mon, 11 Jun 2012 17:12:59 +0000 (17:12 +0000)]
fix unclosed tag

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

12 years agoAdd a what's new in 2.1 section
Regina Obe [Mon, 11 Jun 2012 16:26:25 +0000 (16:26 +0000)]
Add a what's new in 2.1 section

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

12 years agoAdded DROP statements for st_intersection variants that were removed
Bborie Park [Mon, 11 Jun 2012 15:46:46 +0000 (15:46 +0000)]
Added DROP statements for st_intersection variants that were removed
before 2.0.  Ticket is #1749

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

12 years agowarnings too dark
Regina Obe [Mon, 11 Jun 2012 14:45:52 +0000 (14:45 +0000)]
warnings too dark

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

12 years agowarnings should be more prominent. Move extension warning up a bit. correct misspelling
Regina Obe [Mon, 11 Jun 2012 14:02:51 +0000 (14:02 +0000)]
warnings should be more prominent.  Move extension warning up a bit. correct misspelling

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

12 years ago#1815 put a big warning about this unexpected behavior when trying to explicitly...
Regina Obe [Mon, 11 Jun 2012 11:47:00 +0000 (11:47 +0000)]
#1815 put a big warning about this unexpected behavior when trying to explicitly backup tables that are part of an extension

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

12 years ago#1859 commit doc corrections from Kashif Rasul.
Regina Obe [Sun, 10 Jun 2012 06:25:35 +0000 (06:25 +0000)]
#1859 commit doc corrections from Kashif Rasul.

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

12 years agosnaptogrid to get rid of false failures on mingw-64 resulting from single digit round...
Regina Obe [Fri, 8 Jun 2012 17:18:37 +0000 (17:18 +0000)]
snaptogrid to get rid of false failures on mingw-64 resulting from single digit rounding differences

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

12 years agoRename references to -r to -s in shp2pgsql-cli.c and also move argument combination...
Mark Cave-Ayland [Fri, 8 Jun 2012 14:04:26 +0000 (14:04 +0000)]
Rename references to -r to -s in shp2pgsql-cli.c and also move argument combination validation to a separate phase.

This is based upon a report from Lauri Kajan who was having issues using -D and -s TO_SRID on Windows.

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

12 years ago#1834 itemize srid ranges we include and set filter to not back these up. It's long...
Regina Obe [Fri, 8 Jun 2012 12:45:46 +0000 (12:45 +0000)]
#1834 itemize srid ranges we include and set filter to not back these up. It's long and ugly I know.

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

12 years agoFix failure to detect endpoint mismatch in ST_AddEdge*Face* (#1857)
Sandro Santilli [Fri, 8 Jun 2012 11:55:20 +0000 (11:55 +0000)]
Fix failure to detect endpoint mismatch in ST_AddEdge*Face* (#1857)

Affects calls with start_node = end_node and matching start point.

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

12 years agoRemove unused variables
Sandro Santilli [Fri, 8 Jun 2012 11:13:01 +0000 (11:13 +0000)]
Remove unused variables

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

12 years agominor improvements to prefer a named road over an unnamed one if within 20 meters...
Regina Obe [Fri, 8 Jun 2012 04:14:56 +0000 (04:14 +0000)]
minor improvements to prefer a named road over an unnamed one if within 20 meters, also #1856 ability to control preferred name for highways, county and state roads (whether numbered or local name)

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

12 years agoProperly set permissions on backend temp dir
Sandro Santilli [Thu, 7 Jun 2012 23:08:41 +0000 (23:08 +0000)]
Properly set permissions on backend temp dir

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

12 years agoTweaked rt_clip queries to have the output ordered. Changed the round()
Bborie Park [Thu, 7 Jun 2012 15:56:11 +0000 (15:56 +0000)]
Tweaked rt_clip queries to have the output ordered.  Changed the round()
call to a ceil() call due to the question of rounding 27.5 (is it 28 or
27?).  Ticket is 1848.

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

12 years agoRegister a GEOS interrupt callback to dispatch windows events
Sandro Santilli [Thu, 7 Jun 2012 15:18:08 +0000 (15:18 +0000)]
Register a GEOS interrupt callback to dispatch windows events

NOTE: won't build on WIN32 with GEOS-3.4.0SVN < r3672

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

12 years agoRemove unused code
Sandro Santilli [Thu, 7 Jun 2012 14:17:16 +0000 (14:17 +0000)]
Remove unused code

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

12 years agoIgnore generated Makefile (a new one)
Sandro Santilli [Thu, 7 Jun 2012 07:17:37 +0000 (07:17 +0000)]
Ignore generated Makefile (a new one)

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

12 years agoFix scoping of TEST variable (#1853)
Sandro Santilli [Thu, 7 Jun 2012 06:55:58 +0000 (06:55 +0000)]
Fix scoping of TEST variable (#1853)

I didn't really understand why it is only TEST needing to be "our"
but it seems to work.

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

12 years agoWrong parameters for EPSG:3844 in spatial_ref_sys (#1851)
Paul Ramsey [Wed, 6 Jun 2012 15:25:25 +0000 (15:25 +0000)]
Wrong parameters for EPSG:3844 in spatial_ref_sys (#1851)

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

12 years agoHave run_test.pl use strict mode
Sandro Santilli [Wed, 6 Jun 2012 15:24:23 +0000 (15:24 +0000)]
Have run_test.pl use strict mode

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

12 years agoForgot to add gisgraphy as another PostGIS geocoder. I know I am missing others.
Regina Obe [Sat, 2 Jun 2012 07:12:10 +0000 (07:12 +0000)]
Forgot to add gisgraphy as another PostGIS geocoder.  I know I am missing others.

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

12 years agoConvert to using run_test.pl instead of run_test.sh
Paul Ramsey [Thu, 31 May 2012 22:49:56 +0000 (22:49 +0000)]
Convert to using run_test.pl instead of run_test.sh

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

12 years agoWorks for MinGW now
Paul Ramsey [Thu, 31 May 2012 22:16:02 +0000 (22:16 +0000)]
Works for MinGW now

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

12 years agoback out run_test.pl change, that was an accident
Paul Ramsey [Thu, 31 May 2012 20:16:23 +0000 (20:16 +0000)]
back out run_test.pl change, that was an accident

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

12 years agoUse our own diff, avoid using Which. Works for me. Tests welcome.
Sandro Santilli [Thu, 31 May 2012 20:11:53 +0000 (20:11 +0000)]
Use our own diff, avoid using Which. Works for me. Tests welcome.

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

12 years agoChange from sed to perl
Paul Ramsey [Thu, 31 May 2012 17:29:26 +0000 (17:29 +0000)]
Change from sed to perl

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

12 years agoConvert sed to perl
Paul Ramsey [Thu, 31 May 2012 16:57:26 +0000 (16:57 +0000)]
Convert sed to perl

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

12 years agoSwitch from sed to perl
Paul Ramsey [Thu, 31 May 2012 16:47:21 +0000 (16:47 +0000)]
Switch from sed to perl

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

12 years agoSwitch from sed to perl
Paul Ramsey [Thu, 31 May 2012 16:45:52 +0000 (16:45 +0000)]
Switch from sed to perl

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

12 years agoExplicit error message when dimensions requested exceeds the maximum
Bborie Park [Thu, 31 May 2012 05:46:10 +0000 (05:46 +0000)]
Explicit error message when dimensions requested exceeds the maximum
permitted of a raster.

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

12 years agoAdded more verbiage regarding setting SRID with -s for raster2pgsql
Bborie Park [Thu, 31 May 2012 05:45:59 +0000 (05:45 +0000)]
Added more verbiage regarding setting SRID with -s for raster2pgsql

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

12 years agoCorrect spelling mistakes
Bborie Park [Thu, 31 May 2012 05:45:52 +0000 (05:45 +0000)]
Correct spelling mistakes

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

12 years agoUpdated docs to reflect change to minimum GDAL version
Bborie Park [Thu, 31 May 2012 05:45:46 +0000 (05:45 +0000)]
Updated docs to reflect change to minimum GDAL version

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

12 years agoBumped up the minimum version of GDAL from 1.6 to 1.8
Bborie Park [Thu, 31 May 2012 05:45:34 +0000 (05:45 +0000)]
Bumped up the minimum version of GDAL from 1.6 to 1.8

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

12 years ago#1812 change to use sT_Equals to account for polygon order difference under windows...
Regina Obe [Thu, 31 May 2012 01:44:50 +0000 (01:44 +0000)]
#1812 change to use sT_Equals to account for polygon order difference under windows (mingw)

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

12 years agofix typos
Regina Obe [Thu, 31 May 2012 01:34:04 +0000 (01:34 +0000)]
fix typos

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

12 years ago#1843 document new geocode_setting set/get functions, make publically readable.
Regina Obe [Thu, 31 May 2012 00:50:42 +0000 (00:50 +0000)]
#1843 document new geocode_setting set/get functions, make publically readable.

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

12 years agoConvert calls to 'sed' to calls to 'perl'
Paul Ramsey [Wed, 30 May 2012 21:49:16 +0000 (21:49 +0000)]
Convert calls to 'sed' to calls to 'perl'

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

12 years agoPerl-based pre/post hooks for the raster loader tests
Paul Ramsey [Wed, 30 May 2012 18:59:13 +0000 (18:59 +0000)]
Perl-based pre/post hooks for the raster loader tests

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

12 years agoUpdate the run_test.pl script to handle the raster loader pre/post rules
Paul Ramsey [Wed, 30 May 2012 18:58:45 +0000 (18:58 +0000)]
Update the run_test.pl script to handle the raster loader pre/post rules

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

12 years ago#1845 fix tracts/bg/tabblock loading
Regina Obe [Wed, 30 May 2012 08:55:22 +0000 (08:55 +0000)]
#1845 fix tracts/bg/tabblock loading

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

12 years agoReplace the x, y iteration with a call to ST_MapAlgebraExpr() now that it supports...
Pierre Racine [Mon, 28 May 2012 19:21:51 +0000 (19:21 +0000)]
Replace the x, y iteration with a call to ST_MapAlgebraExpr() now that it supports [rast.x] and [rast.y]. Much faster!
This is not (yet) part of rtpostgis.sql. Should be in 2.1.

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

12 years agoInstall a signal handler to request GEOS interruption (#1802)
Sandro Santilli [Mon, 28 May 2012 08:04:09 +0000 (08:04 +0000)]
Install a signal handler to request GEOS interruption (#1802)

Requires GEOS-3.4.0SVN

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

12 years ago#1843 - logic to add the new settings table, a get and set function, and changed...
Regina Obe [Sun, 27 May 2012 18:28:48 +0000 (18:28 +0000)]
#1843  - logic to add the new settings table, a get and set function,  and changed debug variables in various functions to lookup value from table

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

12 years agoHandle exceptions from GEOSUnionCascaded() in LWGEOM_GEOS_buildArea
Sandro Santilli [Fri, 25 May 2012 15:20:50 +0000 (15:20 +0000)]
Handle exceptions from GEOSUnionCascaded() in LWGEOM_GEOS_buildArea

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

12 years agoCode cleanup related to rt_band_load_offline_data()
Bborie Park [Thu, 24 May 2012 23:13:25 +0000 (23:13 +0000)]
Code cleanup related to rt_band_load_offline_data()

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

12 years agoDo not call OGRCleanupAll() within API functions
Sandro Santilli [Thu, 24 May 2012 10:10:12 +0000 (10:10 +0000)]
Do not call OGRCleanupAll() within API functions

Valgrind didn't show any leak.
Eventually we can do cleanups in _PG_fini.

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

12 years agoDo not assume geos allocates using malloc. Reduce memory use too.
Sandro Santilli [Thu, 24 May 2012 06:41:53 +0000 (06:41 +0000)]
Do not assume geos allocates using malloc. Reduce memory use too.

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

12 years agoFixed GDALDriverH * to GDALDriverH.
Bborie Park [Wed, 23 May 2012 22:51:39 +0000 (22:51 +0000)]
Fixed GDALDriverH * to GDALDriverH.

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

12 years agoUse GDALIdentifyDriver() to detect whether or not a raster is supported
Bborie Park [Wed, 23 May 2012 22:36:27 +0000 (22:36 +0000)]
Use GDALIdentifyDriver() to detect whether or not a raster is supported
by raster2pgsql.  Thanks to rouault for the suggestion

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

12 years agoFix ST_AsGML prototype in legacy. Related to #1823
Olivier Courtin [Wed, 23 May 2012 21:41:26 +0000 (21:41 +0000)]
Fix ST_AsGML prototype in legacy. Related to #1823

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

12 years agoFix geography prototype for ST_AsGML. Related to #1823
Olivier Courtin [Wed, 23 May 2012 20:49:48 +0000 (20:49 +0000)]
Fix geography prototype for ST_AsGML. Related to #1823

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

12 years agoCorrect when to compute number of tiles. Ticket is #1840
Bborie Park [Wed, 23 May 2012 17:54:48 +0000 (17:54 +0000)]
Correct when to compute number of tiles. Ticket is #1840

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

12 years agoAdd support for GeoTIFF subdatasets. Ticket is #1839
Bborie Park [Wed, 23 May 2012 17:54:39 +0000 (17:54 +0000)]
Add support for GeoTIFF subdatasets.  Ticket is #1839

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

12 years agoforce casting to text for band types in various examples prevent unknown warnings...
Regina Obe [Wed, 23 May 2012 06:58:51 +0000 (06:58 +0000)]
force casting to text for band types in various examples prevent unknown warnings (alibo noted)

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

12 years agobackout changes about 2.0.1 already accounted for in 2.0 branch
Regina Obe [Wed, 23 May 2012 03:24:36 +0000 (03:24 +0000)]
backout changes about 2.0.1 already accounted for in 2.0 branch

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

12 years agoadd section for 2.0.1 and more items in 2.1.0 -- sitll a lot of gaps to fill in.
Regina Obe [Wed, 23 May 2012 03:16:04 +0000 (03:16 +0000)]
add section for 2.0.1 and more items in 2.1.0 -- sitll a lot of gaps to fill in.

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

12 years agoAdded missing "See Also" sections for ST_NearestValue and
Bborie Park [Tue, 22 May 2012 17:47:11 +0000 (17:47 +0000)]
Added missing "See Also" sections for ST_NearestValue and
ST_Neighborhood

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

12 years agoFix unbalanced tags
Bborie Park [Tue, 22 May 2012 17:07:07 +0000 (17:07 +0000)]
Fix unbalanced tags

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

12 years agoAdded ST_World2RasterCoord, ST_Raster2WorldCoord, ST_NearestValue,
Bborie Park [Tue, 22 May 2012 17:07:00 +0000 (17:07 +0000)]
Added ST_World2RasterCoord, ST_Raster2WorldCoord, ST_NearestValue,
ST_Neighborhood to New Features section

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

12 years agoAdded docs for ST_NearestValue and ST_Neighborhood
Bborie Park [Tue, 22 May 2012 17:06:52 +0000 (17:06 +0000)]
Added docs for ST_NearestValue and ST_Neighborhood

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

12 years agoRefactored function parameter names of ST_NearestValue and
Bborie Park [Tue, 22 May 2012 17:06:45 +0000 (17:06 +0000)]
Refactored function parameter names of ST_NearestValue and
ST_Neighborhood

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

12 years agoAdded docs for ST_World2RasterCoord() and ST_Raster2WorldCoord()
Bborie Park [Tue, 22 May 2012 17:06:39 +0000 (17:06 +0000)]
Added docs for ST_World2RasterCoord() and ST_Raster2WorldCoord()

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

12 years agoExpansion of regression tests and fix error messages
Bborie Park [Tue, 22 May 2012 17:06:30 +0000 (17:06 +0000)]
Expansion of regression tests and fix error messages

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

12 years agoLowercase language due to case-sensitivity of PostgreSQL 9.2
Bborie Park [Tue, 22 May 2012 17:06:20 +0000 (17:06 +0000)]
Lowercase language due to case-sensitivity of PostgreSQL 9.2

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

12 years agoAdded regression tests for ST_World2RasterCoord and
Bborie Park [Tue, 22 May 2012 17:06:15 +0000 (17:06 +0000)]
Added regression tests for ST_World2RasterCoord and
ST_Raster2WorldCoord.  Updated existing tests use the same functions

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

12 years agoAdded ST_Raster2WorldCoord and ST_World2RasterCoord functions to consume
Bborie Park [Tue, 22 May 2012 17:06:06 +0000 (17:06 +0000)]
Added ST_Raster2WorldCoord and ST_World2RasterCoord functions to consume
RASTER_rasterToWorldCoord and RASTER_worldToRasterCoord functions.
Refactored existing ST_Raster2WorldCoord(X|Y) and
ST_World2RasterCoord(X|Y) functions to call new functions

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

12 years agoRemoved unnecessary/unused variable
Bborie Park [Tue, 22 May 2012 17:06:01 +0000 (17:06 +0000)]
Removed unnecessary/unused variable

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

12 years agoDrop ST_Neighborhood variants due to output datatype changes
Bborie Park [Tue, 22 May 2012 17:05:51 +0000 (17:05 +0000)]
Drop ST_Neighborhood variants due to output datatype changes

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

12 years agoModified ST_Neighborhood and underlying functions to return 2D double
Bborie Park [Tue, 22 May 2012 17:05:45 +0000 (17:05 +0000)]
Modified ST_Neighborhood and underlying functions to return 2D double
precision array.  This allows the output to be readily passed onto the
ST_xxx4ma functions.

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

12 years agoUpdated copyright
Bborie Park [Tue, 22 May 2012 17:05:36 +0000 (17:05 +0000)]
Updated copyright

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

12 years agoAdded SRID check to ST_NearestValue
Bborie Park [Tue, 22 May 2012 17:05:27 +0000 (17:05 +0000)]
Added SRID check to ST_NearestValue

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

12 years agoaddition of ST_NearestValue and ST_Neighborhood
Bborie Park [Tue, 22 May 2012 17:05:14 +0000 (17:05 +0000)]
addition of ST_NearestValue and ST_Neighborhood

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

12 years agoFix wrong SQL prototype, wrong PostGIS version number, and use NULL as default value...
Olivier Courtin [Tue, 22 May 2012 16:02:05 +0000 (16:02 +0000)]
Fix wrong SQL prototype, wrong PostGIS version number, and use NULL as default value rather than empty string, related to #1823

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