]> granicus.if.org Git - postgis/log
postgis
13 years agoRemoval of now-unsupported AddRasterColumn, DropRasterColumn and DropRasterTable.
Bborie Park [Tue, 13 Dec 2011 18:19:34 +0000 (18:19 +0000)]
Removal of now-unsupported AddRasterColumn, DropRasterColumn and DropRasterTable.

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

13 years agoAdded DROP AGGREGATE for new ST_Union signature. Associated ticket is #1372.
Bborie Park [Tue, 13 Dec 2011 18:16:39 +0000 (18:16 +0000)]
Added DROP AGGREGATE for new ST_Union signature.  Associated ticket is #1372.

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

13 years agoRemoved PGXS and added explicit bin path variable. Works now in 8.4, 9.0 and 9.1...
Bborie Park [Tue, 13 Dec 2011 17:24:55 +0000 (17:24 +0000)]
Removed PGXS and added explicit bin path variable.  Works now in 8.4, 9.0 and 9.1.  Related ticket is #1370.

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

13 years agoDrop the old postgis_restore.pl and substitute it with the new one
Sandro Santilli [Tue, 13 Dec 2011 16:37:47 +0000 (16:37 +0000)]
Drop the old postgis_restore.pl and substitute it with the new one

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

13 years agoIgnore more Makefiles
Sandro Santilli [Tue, 13 Dec 2011 16:33:56 +0000 (16:33 +0000)]
Ignore more Makefiles

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

13 years agoStrictness fixes, internal docs
Sandro Santilli [Tue, 13 Dec 2011 16:33:50 +0000 (16:33 +0000)]
Strictness fixes, internal docs

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

13 years agoRevert change made in r8383. Install of loader doesn't work correctly without PGXS...
Bborie Park [Tue, 13 Dec 2011 15:04:03 +0000 (15:04 +0000)]
Revert change made in r8383.  Install of loader doesn't work correctly without PGXS.  Still need to figure out why LDFLAGS is getting eaten.

Associated ticket is #1370.

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

13 years agoRemoved PGXS as per ticket #1370.
Bborie Park [Tue, 13 Dec 2011 14:14:57 +0000 (14:14 +0000)]
Removed PGXS as per ticket #1370.

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

13 years agoMaintain the buffer-returns-areal invariant on empty input (#322)
Sandro Santilli [Tue, 13 Dec 2011 12:00:56 +0000 (12:00 +0000)]
Maintain the buffer-returns-areal invariant on empty input (#322)

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

13 years agotabs to spaces
Sandro Santilli [Tue, 13 Dec 2011 12:00:46 +0000 (12:00 +0000)]
tabs to spaces

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

13 years agoAlways output create ore replace view in upgrade scripts (#1097)
Sandro Santilli [Tue, 13 Dec 2011 10:38:19 +0000 (10:38 +0000)]
Always output create ore replace view in upgrade scripts (#1097)

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

13 years agoAllow function definitions to end with '$$ LANGUAGE' (#1365)
Sandro Santilli [Tue, 13 Dec 2011 09:59:10 +0000 (09:59 +0000)]
Allow function definitions to end with '$$ LANGUAGE' (#1365)

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

13 years agoUse warnings
Sandro Santilli [Tue, 13 Dec 2011 09:59:01 +0000 (09:59 +0000)]
Use warnings

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

13 years agoEncode dependency of upgrade script from the tool generating it
Sandro Santilli [Tue, 13 Dec 2011 09:58:54 +0000 (09:58 +0000)]
Encode dependency of upgrade script from the tool generating it

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

13 years agoAdd copyright headers, looking at SCM logs. Review welcome.
Sandro Santilli [Tue, 13 Dec 2011 09:16:09 +0000 (09:16 +0000)]
Add copyright headers, looking at SCM logs. Review welcome.

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

13 years agoText format cleanup in loader/raster2pgsql.c. Fixed missing target in scripts/Makefi...
Bborie Park [Tue, 13 Dec 2011 05:23:52 +0000 (05:23 +0000)]
Text format cleanup in loader/raster2pgsql.c.  Fixed missing target in scripts/Makefile.in

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

13 years agoAdded missing Makefile.in for raster/scripts
Bborie Park [Tue, 13 Dec 2011 05:11:53 +0000 (05:11 +0000)]
Added missing Makefile.in for raster/scripts

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

13 years agoSet svn:keywords for "$Id$"
Bborie Park [Tue, 13 Dec 2011 05:06:40 +0000 (05:06 +0000)]
Set svn:keywords for "$Id$"

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

13 years agoAdded version information.
Bborie Park [Tue, 13 Dec 2011 05:03:20 +0000 (05:03 +0000)]
Added version information.

Associated ticket is #1369.

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

13 years agoWith commit of C-based raster2pgsql in r8369, removed dependency checks on Python...
Bborie Park [Tue, 13 Dec 2011 03:00:12 +0000 (03:00 +0000)]
With commit of C-based raster2pgsql in r8369, removed dependency checks on Python, NumPy and GDAL with Python bindings.  You will want to run autogen.sh with this commit.  With this commit, the python-based raster2pgsql.py is now retired and unsupported.

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

13 years agoAdditional check with warnings if PostgreSQL identifiers exceed the standard maximum...
Bborie Park [Tue, 13 Dec 2011 01:58:50 +0000 (01:58 +0000)]
Additional check with warnings if PostgreSQL identifiers exceed the standard maximum length of 63 characters (64 counting NULL)

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

13 years agoAddition of C-based raster2pgsql in raster/loader. No changes have been made to...
Bborie Park [Mon, 12 Dec 2011 23:12:46 +0000 (23:12 +0000)]
Addition of C-based raster2pgsql in raster/loader.  No changes have been made to remove the existing python-based raster2pgsql.py nor remove the python dependency in configure.  Users will need to run autogen.sh after this revision.

Associated ticket is #1297.

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

13 years agoSkip constraints on raster_columns and raster_overviews
Sandro Santilli [Mon, 12 Dec 2011 22:42:36 +0000 (22:42 +0000)]
Skip constraints on raster_columns and raster_overviews

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

13 years agofix title
Regina Obe [Mon, 12 Dec 2011 22:38:41 +0000 (22:38 +0000)]
fix title

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

13 years agoRewrite spatial table constraints to add st_ prefix and use 0 rather than -1 for...
Sandro Santilli [Mon, 12 Dec 2011 22:22:57 +0000 (22:22 +0000)]
Rewrite spatial table constraints to add st_ prefix and use 0 rather than -1 for unknown

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

13 years agoFilter OPERATOR at the ASCII dump phase to have finer control over which operators...
Sandro Santilli [Mon, 12 Dec 2011 21:45:49 +0000 (21:45 +0000)]
Filter OPERATOR at the ASCII dump phase to have finer control over which operators are really skipped (#1368)

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

13 years agoanother example of ST_Union
Regina Obe [Mon, 12 Dec 2011 20:32:52 +0000 (20:32 +0000)]
another example of ST_Union

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

13 years agoexample of ST_Union
Regina Obe [Mon, 12 Dec 2011 20:23:57 +0000 (20:23 +0000)]
example of ST_Union

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

13 years agoDrop lwgeom_gist and dependent items, including from dumps (#1362)
Sandro Santilli [Mon, 12 Dec 2011 16:10:11 +0000 (16:10 +0000)]
Drop lwgeom_gist and dependent items, including from dumps (#1362)

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

13 years agoDo not restore metadata tables which now became views
Sandro Santilli [Mon, 12 Dec 2011 15:45:47 +0000 (15:45 +0000)]
Do not restore metadata tables which now became views

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

13 years agoCleanup item list: drop duplicates, add some missings
Sandro Santilli [Mon, 12 Dec 2011 15:28:30 +0000 (15:28 +0000)]
Cleanup item list: drop duplicates, add some missings

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

13 years agoRemove duplicated entries, add some missing ones
Sandro Santilli [Mon, 12 Dec 2011 15:28:25 +0000 (15:28 +0000)]
Remove duplicated entries, add some missing ones

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

13 years agoreduce ST_MakeEnvelope down to one function but make srid default to 0 (would be...
Regina Obe [Mon, 12 Dec 2011 12:17:21 +0000 (12:17 +0000)]
reduce ST_MakeEnvelope down to one function but make srid default to 0 (would be nice if we defined an @SRID_UNKNOWN in the sqldefine.h.in so I don't have to hard code this).  Get rid of other variant. changing to use default parameters doesn't seem to require dropping the function so only had to drop one of them

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

13 years agooops took out a tag by accident
Regina Obe [Mon, 12 Dec 2011 12:09:06 +0000 (12:09 +0000)]
oops took out a tag by accident

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

13 years agodocument the new ST_MakeEnvelope variant (pretend like its used default paramters...
Regina Obe [Mon, 12 Dec 2011 12:03:40 +0000 (12:03 +0000)]
document the new ST_MakeEnvelope variant (pretend like its used default paramters already), will fix the code later

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

13 years ago#1366 -- don't rely on state field being capitalized.
Regina Obe [Mon, 12 Dec 2011 02:20:04 +0000 (02:20 +0000)]
#1366 -- don't rely on state field being capitalized.

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

13 years agoforgot about max /min
Regina Obe [Sun, 11 Dec 2011 20:23:41 +0000 (20:23 +0000)]
forgot about max /min

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

13 years agochange generateor to display name for aggregates instead of id. For raster ids are...
Regina Obe [Sun, 11 Dec 2011 20:21:11 +0000 (20:21 +0000)]
change generateor to display name for aggregates instead of id.  For raster ids are different from name

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

13 years agopreliminary documentation for raster version of ST_Union aggregate function
Regina Obe [Sun, 11 Dec 2011 19:29:58 +0000 (19:29 +0000)]
preliminary documentation for raster version of ST_Union aggregate function

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

13 years agoRevisions to ST_Union for raster: get rid of dependency on rastexpr (and get rid...
Regina Obe [Sun, 11 Dec 2011 15:45:07 +0000 (15:45 +0000)]
Revisions to ST_Union for raster: get rid of dependency on rastexpr (and get rid of type), put in regress tests, get rid of many ST_Union permutations and limit to st_union(rast), st_union(rast,p_expression), st_union(rast,band_num), st_union(rast,band_num,p_expression).  Note for drop I'm not dropping those other versions in case people have installed them from scripts folder or are currently using them.  just dropping the ones I'm replacing.

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

13 years agofix function name typo in geocode_intersection
Regina Obe [Sun, 11 Dec 2011 02:42:57 +0000 (02:42 +0000)]
fix function name typo in geocode_intersection

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

13 years agominor edit
Regina Obe [Sat, 10 Dec 2011 18:08:44 +0000 (18:08 +0000)]
minor edit

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

13 years agofix error in logic
Regina Obe [Sat, 10 Dec 2011 18:03:02 +0000 (18:03 +0000)]
fix error in logic

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

13 years agomissed a spot
Regina Obe [Sat, 10 Dec 2011 16:56:18 +0000 (16:56 +0000)]
missed a spot

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

13 years agodescribe the example a bit better for ST_AddBand multi-band example
Regina Obe [Sat, 10 Dec 2011 16:55:38 +0000 (16:55 +0000)]
describe the example a bit better for ST_AddBand multi-band example

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

13 years ago#1361: fill in some more cases where hard/soft
Regina Obe [Sat, 10 Dec 2011 11:09:39 +0000 (11:09 +0000)]
#1361: fill in some more cases where hard/soft

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

13 years ago#1361: make it clearer that a hard upgrade is required of everyone.
Regina Obe [Sat, 10 Dec 2011 11:04:49 +0000 (11:04 +0000)]
#1361: make it clearer that a hard upgrade is required of everyone.

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

13 years agoST_AddBand version that takes an array of rasters
Regina Obe [Sat, 10 Dec 2011 03:12:06 +0000 (03:12 +0000)]
ST_AddBand version that takes an array of rasters

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

13 years agoFixed calls to the wrong memory allocation function in rtpg_XXX utility functions.
Bborie Park [Sat, 10 Dec 2011 01:20:40 +0000 (01:20 +0000)]
Fixed calls to the wrong memory allocation function in rtpg_XXX utility functions.

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

13 years agoCode refactoring in rtpg_ utility functions for better memory usage and syntax cleanu...
Bborie Park [Sat, 10 Dec 2011 01:01:37 +0000 (01:01 +0000)]
Code refactoring in rtpg_ utility functions for better memory usage and syntax cleanup in rt_api.*

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

13 years agoFixed missing $ in AddOverviewConstraint() which was setting 7 as the overview factor...
Bborie Park [Sat, 10 Dec 2011 01:00:25 +0000 (01:00 +0000)]
Fixed missing $ in AddOverviewConstraint() which was setting 7 as the overview factor instead of the value at $7.

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

13 years agoAdd all signatures found in a newly created PostGIS 2.0 database
Sandro Santilli [Fri, 9 Dec 2011 18:59:39 +0000 (18:59 +0000)]
Add all signatures found in a newly created PostGIS 2.0 database

See #1360

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

13 years agoAdd box3d related objects to skip in the _restore scripts (#1359)
Sandro Santilli [Fri, 9 Dec 2011 17:17:29 +0000 (17:17 +0000)]
Add box3d related objects to skip in the _restore scripts (#1359)

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

13 years agoRestrict disabled code to the one really hurting
Sandro Santilli [Fri, 9 Dec 2011 16:27:35 +0000 (16:27 +0000)]
Restrict disabled code to the one really hurting

See ticket #665 for more informations.
The commit also renames the test suite to "surface".

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

13 years agogbox_float_round: don't roundup Z value if the box doesn't have one
Sandro Santilli [Fri, 9 Dec 2011 15:33:14 +0000 (15:33 +0000)]
gbox_float_round: don't roundup Z value if the box doesn't have one

Fixes #1309

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

13 years agoAdd a public lwgeom_get_bbox function (#1324)
Sandro Santilli [Fri, 9 Dec 2011 14:37:16 +0000 (14:37 +0000)]
Add a public lwgeom_get_bbox function (#1324)

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

13 years agoDon't let lwgeom_add_bbox syntetize a fake box for empty geometries
Sandro Santilli [Fri, 9 Dec 2011 14:37:11 +0000 (14:37 +0000)]
Don't let lwgeom_add_bbox syntetize a fake box for empty geometries

Empty geometries have no box. Period.
Update GML extent output for empty geometries to handle the special
case by using empty tags. Regress test it.

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

13 years agoFix segfault in GML3 extent output (#1323)
Sandro Santilli [Fri, 9 Dec 2011 13:50:50 +0000 (13:50 +0000)]
Fix segfault in GML3 extent output (#1323)

Add support for srsDimension in GML3 extent output.
Add unit level comprensive regression testing.

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

13 years agoAllow calling ST_MakeEnvelope w/out a srid (#1339)
Sandro Santilli [Fri, 9 Dec 2011 12:25:37 +0000 (12:25 +0000)]
Allow calling ST_MakeEnvelope w/out a srid (#1339)

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

13 years agoAdd a gbox_overlaps_2d function, use when appropriate (#1357)
Sandro Santilli [Fri, 9 Dec 2011 11:18:09 +0000 (11:18 +0000)]
Add a gbox_overlaps_2d function, use when appropriate (#1357)

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

13 years agoGuard against NaN values in coordinates passing into GEOS (#627)
Paul Ramsey [Thu, 8 Dec 2011 22:16:08 +0000 (22:16 +0000)]
Guard against NaN values in coordinates passing into GEOS (#627)

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

13 years agoCheck that NaN coordinate values find their way into bboxes, they do, NaN is bigger...
Paul Ramsey [Thu, 8 Dec 2011 21:57:37 +0000 (21:57 +0000)]
Check that NaN coordinate values find their way into bboxes, they do, NaN is bigger than Inf, apparently.

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

13 years agoTest for bbox calculations when there's an infinite coordinate.
Paul Ramsey [Thu, 8 Dec 2011 21:26:39 +0000 (21:26 +0000)]
Test for bbox calculations when there's an infinite coordinate.

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

13 years agoReturn use of GDAL "natural" blocking removed in r8313 and refactor pointer handling.
Bborie Park [Thu, 8 Dec 2011 20:05:49 +0000 (20:05 +0000)]
Return use of GDAL "natural" blocking removed in r8313 and refactor pointer handling.

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

13 years agoRemove box3d_extent hack
Paul Ramsey [Thu, 8 Dec 2011 19:51:04 +0000 (19:51 +0000)]
Remove box3d_extent hack

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

13 years agoMake the ST_Equals test insensitive to minor box differences.
Paul Ramsey [Thu, 8 Dec 2011 17:54:38 +0000 (17:54 +0000)]
Make the ST_Equals test insensitive to minor box differences.

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

13 years agoAdd Jose and Even to credits
Regina Obe [Thu, 8 Dec 2011 14:44:46 +0000 (14:44 +0000)]
Add Jose and Even to credits

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

13 years agoAdd a note about ST_Estimated_Extent on empty or non-analyzed tables (#877)
Sandro Santilli [Thu, 8 Dec 2011 13:35:31 +0000 (13:35 +0000)]
Add a note about ST_Estimated_Extent on empty or non-analyzed tables (#877)

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

13 years agoHave ST_Estimated_Extent return NULL when no stats are found for a table.
Sandro Santilli [Thu, 8 Dec 2011 11:29:00 +0000 (11:29 +0000)]
Have ST_Estimated_Extent return NULL when no stats are found for a table.

No stats means empty table or no run of analyze. Warn about that.
These Fixes bug #877. Includes regress test.

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

13 years agoHush VACUUM and ANALYZE backend feedback while running tests
Sandro Santilli [Thu, 8 Dec 2011 11:28:53 +0000 (11:28 +0000)]
Hush VACUUM and ANALYZE backend feedback while running tests

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

13 years agotopology.AddToSearchPath: quote database identifier.
Sandro Santilli [Thu, 8 Dec 2011 08:07:58 +0000 (08:07 +0000)]
topology.AddToSearchPath: quote database identifier.

Thanks to Jose Carlos Martinez Llario <jomarlla@cgf.upv.es>

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

13 years agoAdded rt_raster_set_pixel_line for use when setting values for sequential pixels...
Bborie Park [Wed, 7 Dec 2011 20:46:47 +0000 (20:46 +0000)]
Added rt_raster_set_pixel_line for use when setting values for sequential pixels.  Should be faster than repeated calls to rt_raster_set_pixel.

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

13 years agoRefactored the GDALRasterIO part of rt_raster_from_gdal_dataset to use scanlines...
Bborie Park [Wed, 7 Dec 2011 15:29:46 +0000 (15:29 +0000)]
Refactored the GDALRasterIO part of rt_raster_from_gdal_dataset to use scanlines instead of "natural" blocks, which dramatically simplifies the code and makes it easier to maintain.

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

13 years agoalphabetize and update tester credits
Regina Obe [Wed, 7 Dec 2011 06:17:56 +0000 (06:17 +0000)]
alphabetize and update tester credits

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

13 years agoupdate license to provide detail about documentation license and copyright of data...
Regina Obe [Wed, 7 Dec 2011 03:41:57 +0000 (03:41 +0000)]
update license to provide detail about documentation license and copyright of data etc.

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

13 years agoFixed regression issue with rt_raster_from_gdal_dataset by explicitly setting the...
Bborie Park [Wed, 7 Dec 2011 01:15:46 +0000 (01:15 +0000)]
Fixed regression issue with rt_raster_from_gdal_dataset by explicitly setting the valid block sizes passed into GDALRasterIO.  Probably related to the changes made in r8309

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

13 years agoRemoved attempt to duplicate entire band in rt_raster_from_gdal_dataset
Bborie Park [Tue, 6 Dec 2011 16:48:12 +0000 (16:48 +0000)]
Removed attempt to duplicate entire band in rt_raster_from_gdal_dataset

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

13 years agoput some obsolete notes in existing management functions. Now that raster_columns...
Regina Obe [Tue, 6 Dec 2011 14:40:21 +0000 (14:40 +0000)]
put some obsolete notes in existing management functions.  Now that raster_columns is a view no longer need to use management functions to drop or add raster columns or tables.  Will document the new addconstraints etc. taht replaces much of these soon.

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

13 years agoAdd copyright header. Date and attribution looked up by SCM history.
Sandro Santilli [Tue, 6 Dec 2011 12:16:47 +0000 (12:16 +0000)]
Add copyright header. Date and attribution looked up by SCM history.

Verified by my own memory (I wrote the initial vesion of that file)

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

13 years agoResolved a bunch of memory issues related to use of SPI that have been bugging me...
Bborie Park [Tue, 6 Dec 2011 06:06:28 +0000 (06:06 +0000)]
Resolved a bunch of memory issues related to use of SPI that have been bugging me for a while.  Tested successfully in Linux 32 and 64-bit and OSX 64-bit.

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

13 years agoAs per discussions and ticket #1319, raster_columns and raster_overviews are now...
Bborie Park [Mon, 5 Dec 2011 18:58:51 +0000 (18:58 +0000)]
As per discussions and ticket #1319, raster_columns and raster_overviews are now constraint-based views.  AddRasterColumn, DropRasterColumn and DropRasterTable are now deprecated in favor of AddRasterConstraints and DropRasterConstraints.  Additional constraints are now available for enforcing the consistency of the rasters in a table.

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

13 years agoRemoved division by bin-width for when bin-widths are specified in ST_Histogram
Bborie Park [Mon, 5 Dec 2011 18:36:56 +0000 (18:36 +0000)]
Removed division by bin-width for when bin-widths are specified in ST_Histogram

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

13 years agoCorrectly free raster memory when handling NULL rasters.
Bborie Park [Mon, 5 Dec 2011 02:06:37 +0000 (02:06 +0000)]
Correctly free raster memory when handling NULL rasters.

Associated ticket is #1349

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

13 years ago#1343: get rid of geomvalxy and change ST_PixelAsPolygons to use default args and...
Regina Obe [Sat, 3 Dec 2011 08:29:50 +0000 (08:29 +0000)]
#1343: get rid of geomvalxy and change ST_PixelAsPolygons to use default args and do without geomvalxy

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

13 years ago#1338 - document ST_PixelWidth/Height
Regina Obe [Sat, 3 Dec 2011 07:24:02 +0000 (07:24 +0000)]
#1338 - document ST_PixelWidth/Height

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

13 years agoRemoved VARIADIC from ST_BandMetadata. Associated ticket is #1343.
Bborie Park [Sat, 3 Dec 2011 06:54:04 +0000 (06:54 +0000)]
Removed VARIADIC from ST_BandMetadata.  Associated ticket is #1343.

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

13 years ago#1346: fix misuse of quote_literal causing topology, topology, topology, topology
Regina Obe [Fri, 2 Dec 2011 17:44:26 +0000 (17:44 +0000)]
#1346: fix misuse of quote_literal causing topology, topology, topology, topology

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

13 years agoEncode dependency of topology.sql on ManageHelper.sql
Sandro Santilli [Fri, 2 Dec 2011 17:28:16 +0000 (17:28 +0000)]
Encode dependency of topology.sql on ManageHelper.sql

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

13 years agomore revisions to cross streets logic -- don't rely on start point working with multi...
Regina Obe [Fri, 2 Dec 2011 15:43:01 +0000 (15:43 +0000)]
more revisions to cross streets logic -- don't rely on start point working with multilinestrings. change tfid to be unique index on faces.

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

13 years agoAdded cleanup statements for bandmetatype type and change function signature for...
Bborie Park [Fri, 2 Dec 2011 15:22:33 +0000 (15:22 +0000)]
Added cleanup statements for bandmetatype type and change function signature for st_bandmetadata.

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

13 years agoRemoved the type bandmetadata as per #1343.
Bborie Park [Fri, 2 Dec 2011 15:13:44 +0000 (15:13 +0000)]
Removed the type bandmetadata as per #1343.

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

13 years agomove geocode_intersection.sql to user api section since it is documented.
Regina Obe [Fri, 2 Dec 2011 08:07:15 +0000 (08:07 +0000)]
move geocode_intersection.sql to user api section since it is documented.

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

13 years agotry to make emphasis bold by putting in a role='bold'
Regina Obe [Fri, 2 Dec 2011 06:27:51 +0000 (06:27 +0000)]
try to make emphasis bold by putting in a role='bold'

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

13 years agoreplace ~= with ST_OrderingEquals (now that we got rid of recheck the older ~= no...
Regina Obe [Thu, 1 Dec 2011 20:41:20 +0000 (20:41 +0000)]
replace ~= with ST_OrderingEquals (now that we got rid of recheck the older ~= no longer is a truish geometry equality operator

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

13 years agoemphasize approximate in KNN operators to reduce the chance of any misunderstandings
Regina Obe [Thu, 1 Dec 2011 20:37:22 +0000 (20:37 +0000)]
emphasize approximate in KNN operators to reduce the chance of any misunderstandings

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

13 years agomake compatible with postgresql 8.4, more speed improvements
Regina Obe [Thu, 1 Dec 2011 19:06:41 +0000 (19:06 +0000)]
make compatible with postgresql 8.4, more speed improvements

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

13 years agomissed a spot about occasions where point distance is not same as <->
Regina Obe [Thu, 1 Dec 2011 17:52:15 +0000 (17:52 +0000)]
missed a spot about occasions where point distance is not same as <->

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

13 years agotry to clarify accuracy etc. of <#> and <->
Regina Obe [Thu, 1 Dec 2011 17:38:08 +0000 (17:38 +0000)]
try to clarify accuracy etc. of <#> and <->

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

13 years agoTicket 1342. Integrate ST_PixelAsPolygons into rtpostgis.sql
Pierre Racine [Thu, 1 Dec 2011 16:14:16 +0000 (16:14 +0000)]
Ticket 1342. Integrate ST_PixelAsPolygons into rtpostgis.sql

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

13 years agoReturn null when band number does not exist.
Pierre Racine [Thu, 1 Dec 2011 16:07:24 +0000 (16:07 +0000)]
Return null when band number does not exist.

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