]> granicus.if.org Git - postgis/log
postgis
13 years agochange eol from native to LF to try to resolve #1466
Regina Obe [Sat, 14 Jan 2012 07:37:36 +0000 (07:37 +0000)]
change eol from native to LF to try to resolve #1466

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

13 years agodocument --with-gettext=no optionand case why you would want to do this. Also minor...
Regina Obe [Sat, 14 Jan 2012 07:29:26 +0000 (07:29 +0000)]
document --with-gettext=no optionand case why you would want to do this.  Also minor modifications as to use GEOS 3.3.2 and why you should

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

13 years agoAdd ST_InterpolatePoint, deprecate ST_Locate_Between_Measures and ST_Locate_Along_Mea...
Paul Ramsey [Sat, 14 Jan 2012 01:03:37 +0000 (01:03 +0000)]
Add ST_InterpolatePoint, deprecate ST_Locate_Between_Measures and ST_Locate_Along_Measure. Document new functions. Alter regressions and docs to use AsText instead of AsEWKT.

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

13 years agoUse normal autoconf convention of using #define to determine whether or not GDALFPOLY...
Mark Cave-Ayland [Sat, 14 Jan 2012 00:49:29 +0000 (00:49 +0000)]
Use normal autoconf convention of using #define to determine whether or not GDALFPOLYGONIZE is present, rather than always having it present and setting its value to either 0 or 1.

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

13 years agoSwitch liblwgeom to use the POSTGIS_* defines already generated by configure, rather...
Mark Cave-Ayland [Sat, 14 Jan 2012 00:49:21 +0000 (00:49 +0000)]
Switch liblwgeom to use the POSTGIS_* defines already generated by configure, rather than passing them in directly.

Similar to my previous commit, however here the aim is that by moving the logic outside of make then we can
potentially allow other generators (such as CMake) to detect and use other compilers rather than embedding
specific -D flags into the command line.

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

13 years agoSwitch NLS build to use the in-built ENABLE_NLS define rather than USE_NLS.
Mark Cave-Ayland [Sat, 14 Jan 2012 00:49:14 +0000 (00:49 +0000)]
Switch NLS build to use the in-built ENABLE_NLS define rather than USE_NLS.

The key concept here is that we eliminate all logic from the Makefile and put
it in the build system (e.g. configure). By having the logic at this higher
layer, we make it much easier to transition to another build system in future
such as CMake.

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

13 years agoEnable configure to accept the additional parameter --with-gettext=no to disable...
Mark Cave-Ayland [Sat, 14 Jan 2012 00:49:05 +0000 (00:49 +0000)]
Enable configure to accept the additional parameter --with-gettext=no to disable NLS builds.

This makes it possible to explicitly disable builds at configure time if required for
platforms where this causes problems such as Windows (see bug #748).

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

13 years agoFix incorrect camel-casing for HAVE_JSON within configure.ac.
Mark Cave-Ayland [Sat, 14 Jan 2012 00:48:54 +0000 (00:48 +0000)]
Fix incorrect camel-casing for HAVE_JSON within configure.ac.

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

13 years agoFix up AC_DEFINE macros in configure.ac that don't have a description.
Mark Cave-Ayland [Sat, 14 Jan 2012 00:48:48 +0000 (00:48 +0000)]
Fix up AC_DEFINE macros in configure.ac that don't have a description.

While autoheader emits a warning, it actually fails and does not regenerate
postgis_config.h.in. Along with this fix, we commit an updated version of
postgis_config.h created from a fresh invocation of autoheader minus the
PACKAGE_* macros.

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

13 years agoAdd test for creating tables with circularstring typmod (#1085)
Sandro Santilli [Fri, 13 Jan 2012 17:34:24 +0000 (17:34 +0000)]
Add test for creating tables with circularstring typmod (#1085)

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

13 years agoFirst draft of a test for typmod (#1085)
Sandro Santilli [Fri, 13 Jan 2012 17:33:26 +0000 (17:33 +0000)]
First draft of a test for typmod (#1085)

This version simply creates the tables and checks geometry_columns.
Should be enhanced to test effectiveness of constraints.

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

13 years agoremove dangling reference to geometry_same
Regina Obe [Fri, 13 Jan 2012 16:28:11 +0000 (16:28 +0000)]
remove dangling reference to geometry_same

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

13 years agoVirtualize ``make'' calls (#1464)
Sandro Santilli [Fri, 13 Jan 2012 16:23:18 +0000 (16:23 +0000)]
Virtualize ``make'' calls (#1464)

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

13 years agoRename geometry column header in shp2pgsql-gui to "geo column" to reduce its visible...
Mark Cave-Ayland [Fri, 13 Jan 2012 15:54:15 +0000 (15:54 +0000)]
Rename geometry column header in shp2pgsql-gui to "geo column" to reduce its visible width based upon feedback from Regina.

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

13 years agoremove ~= from documentation -- we don't want people using this operator
Regina Obe [Fri, 13 Jan 2012 15:50:12 +0000 (15:50 +0000)]
remove ~= from documentation -- we don't want people using this operator

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

13 years agoAdd all signature in the current repository
Sandro Santilli [Fri, 13 Jan 2012 13:31:43 +0000 (13:31 +0000)]
Add all signature in the current repository

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

13 years agoAdd more signatures found in a more recent dump of mine
Sandro Santilli [Fri, 13 Jan 2012 11:34:27 +0000 (11:34 +0000)]
Add more signatures found in a more recent dump of mine

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

13 years agoMake verbose output of postgis_restore.pl more useful for maintainance
Sandro Santilli [Fri, 13 Jan 2012 11:29:47 +0000 (11:29 +0000)]
Make verbose output of postgis_restore.pl more useful for maintainance

It will now avoid to collapse all spaces to keep the door open for
better parsing in the future and to be more human readable.

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

13 years agoMake ~= operator GIST-indexable, following existing documentation
Sandro Santilli [Fri, 13 Jan 2012 10:00:39 +0000 (10:00 +0000)]
Make ~= operator GIST-indexable, following existing documentation

NOTE: it takes a dump/reload for this to be in effect.

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

13 years agoAdd in an offset option to ST_LocateBetween
Paul Ramsey [Thu, 12 Jan 2012 21:43:56 +0000 (21:43 +0000)]
Add in an offset option to ST_LocateBetween

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

13 years agoAdd support for MULTIPOINT and POINT to ST_LocateBetween
Paul Ramsey [Thu, 12 Jan 2012 19:55:30 +0000 (19:55 +0000)]
Add support for MULTIPOINT and POINT to ST_LocateBetween

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

13 years agoFlip ST_LocateBetween to use the same LRS code as ST_LocateBetweenElevations
Paul Ramsey [Thu, 12 Jan 2012 19:07:02 +0000 (19:07 +0000)]
Flip ST_LocateBetween to use the same LRS code as ST_LocateBetweenElevations

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

13 years agoAdd regress test for topology.AddFace robustness (see #1383)
Sandro Santilli [Thu, 12 Jan 2012 17:41:17 +0000 (17:41 +0000)]
Add regress test for topology.AddFace robustness (see #1383)

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

13 years agoFix lw_dist2d_pt_seg(B, AB), see #1459
Sandro Santilli [Thu, 12 Jan 2012 17:06:04 +0000 (17:06 +0000)]
Fix lw_dist2d_pt_seg(B, AB), see #1459

Includes regress testing. Should also fix #1383

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

13 years agoComplete tests for higher coordinate dimensions (#1455)
Sandro Santilli [Thu, 12 Jan 2012 11:21:11 +0000 (11:21 +0000)]
Complete tests for higher coordinate dimensions (#1455)

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

13 years agoFix bug in dimension computer for collection WKT.
Sandro Santilli [Thu, 12 Jan 2012 11:21:06 +0000 (11:21 +0000)]
Fix bug in dimension computer for collection WKT.

The parser got confused by inner M letters.
This commit also improves speed early breaking the loop over WKT.

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

13 years agoAdd tests for higher coordinate dimensions (#1455)
Sandro Santilli [Thu, 12 Jan 2012 11:20:59 +0000 (11:20 +0000)]
Add tests for higher coordinate dimensions (#1455)

GEOMETRYCOLLECTION still fails

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

13 years agoTest roundtrip of WKT. Higher dimensions still needed (#1455)
Sandro Santilli [Thu, 12 Jan 2012 08:52:11 +0000 (08:52 +0000)]
Test roundtrip of WKT. Higher dimensions still needed (#1455)

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

13 years agoFix a bug in gserialized_read_gbox_p reading garbage in EMPTY point
Sandro Santilli [Thu, 12 Jan 2012 08:52:03 +0000 (08:52 +0000)]
Fix a bug in gserialized_read_gbox_p reading garbage in EMPTY point

Includes cunit test. Fixes #1458.

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

13 years agogbox_float_round: do not attempt to round M when not present
Sandro Santilli [Thu, 12 Jan 2012 08:51:58 +0000 (08:51 +0000)]
gbox_float_round: do not attempt to round M when not present

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

13 years agoExpose gbox_float_round to liblwgeom API
Sandro Santilli [Thu, 12 Jan 2012 08:51:53 +0000 (08:51 +0000)]
Expose gbox_float_round to liblwgeom API

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

13 years agoChange references to BOX2DFLOAT4 to just BOX2D and remove the struct. Ding dong.
Paul Ramsey [Wed, 11 Jan 2012 19:45:13 +0000 (19:45 +0000)]
Change references to BOX2DFLOAT4 to just BOX2D and remove the struct. Ding dong.

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

13 years agoTie astext(geography) and asbinary(geography) directly to the lwgeom_ C functions...
Paul Ramsey [Wed, 11 Jan 2012 19:20:35 +0000 (19:20 +0000)]
Tie astext(geography) and asbinary(geography) directly to the lwgeom_ C functions, without a cast

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

13 years agoAllow higher dimensions in GeomFromWKB (#1452)
Sandro Santilli [Wed, 11 Jan 2012 18:53:28 +0000 (18:53 +0000)]
Allow higher dimensions in GeomFromWKB (#1452)

Includes regress test for WKB roundtrip
(failing as expected with point empty)

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

13 years agoFix bug in gbox_same -> lwgeom_same -> ST_OrderingEquals (#1454)
Sandro Santilli [Wed, 11 Jan 2012 18:45:00 +0000 (18:45 +0000)]
Fix bug in gbox_same -> lwgeom_same -> ST_OrderingEquals (#1454)

Adds regression test for lwgeom_same and ST_OrderingEquals

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

13 years agoFix EMPTY ~= EMPTY to return TRUE (#1453)
Sandro Santilli [Wed, 11 Jan 2012 17:18:27 +0000 (17:18 +0000)]
Fix EMPTY ~= EMPTY to return TRUE (#1453)

This also fixes ST_OrderingEquals for empty geometries and
adds the concept of NULL boxes to represent EMPTY boxes.

ST_Equals is still broken as it uses the overlap operator instead.

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

13 years agoEncode dependency of libpgcommon on postgis_config.h
Sandro Santilli [Wed, 11 Jan 2012 17:18:19 +0000 (17:18 +0000)]
Encode dependency of libpgcommon on postgis_config.h

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

13 years agoXref ST_AsBinary to its reverse ST_GeomFromWKB
Sandro Santilli [Wed, 11 Jan 2012 17:18:15 +0000 (17:18 +0000)]
Xref ST_AsBinary to its reverse ST_GeomFromWKB

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

13 years agoAdd paranoid test of another malformed WKB found in #168
Sandro Santilli [Wed, 11 Jan 2012 15:57:22 +0000 (15:57 +0000)]
Add paranoid test of another malformed WKB found in #168

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

13 years agoDrop ST_AsBinary(text) wrapper, removed in previous commits
Sandro Santilli [Wed, 11 Jan 2012 15:51:27 +0000 (15:51 +0000)]
Drop ST_AsBinary(text) wrapper, removed in previous commits

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

13 years agoAdd documentation about enhancements in ST_AsBinary (#288)
Sandro Santilli [Wed, 11 Jan 2012 14:50:16 +0000 (14:50 +0000)]
Add documentation about enhancements in ST_AsBinary (#288)

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

13 years agoDrop geography-specific C-side of AsBinary function. Proxy to geometry.
Sandro Santilli [Wed, 11 Jan 2012 14:46:13 +0000 (14:46 +0000)]
Drop geography-specific C-side of AsBinary function. Proxy to geometry.

See #288

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

13 years agoLimit geometry_columns view definition within 80 columns.
Sandro Santilli [Wed, 11 Jan 2012 12:30:12 +0000 (12:30 +0000)]
Limit geometry_columns view definition within 80 columns.

This is to avoid issues like #1449

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

13 years agoAdd regress test for WKB (#1448) and enable the existing one for WKT
Sandro Santilli [Wed, 11 Jan 2012 11:17:10 +0000 (11:17 +0000)]
Add regress test for WKB (#1448) and enable the existing one for WKT

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

13 years agoUnlease higher dimensions in ST_AsBinary, using SQL/MM (#288)
Sandro Santilli [Wed, 11 Jan 2012 11:17:03 +0000 (11:17 +0000)]
Unlease higher dimensions in ST_AsBinary, using SQL/MM (#288)

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

13 years agoST_AsText item is an enhancement, not a new feature
Sandro Santilli [Wed, 11 Jan 2012 11:16:58 +0000 (11:16 +0000)]
ST_AsText item is an enhancement, not a new feature

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

13 years agoAdd note aboute AsText support for higher dimension
Sandro Santilli [Wed, 11 Jan 2012 10:40:21 +0000 (10:40 +0000)]
Add note aboute AsText support for higher dimension

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

13 years agoUnleash SQL/MM WKT returned by ST_AsText (#287)
Sandro Santilli [Wed, 11 Jan 2012 10:34:41 +0000 (10:34 +0000)]
Unleash SQL/MM WKT returned by ST_AsText (#287)

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

13 years agoUse $(MAKE) to invoke whatever make was used by builder
Sandro Santilli [Wed, 11 Jan 2012 08:36:29 +0000 (08:36 +0000)]
Use $(MAKE) to invoke whatever make was used by builder

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

13 years agoUpdate HARD UPGRADE section, mention --with-topology
Sandro Santilli [Wed, 11 Jan 2012 08:26:36 +0000 (08:26 +0000)]
Update HARD UPGRADE section, mention --with-topology

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

13 years agoTry an older bash syntax for robe?
Paul Ramsey [Wed, 11 Jan 2012 02:27:41 +0000 (02:27 +0000)]
Try an older bash syntax for robe?

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

13 years agoAdd ST_LocateAlong support for multipoints too (completeness)
Paul Ramsey [Tue, 10 Jan 2012 23:22:18 +0000 (23:22 +0000)]
Add ST_LocateAlong support for multipoints too (completeness)

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

13 years agoBind ST_LocateAlong() to the new LRS function that supports offsets.
Paul Ramsey [Tue, 10 Jan 2012 23:14:28 +0000 (23:14 +0000)]
Bind ST_LocateAlong() to the new LRS function that supports offsets.

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

13 years agosvn:ignore properties
Paul Ramsey [Tue, 10 Jan 2012 23:04:51 +0000 (23:04 +0000)]
svn:ignore properties

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

13 years agoSpacing, yes
Paul Ramsey [Tue, 10 Jan 2012 23:04:10 +0000 (23:04 +0000)]
Spacing, yes

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

13 years ago#1444 fix typo in command (should be command not comand)
Regina Obe [Tue, 10 Jan 2012 22:20:35 +0000 (22:20 +0000)]
#1444 fix typo in command (should be command not comand)

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

13 years agoBring the extensions into the autoconf environment
Paul Ramsey [Tue, 10 Jan 2012 21:51:21 +0000 (21:51 +0000)]
Bring the extensions into the autoconf environment

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

13 years agoFixed incorrect call to rt_raster_geopoint_to_cell in rt_band_load_offline_data and...
Bborie Park [Tue, 10 Jan 2012 19:36:52 +0000 (19:36 +0000)]
Fixed incorrect call to rt_raster_geopoint_to_cell in rt_band_load_offline_data and added additional debug messages

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

13 years agoFixed incorrect use of rt_band_destroy when loading offline band data. ALso added...
Bborie Park [Tue, 10 Jan 2012 18:45:19 +0000 (18:45 +0000)]
Fixed incorrect use of rt_band_destroy when loading offline band data.  ALso added rules to raster_columns and raster_overviews to gracefully handle insert/update/delete.

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

13 years agoFixed double free of memory when using out-of-database bands
Bborie Park [Tue, 10 Jan 2012 18:18:23 +0000 (18:18 +0000)]
Fixed double free of memory when using out-of-database bands

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

13 years agoAdd rules on geometry_columns view to tolerate insert/update/delete
Sandro Santilli [Tue, 10 Jan 2012 18:12:27 +0000 (18:12 +0000)]
Add rules on geometry_columns view to tolerate insert/update/delete

Fixes OGR, see #1426. Raises no warning on operation (it should).
This commit includes changes in postgis_proc_upgrade.pl to retain rules.

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

13 years agoReflect type of empty from ST_Dimension (#1441)
Sandro Santilli [Tue, 10 Jan 2012 14:58:16 +0000 (14:58 +0000)]
Reflect type of empty from ST_Dimension (#1441)

No existing testcase fail, no new testcase is added.
This change doesn't invalidate any part of the reference manual.
Reference manual isn't updated.

Signed-off-by: Charlie Brown
git-svn-id: http://svn.osgeo.org/postgis/trunk@8748 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUse a standard lwcollection_allows_subtype function to guard against bad input.
Sandro Santilli [Tue, 10 Jan 2012 13:17:21 +0000 (13:17 +0000)]
Use a standard lwcollection_allows_subtype function to guard against bad input.

Fixes #698 (and #1445 in a better way)

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

13 years agoIf the database settings are incorrect when attempting an import, display the connect...
Mark Cave-Ayland [Tue, 10 Jan 2012 12:28:46 +0000 (12:28 +0000)]
If the database settings are incorrect when attempting an import, display the connection settings
dialog.

Also a minor bugfix: if the dialog is cancelled by closing the window, ensure that any unset
fields are reset back to blank.

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

13 years agoSwitch shp2pgsql-gui to COPY mode by default for increased speed; the user doesn...
Mark Cave-Ayland [Tue, 10 Jan 2012 12:28:36 +0000 (12:28 +0000)]
Switch shp2pgsql-gui to COPY mode by default for increased speed; the user doesn't really care
what form the output takes when it's being loaded into the database directly rather than via
a file.

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

13 years agoRaise an error within shp2pgsql-gui if the user clicks "Import" without having added...
Mark Cave-Ayland [Tue, 10 Jan 2012 12:28:30 +0000 (12:28 +0000)]
Raise an error within shp2pgsql-gui if the user clicks "Import" without having added any files to the list.

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

13 years agoAlter shp2pgsql-gui so that we use one connection per file; this makes tracking error...
Mark Cave-Ayland [Tue, 10 Jan 2012 12:28:23 +0000 (12:28 +0000)]
Alter shp2pgsql-gui so that we use one connection per file; this makes tracking error state
on the server considerably easier, since upon abort we just disconnect from the server rather
than trying to figure out what state we are in and handle it appropriately.

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

13 years agoCheck type of elements added to multi geometries. Fixes #1445.
Sandro Santilli [Tue, 10 Jan 2012 11:36:14 +0000 (11:36 +0000)]
Check type of elements added to multi geometries. Fixes #1445.

Includes regress testing both at the liblwgeom and postgis levels.

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

13 years agoAdd "M" type modifiers on elements of GEOMETRYCOLLECTION
Sandro Santilli [Tue, 10 Jan 2012 10:06:11 +0000 (10:06 +0000)]
Add "M" type modifiers on elements of GEOMETRYCOLLECTION

Reflects specs in doc/ZMgeoms.txt and satisfies the parser.
Closes ticket #724.

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

13 years agoOther generated files
Sandro Santilli [Tue, 10 Jan 2012 08:32:53 +0000 (08:32 +0000)]
Other generated files

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

13 years agoIgnore new generated files
Sandro Santilli [Tue, 10 Jan 2012 08:28:32 +0000 (08:28 +0000)]
Ignore new generated files

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

13 years agoAdd images-clean rule and perform the cleanup on maintainer-clean
Sandro Santilli [Tue, 10 Jan 2012 08:26:53 +0000 (08:26 +0000)]
Add images-clean rule and perform the cleanup on maintainer-clean

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

13 years agoput in missing title tag
Regina Obe [Tue, 10 Jan 2012 07:25:20 +0000 (07:25 +0000)]
put in missing title tag

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

13 years agoput in missing end paragraph end tag
Regina Obe [Tue, 10 Jan 2012 07:12:55 +0000 (07:12 +0000)]
put in missing end paragraph end tag

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

13 years agofix typo
Regina Obe [Tue, 10 Jan 2012 07:03:15 +0000 (07:03 +0000)]
fix typo

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

13 years ago#1442: Add sections on installing, upgrading and loading data into tiger geocoder...
Regina Obe [Tue, 10 Jan 2012 06:53:12 +0000 (06:53 +0000)]
#1442: Add sections on installing, upgrading and loading data into tiger geocoder.  Got at least 2 people who seem confused about how to upgrade their tiger installs and assume it follows the same steps as the rest of PostGIS.

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

13 years agoAdded column "out_db" to raster_columns. "out_db" is of type boolean[] with each...
Bborie Park [Mon, 9 Jan 2012 22:43:35 +0000 (22:43 +0000)]
Added column "out_db" to raster_columns.  "out_db" is of type boolean[] with each element indicating if that band of same index is out-of-database.  Updated relevant AddRasterConstraints and DropRasterConstraints functions.  Related ticket is #1440.

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

13 years agoput in svn Author Date Id Revision keywords
Regina Obe [Mon, 9 Jan 2012 20:17:59 +0000 (20:17 +0000)]
put in svn Author Date Id Revision keywords

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

13 years agoMake the data of externally-loaded band internally owned so a call to rt_band_destroy...
Bborie Park [Mon, 9 Jan 2012 20:08:15 +0000 (20:08 +0000)]
Make the data of externally-loaded band internally owned so a call to rt_band_destroy() properly frees the memory.

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

13 years agoAdd read-only support for band data located outside the database in raster files...
Bborie Park [Mon, 9 Jan 2012 19:48:21 +0000 (19:48 +0000)]
Add read-only support for band data located outside the database in raster files.  All "get" and analysis functions should work for out of database bands.  Related ticket is #1440.  Also added a test raster file for use by an out of db band and future use for raster2pgsql loader regression tests.

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

13 years agoRemoved garbage whitespace.
Bborie Park [Mon, 9 Jan 2012 19:05:10 +0000 (19:05 +0000)]
Removed garbage whitespace.

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

13 years agoAdded conditional check to ST_Intersects(raster, int, raster, int) to deal with STRIC...
Bborie Park [Mon, 9 Jan 2012 19:02:49 +0000 (19:02 +0000)]
Added conditional check to ST_Intersects(raster, int, raster, int) to deal with STRICT being set on _st_intersects(raster, int, raster, int).  Fixes regression caused in r8714.

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

13 years agoRemove whitespace
Paul Ramsey [Mon, 9 Jan 2012 18:50:21 +0000 (18:50 +0000)]
Remove whitespace

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

13 years agoInterim progress on LRS work.
Paul Ramsey [Mon, 9 Jan 2012 18:27:30 +0000 (18:27 +0000)]
Interim progress on LRS work.

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

13 years agoChange lwgeom_is_empty to return spatial emptiness (#671)
Sandro Santilli [Mon, 9 Jan 2012 18:01:15 +0000 (18:01 +0000)]
Change lwgeom_is_empty to return spatial emptiness (#671)

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

13 years agoAllow manual resizing of the filename column within shp2pgsql-gui if required, as...
Mark Cave-Ayland [Mon, 9 Jan 2012 17:55:12 +0000 (17:55 +0000)]
Allow manual resizing of the filename column within shp2pgsql-gui if required, as per request from Regina.

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

13 years agoFurther cleanup of ST_CollectionExtract documentation
Sandro Santilli [Mon, 9 Jan 2012 17:27:09 +0000 (17:27 +0000)]
Further cleanup of ST_CollectionExtract documentation

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

13 years agoDocument new ST_CollectionExtract behavior
Sandro Santilli [Mon, 9 Jan 2012 17:10:17 +0000 (17:10 +0000)]
Document new ST_CollectionExtract behavior

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

13 years agoSwitch back ST_CollectionExtract to return EMPTY rather than NULL on no matches ...
Sandro Santilli [Mon, 9 Jan 2012 17:01:54 +0000 (17:01 +0000)]
Switch back ST_CollectionExtract to return EMPTY rather than NULL on no matches (#835)

This behavior seems closer to the one requested in original #457
testcase, and is still consistent. Is also closer to documentation.

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

13 years agoAdd lwgeom_construct_empty API call
Sandro Santilli [Mon, 9 Jan 2012 17:01:48 +0000 (17:01 +0000)]
Add lwgeom_construct_empty API call

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

13 years agoImplement lwcompound_construct_empty
Sandro Santilli [Mon, 9 Jan 2012 17:01:43 +0000 (17:01 +0000)]
Implement lwcompound_construct_empty

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

13 years agoAlwas return NULL on type miss from ST_CollectionExtract (#835)
Sandro Santilli [Mon, 9 Jan 2012 16:20:21 +0000 (16:20 +0000)]
Alwas return NULL on type miss from ST_CollectionExtract (#835)

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

13 years agoReturn typed empties from lwcollection_extract
Sandro Santilli [Mon, 9 Jan 2012 16:20:13 +0000 (16:20 +0000)]
Return typed empties from lwcollection_extract

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

13 years agoDistribute comments in tarball. Stop distributing pdf or html (#626)
Sandro Santilli [Mon, 9 Jan 2012 15:27:33 +0000 (15:27 +0000)]
Distribute comments in tarball. Stop distributing pdf or html (#626)

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

13 years agoFix compiler warnings
Sandro Santilli [Mon, 9 Jan 2012 15:03:36 +0000 (15:03 +0000)]
Fix compiler warnings

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

13 years agoMake _ST_Intersects(raster, raster) STRICT as per comments in #1412.
Bborie Park [Mon, 9 Jan 2012 15:01:24 +0000 (15:01 +0000)]
Make _ST_Intersects(raster, raster) STRICT as per comments in #1412.

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

13 years ago#1392: Can't geocode intersecting highways or areas where no zip available
Regina Obe [Mon, 9 Jan 2012 14:56:09 +0000 (14:56 +0000)]
#1392: Can't geocode intersecting highways or areas where no zip available

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

13 years agoBuild the libtool wrapper script version of raster2pgsql
Sandro Santilli [Mon, 9 Jan 2012 13:36:15 +0000 (13:36 +0000)]
Build the libtool wrapper script version of raster2pgsql

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

13 years agoAdd Maria Arias de Reyna to credits
Regina Obe [Mon, 9 Jan 2012 12:48:32 +0000 (12:48 +0000)]
Add Maria Arias de Reyna to credits

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

13 years agoUpdate Java components to support SRID<=0 as unknown SRID (#1221)
Sandro Santilli [Mon, 9 Jan 2012 11:01:44 +0000 (11:01 +0000)]
Update Java components to support SRID<=0 as unknown SRID (#1221)

This is first patch by Maria Arias de Reyna taking on maintainance
of the Java components. It includes tweaks in README file and
a new maven based build system. It also includes some indenting
changes.

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