]> granicus.if.org Git - postgis/log
postgis
13 years agoGenerate uninstall_rtpostgis.sql (#301)
Sandro Santilli [Sat, 24 Dec 2011 09:56:56 +0000 (09:56 +0000)]
Generate uninstall_rtpostgis.sql (#301)

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

13 years agoAdditional work to remove DROP FUNCTION statements depending upon prior DROP TYPE...
Bborie Park [Sat, 24 Dec 2011 02:51:02 +0000 (02:51 +0000)]
Additional work to remove DROP FUNCTION statements depending upon prior DROP TYPE ... CASCADE statements that generate ERRORs

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

13 years agoInstead of using spatial reference text in WKT format, use PROJ.4 format when possibl...
Bborie Park [Sat, 24 Dec 2011 01:14:16 +0000 (01:14 +0000)]
Instead of using spatial reference text in WKT format, use PROJ.4 format when possible.  This does mean that in situations that require WKT format, rt_raster_gdal_sr must be called to convert from one format to the other.

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

13 years agoFix issue with RASTER_sameAlignment where the deserializing of the raster is not...
Bborie Park [Sat, 24 Dec 2011 01:08:20 +0000 (01:08 +0000)]
Fix issue with RASTER_sameAlignment where the deserializing of the raster is not being limited to just the header.

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

13 years agosupport multiline function signatures at the parsing stage too...
Sandro Santilli [Fri, 23 Dec 2011 17:33:13 +0000 (17:33 +0000)]
support multiline function signatures at the parsing stage too...

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

13 years agoAdd support for multiline function signatures
Sandro Santilli [Fri, 23 Dec 2011 17:30:20 +0000 (17:30 +0000)]
Add support for multiline function signatures

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

13 years agoOverview constraints should always be added regardless of whether or not the user...
Bborie Park [Fri, 23 Dec 2011 17:01:15 +0000 (17:01 +0000)]
Overview constraints should always be added regardless of whether or not the user requests raster constraints.

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

13 years agoWrite header in the files generated by create_undef.pl
Sandro Santilli [Fri, 23 Dec 2011 16:49:59 +0000 (16:49 +0000)]
Write header in the files generated by create_undef.pl

Header includes license, creation timestamp and input filename

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

13 years agoSimplify uninstall_postgis.sql rule, drop the manual edited version
Sandro Santilli [Fri, 23 Dec 2011 16:49:53 +0000 (16:49 +0000)]
Simplify uninstall_postgis.sql rule, drop the manual edited version

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

13 years agoFixed erroneous addition of filename to overviews when the flags -l -F -Y are combined.
Bborie Park [Fri, 23 Dec 2011 16:39:04 +0000 (16:39 +0000)]
Fixed erroneous addition of filename to overviews when the flags -l -F -Y are combined.

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

13 years agoFixed for better path handling
Bborie Park [Fri, 23 Dec 2011 16:22:34 +0000 (16:22 +0000)]
Fixed for better path handling

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

13 years agoput in sections for postgis extensions. Probably will need some cleanup.
Regina Obe [Fri, 23 Dec 2011 16:18:30 +0000 (16:18 +0000)]
put in sections for postgis extensions.  Probably will need some cleanup.

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

13 years agoIgnore generated comment files
Sandro Santilli [Fri, 23 Dec 2011 16:14:52 +0000 (16:14 +0000)]
Ignore generated comment files

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

13 years agoIgnore generated raster files
Sandro Santilli [Fri, 23 Dec 2011 16:14:48 +0000 (16:14 +0000)]
Ignore generated raster files

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

13 years agoLet create_undef.pl generate uninstall_postgis.sql
Sandro Santilli [Fri, 23 Dec 2011 16:14:44 +0000 (16:14 +0000)]
Let create_undef.pl generate uninstall_postgis.sql

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

13 years agoCleanup after loader test runs, fixing uninstall testing
Sandro Santilli [Fri, 23 Dec 2011 16:14:39 +0000 (16:14 +0000)]
Cleanup after loader test runs, fixing uninstall testing

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

13 years agoDrop objects created by the tests
Sandro Santilli [Fri, 23 Dec 2011 16:14:35 +0000 (16:14 +0000)]
Drop objects created by the tests

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

13 years agoFix create_undef.pl script to generate correct uninstall script
Sandro Santilli [Fri, 23 Dec 2011 16:14:28 +0000 (16:14 +0000)]
Fix create_undef.pl script to generate correct uninstall script

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

13 years agoAdded uninstall_script to facilitate generation of uninstall_postgis.sql and uninstal...
Bborie Park [Fri, 23 Dec 2011 16:04:53 +0000 (16:04 +0000)]
Added uninstall_script to facilitate generation of uninstall_postgis.sql and uninstall_rtpostgis.sql.  It could still use additional validation and cleaning up of the output uninstall sql files.

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

13 years agominor code change to make example a bit shorter
Regina Obe [Fri, 23 Dec 2011 13:20:50 +0000 (13:20 +0000)]
minor code change to make example a bit shorter

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

13 years agofix some erroneous statements about ST_Clip and provide example demonstrating trimras...
Regina Obe [Fri, 23 Dec 2011 13:06:28 +0000 (13:06 +0000)]
fix some erroneous statements about ST_Clip and provide example demonstrating trimraster argument effect

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

13 years agofix unbalanced tag
Regina Obe [Fri, 23 Dec 2011 08:53:18 +0000 (08:53 +0000)]
fix unbalanced tag

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

13 years agosome cosmetic cleanup
Regina Obe [Fri, 23 Dec 2011 08:38:58 +0000 (08:38 +0000)]
some cosmetic cleanup

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

13 years agoexample of st_clip with pictures
Regina Obe [Fri, 23 Dec 2011 08:35:07 +0000 (08:35 +0000)]
example of st_clip with pictures

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

13 years agostart documenting ST_Clip
Regina Obe [Fri, 23 Dec 2011 07:58:06 +0000 (07:58 +0000)]
start documenting ST_Clip

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

13 years agofill in missing protos for droprasterconstraints / addrasterconstraints
Regina Obe [Thu, 22 Dec 2011 19:09:44 +0000 (19:09 +0000)]
fill in missing protos for droprasterconstraints / addrasterconstraints

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

13 years agomake title a little shorter
Regina Obe [Thu, 22 Dec 2011 13:24:35 +0000 (13:24 +0000)]
make title a little shorter

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

13 years agochanging titles -- raster data man I'm eventually going to throw in mapserver, .net...
Regina Obe [Thu, 22 Dec 2011 13:23:01 +0000 (13:23 +0000)]
changing titles -- raster data man I'm eventually going to throw in mapserver, .net, jdbc examples cause I'm too lazy to create a separate chapter.  The postgis app section is really specific to postgis geometry since it doesn't talk about raster or geography at all.

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

13 years agominor error in statement
Regina Obe [Thu, 22 Dec 2011 13:18:56 +0000 (13:18 +0000)]
minor error in statement

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

13 years agoDrop operator families, not classes (#543)
Sandro Santilli [Thu, 22 Dec 2011 11:20:10 +0000 (11:20 +0000)]
Drop operator families, not classes (#543)

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

13 years agoEncode dependency of uninstall_postgis.sql on included files
Sandro Santilli [Thu, 22 Dec 2011 11:20:05 +0000 (11:20 +0000)]
Encode dependency of uninstall_postgis.sql on included files

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

13 years agoAdd more uninstall objects found by uninstall test (#1397)
Sandro Santilli [Thu, 22 Dec 2011 11:20:01 +0000 (11:20 +0000)]
Add more uninstall objects found by uninstall test (#1397)

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

13 years agoCount objects in the _regress_ database, not elsewhere (#1397)
Sandro Santilli [Thu, 22 Dec 2011 11:19:56 +0000 (11:19 +0000)]
Count objects in the _regress_ database, not elsewhere (#1397)

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

13 years agoFix testing of uninstall script count [#1397]
Sandro Santilli [Thu, 22 Dec 2011 10:21:31 +0000 (10:21 +0000)]
Fix testing of uninstall script count [#1397]

This commit also adds new utility functions and skips testing
uninstall when raster or topology are enabled.

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

13 years agoFix uninstall script [#1153]
Sandro Santilli [Thu, 22 Dec 2011 10:21:27 +0000 (10:21 +0000)]
Fix uninstall script [#1153]

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

13 years agoDeprecate Polygonize and Collect aggregates [#1400]
Sandro Santilli [Thu, 22 Dec 2011 10:21:21 +0000 (10:21 +0000)]
Deprecate Polygonize and Collect aggregates [#1400]

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

13 years agoEncode dependency of postgis.sql from included scripts
Sandro Santilli [Thu, 22 Dec 2011 10:21:16 +0000 (10:21 +0000)]
Encode dependency of postgis.sql from included scripts

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

13 years agoEncode dependency of postgis objects on postgis_config.h
Sandro Santilli [Thu, 22 Dec 2011 10:21:12 +0000 (10:21 +0000)]
Encode dependency of postgis objects on postgis_config.h

Fixes ./configure && make check after switching between different
PostgreSQL versions.

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

13 years agoAdd testing for uninstall_postgis.sql [#1397]
Sandro Santilli [Thu, 22 Dec 2011 10:21:07 +0000 (10:21 +0000)]
Add testing for uninstall_postgis.sql [#1397]

The uninstall currently fails due to #1153

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

13 years agoDon't depend on bytea representation for unrelated tests.
Sandro Santilli [Thu, 22 Dec 2011 08:23:32 +0000 (08:23 +0000)]
Don't depend on bytea representation for unrelated tests.

Fix testing against PostgreSQL 9.0+.

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

13 years agoReplace INFINITY with MAXFLOAT. Should fix Solaris build [#1396]
Sandro Santilli [Thu, 22 Dec 2011 08:01:43 +0000 (08:01 +0000)]
Replace INFINITY with MAXFLOAT. Should fix Solaris build [#1396]

I don't think it makes a difference as those functions are not
documented about the exceptional return, and no regression test
fails with the change.

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

13 years agoMove SPI_finish to after elog calls. This seems to fix the regression failure in...
Paul Ramsey [Thu, 22 Dec 2011 05:48:52 +0000 (05:48 +0000)]
Move SPI_finish to after elog calls. This seems to fix the regression failure in 877, though why is not clear. Is SPI_finish removing a memory context that palloc has allocated things inside? This would explain the odd result (tbl and col variables get emptied upon call to SPI_finish).

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

13 years agochange ST_Reclass example to use less verbose ST_AddBand array syntax
Regina Obe [Wed, 21 Dec 2011 21:49:17 +0000 (21:49 +0000)]
change ST_Reclass example to use less verbose ST_AddBand array syntax

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

13 years agoST_Azimuth on the spheroid (#1305)
Paul Ramsey [Wed, 21 Dec 2011 19:07:02 +0000 (19:07 +0000)]
ST_Azimuth on the spheroid (#1305)

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

13 years agoAdd ST_Project(geography, distance, azimuth) (#657) to construct a new point given...
Paul Ramsey [Wed, 21 Dec 2011 18:42:08 +0000 (18:42 +0000)]
Add ST_Project(geography, distance, azimuth) (#657) to construct a new point given a heading and a distance.

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

13 years agofix typo
Regina Obe [Wed, 21 Dec 2011 17:16:39 +0000 (17:16 +0000)]
fix typo

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

13 years agoAdd missing options in the help string
Sandro Santilli [Wed, 21 Dec 2011 17:15:26 +0000 (17:15 +0000)]
Add missing options in the help string

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

13 years agoPut staged postgis.sql with other staged intsall objects
Sandro Santilli [Wed, 21 Dec 2011 17:09:45 +0000 (17:09 +0000)]
Put staged postgis.sql with other staged intsall objects

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

13 years agoDocument the new -s from:to syntax of shp2pgsql [#994]
Sandro Santilli [Wed, 21 Dec 2011 16:17:55 +0000 (16:17 +0000)]
Document the new -s from:to syntax of shp2pgsql [#994]

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

13 years agoAdd include for lwgeom_typmod_valid define
Sandro Santilli [Wed, 21 Dec 2011 14:53:53 +0000 (14:53 +0000)]
Add include for lwgeom_typmod_valid define

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

13 years agoAdd top-level and postgis/ dirs in include path for building scripts
Sandro Santilli [Wed, 21 Dec 2011 14:50:15 +0000 (14:50 +0000)]
Add top-level and postgis/ dirs in include path for building scripts

Fixes an error finding sqldefines.h

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

13 years agoUse own implementation of endian detection, should fix #1172
Sandro Santilli [Wed, 21 Dec 2011 14:37:11 +0000 (14:37 +0000)]
Use own implementation of endian detection, should fix #1172

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

13 years agoFix repeated modifier
Sandro Santilli [Wed, 21 Dec 2011 14:16:18 +0000 (14:16 +0000)]
Fix repeated modifier

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

13 years agoPut PostgreSQL module related code in a new postgis_module.c file
Sandro Santilli [Wed, 21 Dec 2011 14:03:47 +0000 (14:03 +0000)]
Put PostgreSQL module related code in a new postgis_module.c file

Beside the existing MODULE_MAGIC macro we now also have
_PG_init and _PG_fini which are called at module load and unload.
Such functions may be used to deal with GUC (and sample code for
that is stubbed already). See #1393.

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

13 years ago#1257 - drop mem_size
Regina Obe [Wed, 21 Dec 2011 13:59:45 +0000 (13:59 +0000)]
#1257 - drop mem_size

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

13 years ago#1345 write this off as an observed regression difference and document the behavior...
Regina Obe [Wed, 21 Dec 2011 13:14:07 +0000 (13:14 +0000)]
#1345 write this off as an observed regression difference and document the behavior for those like me who will be adversely impacted and confused by application breakage.

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

13 years ago#1242 write this off as a documentation bug. I don't have 1.5.1 anymore to confirm...
Regina Obe [Wed, 21 Dec 2011 13:03:42 +0000 (13:03 +0000)]
#1242 write this off as a documentation bug. I don't have 1.5.1 anymore to confirm ST_Line_Locate_Point ever worked with multilinestrings and doesn't work on my 1.5.3 install

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

13 years agoConvert java components to SRID<=0 being unknown and 0 being the official one [#1221]
Sandro Santilli [Tue, 20 Dec 2011 19:35:35 +0000 (19:35 +0000)]
Convert java components to SRID<=0 being unknown and 0 being the official one [#1221]

NOTE: this is untested, as "make" didn't know what to do and so neither do I

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

13 years agoDifferent types _can_ be equal, see #756
Sandro Santilli [Tue, 20 Dec 2011 18:51:54 +0000 (18:51 +0000)]
Different types _can_ be equal, see #756

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

13 years agolink to windows supplementary hard upgrade instructions
Regina Obe [Tue, 20 Dec 2011 16:56:02 +0000 (16:56 +0000)]
link to windows supplementary hard upgrade instructions

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

13 years agoAdd comments in current version, including topo and raster [#1390]
Sandro Santilli [Tue, 20 Dec 2011 16:01:27 +0000 (16:01 +0000)]
Add comments in current version, including topo and raster [#1390]

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

13 years agoAdd comments from pgis-1.4 [#1390]
Sandro Santilli [Tue, 20 Dec 2011 15:43:08 +0000 (15:43 +0000)]
Add comments from pgis-1.4 [#1390]

Also handle pg_restore errors more cleanly

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

13 years agoAdd more objects from a 1.5 install, including comments [#1390]
Sandro Santilli [Tue, 20 Dec 2011 15:18:03 +0000 (15:18 +0000)]
Add more objects from a 1.5 install, including comments [#1390]

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

13 years agoFinished support for make target "uninstall".
Bborie Park [Tue, 20 Dec 2011 03:28:41 +0000 (03:28 +0000)]
Finished support for make target "uninstall".

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

13 years agoCorrect handling of make target "distclean". Next is "uninstall".
Bborie Park [Tue, 20 Dec 2011 02:58:11 +0000 (02:58 +0000)]
Correct handling of make target "distclean".  Next is "uninstall".

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

13 years agoUpdate loader tests to use the new reprojection switch [#994]
Sandro Santilli [Mon, 19 Dec 2011 19:21:26 +0000 (19:21 +0000)]
Update loader tests to use the new reprojection switch [#994]

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

13 years agoDrop -r switch, allow requesting reprojection with -s [#994]
Sandro Santilli [Mon, 19 Dec 2011 19:06:31 +0000 (19:06 +0000)]
Drop -r switch, allow requesting reprojection with -s [#994]

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

13 years agoMake sure input is at least 3 characters long (#1146)
Sandro Santilli [Mon, 19 Dec 2011 16:19:07 +0000 (16:19 +0000)]
Make sure input is at least 3 characters long (#1146)

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

13 years agoReport testing of pg-8.4.9/pgis-2.0.0SVN => pg-9.1.2/pgis-2.0.0SVN
Sandro Santilli [Mon, 19 Dec 2011 16:19:01 +0000 (16:19 +0000)]
Report testing of pg-8.4.9/pgis-2.0.0SVN => pg-9.1.2/pgis-2.0.0SVN

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

13 years agoDocument postgis_restore.pl based HARD UPGRADE procedure
Sandro Santilli [Mon, 19 Dec 2011 12:27:44 +0000 (12:27 +0000)]
Document postgis_restore.pl based HARD UPGRADE procedure

Reviews are welcome.
The new description replaces the old one so the brute force noisy process
is now undocumented. If really needed it may come back in a subsection.

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

13 years agoAllow keeping rows in spatial_ref_sys at postgis_restore.pl time
Sandro Santilli [Mon, 19 Dec 2011 09:07:21 +0000 (09:07 +0000)]
Allow keeping rows in spatial_ref_sys at postgis_restore.pl time

After this commit the entries found in spatial_ref_sys at time
of restore are retained w/out triggering ERROR lines in logfile
or transaction aborts. Entries in dump with SRID not found in
existing spatial_ref_sys are inserted.

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

13 years agoFix SRIDs in topology.topology after restore.
Sandro Santilli [Mon, 19 Dec 2011 08:18:53 +0000 (08:18 +0000)]
Fix SRIDs in topology.topology after restore.

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

13 years agobump up numbers. logic to drop raster casts from extension if they are present and...
Regina Obe [Mon, 19 Dec 2011 06:33:13 +0000 (06:33 +0000)]
bump up numbers.  logic to drop raster casts from extension if they are present and script asks to drop.

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

13 years agoget rid of superfluous drop if exists _drop_st_samealignment
Regina Obe [Mon, 19 Dec 2011 05:00:02 +0000 (05:00 +0000)]
get rid of superfluous drop if exists _drop_st_samealignment

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

13 years agoFixed to suppress PL/pgSQL notices causing issues due to line # output. Added order...
Bborie Park [Mon, 19 Dec 2011 04:56:31 +0000 (04:56 +0000)]
Fixed to suppress PL/pgSQL notices causing issues due to line # output.  Added order by to check_raster_overviews to ensure consistent output.

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

13 years agorevise upgrade script to take into consideration change in casts
Regina Obe [Mon, 19 Dec 2011 04:48:07 +0000 (04:48 +0000)]
revise upgrade script to take into consideration change in casts

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

13 years agoreplace box2d with box3d in examples and remaining func
Regina Obe [Mon, 19 Dec 2011 04:12:49 +0000 (04:12 +0000)]
replace box2d with box3d in examples and remaining func

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

13 years agoClarify topology topoelement example that it is an example of WHAT NOT TO DO
Regina Obe [Mon, 19 Dec 2011 03:44:45 +0000 (03:44 +0000)]
Clarify topology topoelement example that it is an example of WHAT NOT TO DO

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

13 years agoreplace references to box2d with box3d
Regina Obe [Mon, 19 Dec 2011 03:37:13 +0000 (03:37 +0000)]
replace references to box2d with box3d

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

13 years agoget rid of remove ST_Intersection signatures and replace with new ones. Add the...
Regina Obe [Mon, 19 Dec 2011 02:18:49 +0000 (02:18 +0000)]
get rid of remove ST_Intersection signatures and replace with new ones.  Add the raster outputting intersection signatures.  Still need to put in examples.

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

13 years agoupdate faq for raster to bring it more up to line with new loading , QGIS support...
Regina Obe [Mon, 19 Dec 2011 01:59:16 +0000 (01:59 +0000)]
update faq for raster to bring it more up to line with new loading , QGIS support etc., remove box2d and replace with box3d, minor rewording -- people who don't know GDAL don't know what a GDAL raster is.  Took that word out when describing -G since it confuses rather than adding value.

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

13 years agoRefactored and cleaned up the regressions checks of values in raster_columns and...
Bborie Park [Mon, 19 Dec 2011 01:53:09 +0000 (01:53 +0000)]
Refactored and cleaned up the regressions checks of values in raster_columns and raster_overviews views.

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

13 years agoDocument darkblue test: pg-9.1b3/pgis-1.5 to pg-9.1.1/pgis-2.0.0SVN
Sandro Santilli [Sun, 18 Dec 2011 23:02:56 +0000 (23:02 +0000)]
Document darkblue test: pg-9.1b3/pgis-1.5 to pg-9.1.1/pgis-2.0.0SVN

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

13 years agoDo not expect things to happen in "userland" schema (what is it?)
Sandro Santilli [Sun, 18 Dec 2011 22:42:33 +0000 (22:42 +0000)]
Do not expect things to happen in "userland" schema (what is it?)

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

13 years agoput in missing tag
Regina Obe [Sun, 18 Dec 2011 18:49:29 +0000 (18:49 +0000)]
put in missing tag

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

13 years agoadd in some missing raster2pgsql switches and provide an example of the -G list drive...
Regina Obe [Sun, 18 Dec 2011 18:05:01 +0000 (18:05 +0000)]
add in some missing raster2pgsql switches and provide an example of the -G list drivers option.

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

13 years agoUpdate after typo fix for AddGeometryColumn error message
Sandro Santilli [Sun, 18 Dec 2011 14:24:17 +0000 (14:24 +0000)]
Update after typo fix for AddGeometryColumn error message

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

13 years agoFix st_extent on empty relation (#1385)
Sandro Santilli [Sun, 18 Dec 2011 14:22:43 +0000 (14:22 +0000)]
Fix st_extent on empty relation (#1385)

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

13 years agoAddGeometryColumns => AddGeometryColumn
Sandro Santilli [Sat, 17 Dec 2011 21:00:26 +0000 (21:00 +0000)]
AddGeometryColumns => AddGeometryColumn

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

13 years agofix typo
Regina Obe [Sat, 17 Dec 2011 01:50:09 +0000 (01:50 +0000)]
fix typo

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

13 years agoMinor comment cleanup in rtpostgis.sql.in.c. Added regression tests for AddRasterCon...
Bborie Park [Fri, 16 Dec 2011 22:07:26 +0000 (22:07 +0000)]
Minor comment cleanup in rtpostgis.sql.in.c.  Added regression tests for AddRasterConstraints, AddOverviewConstraints, DropRasterConstraints and DropOverviewConstraints.

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

13 years agoDo restore spatial_ref_sys from dump, temporarly disabling srid check
Sandro Santilli [Fri, 16 Dec 2011 17:20:17 +0000 (17:20 +0000)]
Do restore spatial_ref_sys from dump, temporarly disabling srid check

Assuming you don't source spatial_ref_sys.sql prior to run
postgis_restore.pl you would always end up with all your data
in the table and if no SRIDS are out of the valid range you'd
also have the constraint in place.

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

13 years agoAdd more signatures to skip on restore (raster)
Sandro Santilli [Fri, 16 Dec 2011 16:39:19 +0000 (16:39 +0000)]
Add more signatures to skip on restore (raster)

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

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