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

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