]>
granicus.if.org Git - postgis/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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