]> granicus.if.org Git - postgis/log
postgis
13 years agoStart raster_overviews section
Regina Obe [Thu, 15 Dec 2011 01:54:12 +0000 (01:54 +0000)]
Start raster_overviews section

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

13 years agoRenamed st_bytea to bytea as per PostGIS convention. Existing databases will not...
Bborie Park [Thu, 15 Dec 2011 00:21:31 +0000 (00:21 +0000)]
Renamed st_bytea to bytea as per PostGIS convention.  Existing databases will not be affected if upgraded using the upgrade scripts.  Associated ticket is #1003

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

13 years agoCommented out the dropping of box2d casts as the upgrade scripts won't install the...
Bborie Park [Thu, 15 Dec 2011 00:16:00 +0000 (00:16 +0000)]
Commented out the dropping of box2d casts as the upgrade scripts won't install the box3d casts.

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

13 years agoRenamed operator functions and made appropriate changes to associated operators to...
Bborie Park [Wed, 14 Dec 2011 23:51:24 +0000 (23:51 +0000)]
Renamed operator functions and made appropriate changes to associated operators to be inline with usage for geometry and geography.  Associated ticket is #633.  Existing users will not be affected as the upgrade scripts do not drop or add new operators.

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

13 years agoAdded DROP CAST and DROP FUNCTION for box2d.
Bborie Park [Wed, 14 Dec 2011 23:02:37 +0000 (23:02 +0000)]
Added DROP CAST and DROP FUNCTION for box2d.

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

13 years agoDropped casts to box2d and replaced with casts to box3d. Associated ticket is #1330.
Bborie Park [Wed, 14 Dec 2011 22:57:58 +0000 (22:57 +0000)]
Dropped casts to box2d and replaced with casts to box3d.  Associated ticket is #1330.

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

13 years agoAdded option -G to get listing of supported raster types instead of calling ST_GDALDr...
Bborie Park [Wed, 14 Dec 2011 22:23:42 +0000 (22:23 +0000)]
Added option -G to get listing of supported raster types instead of calling ST_GDALDrivers in SQL.  Had to tweak rt_raster_gdal_drivers in rt_api.c to not limit drivers based upon creation capabilities.  Associated ticket is #1374.
Added ability to specify band indices with ranges for option -b.  Example: -b 1-5,7,9-15.  Associated ticket is #1375.
Added warning messages when loader is processing more than one raster and rasters may have different number of bands, pixel types, hasnodata flags, NODATA values, geotransforms andtile sizes.  Associated ticket is #153.

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

13 years agodocument raster_columns catalog view
Regina Obe [Wed, 14 Dec 2011 22:14:32 +0000 (22:14 +0000)]
document raster_columns catalog view

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

13 years agoMake dropping of log files fully controlled by switch (#1376)
Sandro Santilli [Wed, 14 Dec 2011 18:33:03 +0000 (18:33 +0000)]
Make dropping of log files fully controlled by switch (#1376)

This is because hudson wants to report the regress.log in any case

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

13 years agoRegress test all behaviors involving EMPTY geometries
Sandro Santilli [Wed, 14 Dec 2011 18:25:05 +0000 (18:25 +0000)]
Regress test all behaviors involving EMPTY geometries

See http://trac.osgeo.org/postgis/wiki/DevWikiEmptyGeometry
Changes ST_NumPoints and ST_ExteriorRing to behave requested.
Keeps ST_InteriorRingN returning NULL, as per "n is out of range"

Closes #692

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

13 years agoCrossref ST_InteriorRingN with ST_ExteriorRing
Sandro Santilli [Wed, 14 Dec 2011 18:24:57 +0000 (18:24 +0000)]
Crossref ST_InteriorRingN with ST_ExteriorRing

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

13 years agoDrop temporary files if there are no failures (#1376)
Sandro Santilli [Wed, 14 Dec 2011 17:13:46 +0000 (17:13 +0000)]
Drop temporary files if there are no failures (#1376)

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

13 years agoFix crash on ST_AsGML('POLYGON EMPTY') (#681)
Sandro Santilli [Wed, 14 Dec 2011 16:02:44 +0000 (16:02 +0000)]
Fix crash on ST_AsGML('POLYGON EMPTY') (#681)

Also tweak GML of empty types to be smaller and include
regression testing both at the liblwgeom and sql level

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

13 years agoFix a typo from last commit, stub test for GML emptyness
Sandro Santilli [Wed, 14 Dec 2011 15:07:27 +0000 (15:07 +0000)]
Fix a typo from last commit, stub test for GML emptyness

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

13 years agoEnable a test for an old bugfix (#683)
Sandro Santilli [Wed, 14 Dec 2011 14:46:45 +0000 (14:46 +0000)]
Enable a test for an old bugfix (#683)

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

13 years agoMove the EMPTY buffer test from tickets.sql to empty.sql
Sandro Santilli [Wed, 14 Dec 2011 14:46:39 +0000 (14:46 +0000)]
Move the EMPTY buffer test from tickets.sql to empty.sql

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

13 years agoReturn empty geoms snapped to a grid as immutated (#1089)
Sandro Santilli [Wed, 14 Dec 2011 14:37:18 +0000 (14:37 +0000)]
Return empty geoms snapped to a grid as immutated (#1089)

Also introduces an "empty" regression test

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

13 years agominor corrections / enhancements
Regina Obe [Wed, 14 Dec 2011 14:25:41 +0000 (14:25 +0000)]
minor corrections / enhancements

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

13 years agoDrop topology specific versioning
Sandro Santilli [Wed, 14 Dec 2011 13:31:07 +0000 (13:31 +0000)]
Drop topology specific versioning

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

13 years agoAdd more skip signatures, from interim builds
Sandro Santilli [Wed, 14 Dec 2011 13:31:00 +0000 (13:31 +0000)]
Add more skip signatures, from interim builds

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

13 years agominor change to rtpostgis_drop so can more easily drop from extension for extension...
Regina Obe [Wed, 14 Dec 2011 11:22:38 +0000 (11:22 +0000)]
minor change to rtpostgis_drop so can more easily drop from extension for extension install.  Many changes to extensions so can use native postgis upgarde and raster upgrade scripts. bump up version numbers

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

13 years agofix errors in documentation and comment scripts preveningt comments install from...
Regina Obe [Wed, 14 Dec 2011 10:44:58 +0000 (10:44 +0000)]
fix errors in documentation and comment scripts preveningt comments install from installing cleanly

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

13 years agoGet rid of removed AddRasterTable,Column etc and replace with newer AddRasterConstrai...
Regina Obe [Wed, 14 Dec 2011 10:06:31 +0000 (10:06 +0000)]
Get rid of removed AddRasterTable,Column etc and replace with newer AddRasterConstraints/DropRasterConstraints

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

13 years agoAdd -v switch to postgis_restore.pl, tweak usage and debug output
Sandro Santilli [Wed, 14 Dec 2011 07:59:43 +0000 (07:59 +0000)]
Add -v switch to postgis_restore.pl, tweak usage and debug output

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

13 years agoAdd stub section describing the raster_columns and raster_overview catalog views...
Regina Obe [Wed, 14 Dec 2011 02:54:17 +0000 (02:54 +0000)]
Add stub section describing the raster_columns and raster_overview catalog views.  Also fix typo.  More coming.

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

13 years agoAs per discussion in postgis-devel regarding Ubuntu 11.10, tweaked the order in which...
Bborie Park [Wed, 14 Dec 2011 02:31:13 +0000 (02:31 +0000)]
As per discussion in postgis-devel regarding Ubuntu 11.10, tweaked the order in which -lm is passed to LDFLAGS

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

13 years agoRefactored for less memory usage by aggresively flushing string buffers.
Bborie Park [Wed, 14 Dec 2011 01:22:54 +0000 (01:22 +0000)]
Refactored for less memory usage by aggresively flushing string buffers.

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

13 years agoDisable triggers on the topology.layer table during restore, to allow population...
Sandro Santilli [Tue, 13 Dec 2011 23:29:33 +0000 (23:29 +0000)]
Disable triggers on the topology.layer table during restore, to allow population in random order (#1371)

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

13 years agoAs per discussion in ticket #1373, convert raster constraints with floating point...
Bborie Park [Tue, 13 Dec 2011 23:21:31 +0000 (23:21 +0000)]
As per discussion in ticket #1373, convert raster constraints with floating point values (scalex, scaley, nodata values) into numeric(16,10) for comparison due to precision issues.

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

13 years agoAdd -Y copy switch
Regina Obe [Tue, 13 Dec 2011 22:39:19 +0000 (22:39 +0000)]
Add -Y copy switch

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

13 years agomore examples -- put in a missing copy switch -- more switches to add.
Regina Obe [Tue, 13 Dec 2011 21:58:41 +0000 (21:58 +0000)]
more examples -- put in a missing copy switch -- more switches to add.

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

13 years agoFixed handling of output ranges going from high to low rather than the default of...
Bborie Park [Tue, 13 Dec 2011 21:19:54 +0000 (21:19 +0000)]
Fixed handling of output ranges going from high to low rather than the default of values going from low to high.  Based upon message on postgis-users: http://postgis.refractions.net/pipermail/postgis-users/2011-December/031763.html

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

13 years agoFixed incorrect entity using_raster_dataman.
Bborie Park [Tue, 13 Dec 2011 20:05:47 +0000 (20:05 +0000)]
Fixed incorrect entity using_raster_dataman.

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

13 years agobreak raste loder into its own data management chapter -- this chapter will expand...
Regina Obe [Tue, 13 Dec 2011 19:15:37 +0000 (19:15 +0000)]
break raste loder into its own data management chapter -- this chapter will expand in time.  Get rid of how to use old raster2pgsql.py and replace with instructions on using raster2pgsql executable.

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

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