]>
granicus.if.org Git - postgis/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Regina Obe [Tue, 22 May 2012 15:29:57 +0000 (15:29 +0000)]
#1837 dupe refentry
git-svn-id: http://svn.osgeo.org/postgis/trunk@9784
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 22 May 2012 15:26:39 +0000 (15:26 +0000)]
detail how to upgrade from tiger_2010 to tiger_2011 data
git-svn-id: http://svn.osgeo.org/postgis/trunk@9783
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 22 May 2012 15:13:51 +0000 (15:13 +0000)]
Add upgrade mode and start to get raster working. Bah, going to need to handle pre/post actions after all.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9782
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 22 May 2012 14:17:07 +0000 (14:17 +0000)]
Upgrade from 2.0 only
git-svn-id: http://svn.osgeo.org/postgis/trunk@9781
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 22 May 2012 13:34:11 +0000 (13:34 +0000)]
Add new functions and notes that 2.1 is tiger_2011 instead of tiger_2010. More on upgrade instructions from tiger_2010 to tiger_2011
git-svn-id: http://svn.osgeo.org/postgis/trunk@9780
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Tue, 22 May 2012 13:25:48 +0000 (13:25 +0000)]
rename function drop_national_tables_generate_script() to drop_nation_tables_generate_script(), revise regex to prevent psql warning in 9.2 psql
git-svn-id: http://svn.osgeo.org/postgis/trunk@9779
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Tue, 22 May 2012 12:23:35 +0000 (12:23 +0000)]
Use NULL value as default for id on ST_AsGML cunit tests. Related to #1823
git-svn-id: http://svn.osgeo.org/postgis/trunk@9778
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 22 May 2012 09:20:26 +0000 (09:20 +0000)]
More entries in authors.*
With this I could complete a git-svn-clone operation
git-svn-id: http://svn.osgeo.org/postgis/trunk@9777
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Tue, 22 May 2012 08:49:36 +0000 (08:49 +0000)]
Fix some unintialized vars. Fix becoming wrong prototype call in GML3 cunit tests. Related to #1823
git-svn-id: http://svn.osgeo.org/postgis/trunk@9775
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Tue, 22 May 2012 08:49:12 +0000 (08:49 +0000)]
Initial commit of the run_test.pl perl port of the regression harness.
This version runs the postgis loader and sql tests. It does not yet run in --upgrade mode or handle the raster or topology tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9774
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 22 May 2012 07:45:39 +0000 (07:45 +0000)]
Update authors file for both SVN and GIT
git-svn-id: http://svn.osgeo.org/postgis/trunk@9773
b70326c6 -7e19-0410-871a-
916f4a2858ee
Olivier Courtin [Mon, 21 May 2012 21:17:59 +0000 (21:17 +0000)]
First implementation of gml:id support for ST_AsGML. Related to #1823. Not yet really tested. Cunit still missing
git-svn-id: http://svn.osgeo.org/postgis/trunk@9772
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 21 May 2012 20:29:31 +0000 (20:29 +0000)]
get rid of old stuff can always be pulled from prior versions
git-svn-id: http://svn.osgeo.org/postgis/trunk@9770
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Mon, 21 May 2012 20:28:33 +0000 (20:28 +0000)]
move tiger_2011 work to 2.1
git-svn-id: http://svn.osgeo.org/postgis/trunk@9769
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Mon, 21 May 2012 14:48:03 +0000 (14:48 +0000)]
UTF8 author names
git-svn-id: http://svn.osgeo.org/postgis/trunk@9768
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 21 May 2012 10:57:13 +0000 (10:57 +0000)]
Back out ST_CollectionExtract changes, too many regression failures
git-svn-id: http://svn.osgeo.org/postgis/trunk@9766
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 21 May 2012 10:13:43 +0000 (10:13 +0000)]
Harmonize regression to new ST_CollectionExtract behavior
git-svn-id: http://svn.osgeo.org/postgis/trunk@9765
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 21 May 2012 09:41:04 +0000 (09:41 +0000)]
ST_CollectionExtract: inconsistent EMPTY results (#1778)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9764
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 21 May 2012 09:39:20 +0000 (09:39 +0000)]
Bump numbers for 2.1 on trunk
git-svn-id: http://svn.osgeo.org/postgis/trunk@9763
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 21 May 2012 09:36:02 +0000 (09:36 +0000)]
Accept PostGIS 1.5 WKB type numbers in WKB parser (#1807)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9761
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Mon, 21 May 2012 08:05:57 +0000 (08:05 +0000)]
Revert #1830
git-svn-id: http://svn.osgeo.org/postgis/trunk@9760
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Sun, 20 May 2012 09:27:37 +0000 (09:27 +0000)]
loader dumper / gui About have version correct credits (#1743)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9759
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Sun, 20 May 2012 09:17:08 +0000 (09:17 +0000)]
the pgsql2shp tool should qualify its query against pg_class to ensure it gets the correct table to dump (#1814) <chander>
git-svn-id: http://svn.osgeo.org/postgis/trunk@9758
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Sun, 20 May 2012 08:21:19 +0000 (08:21 +0000)]
News update
git-svn-id: http://svn.osgeo.org/postgis/trunk@9757
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Sun, 20 May 2012 08:20:41 +0000 (08:20 +0000)]
pgsql2shp fix for "XInvalid endian flag value encountered" on PostgreSQL 9.2 (#1830)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9756
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Sun, 20 May 2012 07:31:06 +0000 (07:31 +0000)]
Update NEWS with some bug fixes
git-svn-id: http://svn.osgeo.org/postgis/trunk@9754
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Fri, 18 May 2012 09:59:13 +0000 (09:59 +0000)]
Fix uninitialized read in GeoJSON parser (#1829)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9753
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 17 May 2012 13:37:56 +0000 (13:37 +0000)]
Last bugfix item...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9750
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 17 May 2012 13:36:44 +0000 (13:36 +0000)]
Do not compare uninitialized memory (#1825)
May fix prepared geometry cache sub-uses (misses)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9749
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 17 May 2012 12:27:51 +0000 (12:27 +0000)]
Fix topology loader against PostgreSQL 9.2 (#1822)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9748
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 17 May 2012 12:10:04 +0000 (12:10 +0000)]
configure enabling extension reads 9.1 even on 9.2 (#1821)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9747
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 17 May 2012 11:59:46 +0000 (11:59 +0000)]
Put back 900913 srid (#1805)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9746
b70326c6 -7e19-0410-871a-
916f4a2858ee
Paul Ramsey [Thu, 17 May 2012 11:54:43 +0000 (11:54 +0000)]
Error in empty short circuit (#1828)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9744
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 17 May 2012 11:47:18 +0000 (11:47 +0000)]
Link lwgeom_normalize change to its ticket #1812
git-svn-id: http://svn.osgeo.org/postgis/trunk@9743
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 17 May 2012 11:45:26 +0000 (11:45 +0000)]
Add lwgeom_normalize in LIBLWGEOM, use in cu_buildarea tester
git-svn-id: http://svn.osgeo.org/postgis/trunk@9742
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 16 May 2012 19:39:43 +0000 (19:39 +0000)]
Use the proper function to release returns from GEOS.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9741
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 16 May 2012 19:39:26 +0000 (19:39 +0000)]
Cleanly handle database creation error
git-svn-id: http://svn.osgeo.org/postgis/trunk@9740
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 16 May 2012 18:50:09 +0000 (18:50 +0000)]
Updated to note bug #1819
git-svn-id: http://svn.osgeo.org/postgis/trunk@9739
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 16 May 2012 18:47:46 +0000 (18:47 +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@9738
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 16 May 2012 18:47:36 +0000 (18:47 +0000)]
Addition of RASTER_rasterToWorldCoord and RASTER_worldToRasterCoord
functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@9737
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Wed, 16 May 2012 15:16:45 +0000 (15:16 +0000)]
Additional lower-casing of language for PostgreSQL 9.2 as per r9735
git-svn-id: http://svn.osgeo.org/postgis/trunk@9736
b70326c6 -7e19-0410-871a-
916f4a2858ee
Regina Obe [Wed, 16 May 2012 08:29:14 +0000 (08:29 +0000)]
#1820 part fix 9.2 language is case sensitive if quoted -- change 'C' and 'SQL' to 'c' and 'sql'
git-svn-id: http://svn.osgeo.org/postgis/trunk@9735
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Mon, 14 May 2012 23:28:56 +0000 (23:28 +0000)]
Addition of some commented code. Might be useful if an option is added
to output the VRTs used in the process of loading rasters
git-svn-id: http://svn.osgeo.org/postgis/trunk@9734
b70326c6 -7e19-0410-871a-
916f4a2858ee
Bborie Park [Mon, 14 May 2012 23:28:50 +0000 (23:28 +0000)]
Changed function parameter datatypes from uint16_t to int to better
handle out-of-range values
git-svn-id: http://svn.osgeo.org/postgis/trunk@9733
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Thu, 10 May 2012 07:24:08 +0000 (07:24 +0000)]
Cleanup new BuildArea code, add profiling prints (#1806)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9732
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 9 May 2012 12:08:16 +0000 (12:08 +0000)]
Significatively speedup BuildArea with complex input (#1806)
Affects ST_BuildArea, ST_MakeValid and ST_GetFaceGeometry.
Replaces the iterated SymDifference used since 2005 with a more
scalable algorithm. The new algorithm removes from the polygonized
result all polygons whose rings are known to be already represented
by holes or shells of other polygons and finally runs a single
overlay operation (unary union).
With the case attached to ticket #1806, ST_BuildArea completes
within 12 seconds using the new code while it takes 27 _minutes_
with the old. Both versions return the same result (according to
ST_Equals).
git-svn-id: http://svn.osgeo.org/postgis/trunk@9731
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Wed, 9 May 2012 12:08:06 +0000 (12:08 +0000)]
Add unit test for lwgeom_buildarea (useful for #1806)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9730
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 8 May 2012 16:47:40 +0000 (16:47 +0000)]
ST_BuildArea: arrange polygonized output reducing overlay cost (#1806)
By running SymDifference against items with less points first we
reduce the overall cost (output vertices tend to always grow).
git-svn-id: http://svn.osgeo.org/postgis/trunk@9729
b70326c6 -7e19-0410-871a-
916f4a2858ee
Sandro Santilli [Tue, 8 May 2012 16:47:33 +0000 (16:47 +0000)]
Make ST_MakeValid tests immune by coordinates order (using ST_Equals)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9728
b70326c6 -7e19-0410-871a-
916f4a2858ee