]> granicus.if.org Git - postgis/log
postgis
13 years agoReport full exception string on ST_Intersection failure (see #1173)
Sandro Santilli [Fri, 16 Dec 2011 15:16:47 +0000 (15:16 +0000)]
Report full exception string on ST_Intersection failure (see #1173)

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

13 years agoAdd test for #1344 (can't dump invalid geometries)
Sandro Santilli [Fri, 16 Dec 2011 14:59:34 +0000 (14:59 +0000)]
Add test for #1344 (can't dump invalid geometries)

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

13 years agofix more typos
Regina Obe [Fri, 16 Dec 2011 04:34:24 +0000 (04:34 +0000)]
fix more typos

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

13 years agomore typo fix
Regina Obe [Fri, 16 Dec 2011 04:27:48 +0000 (04:27 +0000)]
more typo fix

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

13 years agofix more typos
Regina Obe [Fri, 16 Dec 2011 04:24:37 +0000 (04:24 +0000)]
fix more typos

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

13 years agoflesh out creating rasters section a bit.
Regina Obe [Fri, 16 Dec 2011 04:21:43 +0000 (04:21 +0000)]
flesh out creating rasters section a bit.

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

13 years agostart best practices stuff and break up loading and creating into two separate sections.
Regina Obe [Fri, 16 Dec 2011 01:41:59 +0000 (01:41 +0000)]
start best practices stuff and break up loading and creating into two separate sections.

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

13 years agocosmetic change to lists
Regina Obe [Fri, 16 Dec 2011 01:25:20 +0000 (01:25 +0000)]
cosmetic change to lists

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

13 years agoAddition of C-based ST_MinPossibleValue to replace the existing ST_MinPossibleVal...
Bborie Park [Fri, 16 Dec 2011 01:11:21 +0000 (01:11 +0000)]
Addition of C-based ST_MinPossibleValue to replace the existing ST_MinPossibleVal which uses hard-coded values.  Updated dependent functions and scripts/plpgsql to use new function.  Deleted scripts/plpgsql/st_minpossibleval.sql to stop people from using it.  Associated ticket is #1298.

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

13 years agoJust changes to the comments of ST_Intersection(geometry, raster)
Bborie Park [Fri, 16 Dec 2011 00:09:03 +0000 (00:09 +0000)]
Just changes to the comments of ST_Intersection(geometry, raster)

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

13 years agoAddition of two-raster ST_Intersection function set in raster-space well as another...
Bborie Park [Thu, 15 Dec 2011 23:47:25 +0000 (23:47 +0000)]
Addition of two-raster ST_Intersection function set in raster-space well as another set for raster,geometry ST_Intersection in raster-space.  Associated ticket is #1381

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

13 years agoRenamed function parameters for ST_SameAlignment and ST_Intersects so that the names...
Bborie Park [Thu, 15 Dec 2011 23:43:00 +0000 (23:43 +0000)]
Renamed function parameters for ST_SameAlignment and ST_Intersects so that the names follow the convention used for similarly purposed parameters of other raster functions.

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

13 years agoAllow calling geography_in with less than 3 args (see #1320)
Sandro Santilli [Thu, 15 Dec 2011 23:29:39 +0000 (23:29 +0000)]
Allow calling geography_in with less than 3 args (see #1320)

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

13 years agoCheck typmod on geometry input. Fixes before triggers (#1320)
Sandro Santilli [Thu, 15 Dec 2011 23:26:28 +0000 (23:26 +0000)]
Check typmod on geometry input. Fixes before triggers (#1320)

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

13 years agoFix documentation for the new option for GML box output
Sandro Santilli [Thu, 15 Dec 2011 15:11:40 +0000 (15:11 +0000)]
Fix documentation for the new option for GML box output

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

13 years agomore error fixes and change ordered lists to itemized lists
Regina Obe [Thu, 15 Dec 2011 02:19:39 +0000 (02:19 +0000)]
more error fixes and change ordered lists to itemized lists

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

13 years agofix invalid link end
Regina Obe [Thu, 15 Dec 2011 02:17:20 +0000 (02:17 +0000)]
fix invalid link end

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

13 years agoget rid of extra tag
Regina Obe [Thu, 15 Dec 2011 02:15:15 +0000 (02:15 +0000)]
get rid of extra tag

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

13 years agocorrect regular_blocking definition, add descriptions for raster_overview columns
Regina Obe [Thu, 15 Dec 2011 02:14:28 +0000 (02:14 +0000)]
correct regular_blocking definition, add descriptions for raster_overview columns

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

13 years agomore reasons why we have raster overviews
Regina Obe [Thu, 15 Dec 2011 01:56:39 +0000 (01:56 +0000)]
more reasons why we have raster overviews

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

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