Commit graph

6889 commits

Author SHA1 Message Date
Sandro Santilli 9ecf9421a3 Add test for #1344 (can't dump invalid geometries)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8444 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-16 14:59:34 +00:00
Regina Obe 1f75115536 fix more typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@8442 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-16 04:34:24 +00:00
Regina Obe e535116068 more typo fix
git-svn-id: http://svn.osgeo.org/postgis/trunk@8441 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-16 04:27:48 +00:00
Regina Obe 573bbef582 fix more typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@8440 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-16 04:24:37 +00:00
Regina Obe c72f42808b flesh out creating rasters section a bit.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8439 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-16 04:21:43 +00:00
Regina Obe 62c10a991e 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
2011-12-16 01:41:59 +00:00
Regina Obe db620a7d04 cosmetic change to lists
git-svn-id: http://svn.osgeo.org/postgis/trunk@8437 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-16 01:25:20 +00:00
Bborie Park 7edd2ae967 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
2011-12-16 01:11:21 +00:00
Bborie Park b87956b7d3 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
2011-12-16 00:09:03 +00:00
Bborie Park 9e994cde30 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
2011-12-15 23:47:25 +00:00
Bborie Park 0dde860266 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
2011-12-15 23:43:00 +00:00
Sandro Santilli 62ec1d1e22 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
2011-12-15 23:29:39 +00:00
Sandro Santilli 5695c7f69c Check typmod on geometry input. Fixes before triggers (#1320)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8431 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-15 23:26:28 +00:00
Sandro Santilli cf368abd61 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
2011-12-15 15:11:40 +00:00
Regina Obe 3015f7a14d 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
2011-12-15 02:19:39 +00:00
Regina Obe 33168936d0 fix invalid link end
git-svn-id: http://svn.osgeo.org/postgis/trunk@8428 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-15 02:17:20 +00:00
Regina Obe 849288bf81 get rid of extra tag
git-svn-id: http://svn.osgeo.org/postgis/trunk@8427 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-15 02:15:15 +00:00
Regina Obe c559bc0b85 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
2011-12-15 02:14:28 +00:00
Regina Obe c81bd48f6c more reasons why we have raster overviews
git-svn-id: http://svn.osgeo.org/postgis/trunk@8425 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-15 01:56:39 +00:00
Regina Obe ae47ce8563 Start raster_overviews section
git-svn-id: http://svn.osgeo.org/postgis/trunk@8424 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-15 01:54:12 +00:00
Bborie Park e105d93474 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
2011-12-15 00:21:31 +00:00
Bborie Park 0dec0afaba 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
2011-12-15 00:16:00 +00:00
Bborie Park c79a760c46 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
2011-12-14 23:51:24 +00:00
Bborie Park 22f3da85c9 Added DROP CAST and DROP FUNCTION for box2d.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8420 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 23:02:37 +00:00
Bborie Park 03521be301 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
2011-12-14 22:57:58 +00:00
Bborie Park fce6e3a842 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
2011-12-14 22:23:42 +00:00
Regina Obe 509f2ba08b document raster_columns catalog view
git-svn-id: http://svn.osgeo.org/postgis/trunk@8417 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 22:14:32 +00:00
Sandro Santilli e16aeffbcd 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
2011-12-14 18:33:03 +00:00
Sandro Santilli c35cc257f9 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
2011-12-14 18:25:05 +00:00
Sandro Santilli 15d448b1e1 Crossref ST_InteriorRingN with ST_ExteriorRing
git-svn-id: http://svn.osgeo.org/postgis/trunk@8414 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 18:24:57 +00:00
Sandro Santilli e0ef34d6d8 Drop temporary files if there are no failures (#1376)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8413 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 17:13:46 +00:00
Sandro Santilli 8b9b187c8e 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
2011-12-14 16:02:44 +00:00
Sandro Santilli ebcbd6dc1a 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
2011-12-14 15:07:27 +00:00
Sandro Santilli ace7034eda Enable a test for an old bugfix (#683)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8410 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 14:46:45 +00:00
Sandro Santilli bd52e9708d 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
2011-12-14 14:46:39 +00:00
Sandro Santilli ed841457ad 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
2011-12-14 14:37:18 +00:00
Regina Obe da780f4405 minor corrections / enhancements
git-svn-id: http://svn.osgeo.org/postgis/trunk@8407 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 14:25:41 +00:00
Sandro Santilli f4a53f17dc Drop topology specific versioning
git-svn-id: http://svn.osgeo.org/postgis/trunk@8406 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 13:31:07 +00:00
Sandro Santilli 142a5bb70f Add more skip signatures, from interim builds
git-svn-id: http://svn.osgeo.org/postgis/trunk@8405 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-14 13:31:00 +00:00
Regina Obe 7f6cbad4a9 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
2011-12-14 11:22:38 +00:00
Regina Obe 03acdb1ab8 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
2011-12-14 10:44:58 +00:00
Regina Obe 48b7901285 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
2011-12-14 10:06:31 +00:00
Sandro Santilli 8f1bab3976 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
2011-12-14 07:59:43 +00:00
Regina Obe 58b928ca92 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
2011-12-14 02:54:17 +00:00
Bborie Park 3013693cc7 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
2011-12-14 02:31:13 +00:00
Bborie Park f69eaab85a 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
2011-12-14 01:22:54 +00:00
Sandro Santilli ad5be432f8 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
2011-12-13 23:29:33 +00:00
Bborie Park bc5904d25e 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
2011-12-13 23:21:31 +00:00
Regina Obe 77136fc816 Add -Y copy switch
git-svn-id: http://svn.osgeo.org/postgis/trunk@8395 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-13 22:39:19 +00:00
Regina Obe d83d800336 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
2011-12-13 21:58:41 +00:00