]> granicus.if.org Git - postgis/log
postgis
13 years agorevise so works under 8.4 evidentially in 8.4 INTO USING clauses are not interchangea...
Regina Obe [Thu, 1 Sep 2011 12:35:45 +0000 (12:35 +0000)]
revise so works under 8.4 evidentially in 8.4 INTO USING clauses are not interchangeable but they are in later versions

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

13 years agofill in missing tag
Regina Obe [Thu, 1 Sep 2011 11:41:55 +0000 (11:41 +0000)]
fill in missing tag

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

13 years agomore finetuninng of street offset to consider non-straight tlids
Regina Obe [Thu, 1 Sep 2011 09:00:04 +0000 (09:00 +0000)]
more finetuninng of street offset to consider non-straight tlids

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

13 years ago#1052 update doco to reflect change in behavior.
Regina Obe [Wed, 31 Aug 2011 14:54:23 +0000 (14:54 +0000)]
#1052 update doco to reflect change in behavior.

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

13 years ago#1052 -- instead of placing geocoded point at center line, offset it 10 meters to...
Regina Obe [Wed, 31 Aug 2011 14:53:48 +0000 (14:53 +0000)]
#1052 -- instead of placing geocoded point at center line, offset it 10 meters to the correct odd/even (L / R utilizing addr.side field).  May later change this to allow the user to specify the offset amount.

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

13 years agoWith libtool for loader/dumper there's no need to stage-install them
Sandro Santilli [Wed, 31 Aug 2011 07:06:57 +0000 (07:06 +0000)]
With libtool for loader/dumper there's no need to stage-install them

Fixes ticket #1177 [RT-SIGTA]

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

13 years agofill in missing protos for ST_AsRaster
Regina Obe [Mon, 29 Aug 2011 16:02:19 +0000 (16:02 +0000)]
fill in missing protos for ST_AsRaster

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

13 years agoDynamically link loader and dumper to liblwgeom [RT-SIGTA]
Sandro Santilli [Mon, 29 Aug 2011 15:23:35 +0000 (15:23 +0000)]
Dynamically link loader and dumper to liblwgeom [RT-SIGTA]

This reduces each of the 3 installed executable sizes by 547 Kb.

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

13 years agoUse libtool to link liblwgeom unit tester (helps testing the shared library)
Sandro Santilli [Mon, 29 Aug 2011 14:45:23 +0000 (14:45 +0000)]
Use libtool to link liblwgeom unit tester (helps testing the shared library)

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

13 years agofixed improperly commented-out RAISE DEBUG statement for AddRasterColumn function.
Bborie Park [Sat, 27 Aug 2011 17:16:03 +0000 (17:16 +0000)]
fixed improperly commented-out RAISE DEBUG statement for AddRasterColumn function.

Associated ticket is #1175.

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

13 years agoAdded solaris define for UNIX using patch provided by rroliver.
Bborie Park [Fri, 26 Aug 2011 14:47:07 +0000 (14:47 +0000)]
Added solaris define for UNIX using patch provided by rroliver.

Associated ticket is #1171.

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

13 years agoTweaked memory allocation in RASTER_quantileCoverage.
Bborie Park [Fri, 26 Aug 2011 00:04:40 +0000 (00:04 +0000)]
Tweaked memory allocation in RASTER_quantileCoverage.

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

13 years agoFixed the function rt_band_get_summary_stats rt_core/rt_api.c to correctly handle...
Bborie Park [Thu, 25 Aug 2011 23:23:46 +0000 (23:23 +0000)]
Fixed the function rt_band_get_summary_stats rt_core/rt_api.c to correctly handle the situation where a band's values are all nodata

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

13 years agoRemoved "WITH OIDS" from raster table creation.
Bborie Park [Thu, 25 Aug 2011 18:39:39 +0000 (18:39 +0000)]
Removed "WITH OIDS" from raster table creation.

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

13 years agoFix error of unknown symbol gidx_to_string when building with the flags --with-raster...
Bborie Park [Thu, 25 Aug 2011 18:18:20 +0000 (18:18 +0000)]
Fix error of unknown symbol gidx_to_string when building with the flags --with-raster --enable-debug using patch gidx_to_string.patch provided by bnordgren.

Associated ticket is #1161

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

13 years agoFixed the problem where having configure detect that GDAL has the GDALFPolygonize...
Bborie Park [Thu, 25 Aug 2011 14:44:55 +0000 (14:44 +0000)]
Fixed the problem where having configure detect that GDAL has the GDALFPolygonize function does not cause the code to use GDALFPolygonize.  This is due to the macro GDALFPOLYGONIZE not being set anywhere.  So, it is now being set in raster_config.h.in and included in rt_core/rt_api.h.  Had to update testapi.c as the geometries generated differ depending on whether or not GDALFPolygonize is used.

Associated ticket is #650

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

13 years agoprovide better example and images to complement. Also note that ST_AsRaster doesn...
Regina Obe [Thu, 25 Aug 2011 11:33:45 +0000 (11:33 +0000)]
provide better example and images to complement.  Also note that ST_AsRaster doesn't yet work with newer geometries

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

13 years agoAdded in gettext headers to allow compilation under osx with iconv
Paul Ramsey [Wed, 24 Aug 2011 22:31:39 +0000 (22:31 +0000)]
Added in gettext headers to allow compilation under osx with iconv

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

13 years agocleanup formatting a bit on ST_AsRaster example
Regina Obe [Wed, 24 Aug 2011 19:20:23 +0000 (19:20 +0000)]
cleanup formatting a bit on ST_AsRaster example

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

13 years agoAdded DESTDIR so that raster2pgsql.py is installed in the user-specified path
Bborie Park [Wed, 24 Aug 2011 17:40:55 +0000 (17:40 +0000)]
Added DESTDIR so that raster2pgsql.py is installed in the user-specified path

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

13 years agoProvide some examples for using ST_AsRaster. This function is way cool.
Regina Obe [Wed, 24 Aug 2011 16:08:24 +0000 (16:08 +0000)]
Provide some examples for using ST_AsRaster.  This function is way cool.

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

13 years agoInclusion of missing ST_PixelWidth and ST_PixelHeight functions and regression tests.
Bborie Park [Wed, 24 Aug 2011 15:23:25 +0000 (15:23 +0000)]
Inclusion of missing ST_PixelWidth and ST_PixelHeight functions and regression tests.

Associated ticket is #928

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

13 years agoRefactored ST_ValueCount and ST_ValuePercent to be a C function rather than a plpgsql...
Bborie Park [Tue, 23 Aug 2011 22:41:22 +0000 (22:41 +0000)]
Refactored ST_ValueCount and ST_ValuePercent to be a C function rather than a plpgsql function.

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

13 years ago#997 put in correct codes for non-state us territories
Regina Obe [Mon, 22 Aug 2011 21:24:52 +0000 (21:24 +0000)]
#997 put in correct codes for non-state us territories

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

13 years ago#1158 add proj flags to fix mingw test issue
Regina Obe [Sun, 21 Aug 2011 03:34:56 +0000 (03:34 +0000)]
#1158 add proj flags to fix mingw test issue

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

13 years agoPut PG_MODULE_MAGIC in raster and postgis source files rather than in libpgcommon...
Sandro Santilli [Sat, 20 Aug 2011 21:17:14 +0000 (21:17 +0000)]
Put PG_MODULE_MAGIC in raster and postgis source files rather than in libpgcommon. Should fix the mingw build. See ticket #1158.

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

13 years agoUse PROJ cflags when building raster module (see #1158)
Sandro Santilli [Sat, 20 Aug 2011 21:08:25 +0000 (21:08 +0000)]
Use PROJ cflags when building raster module (see #1158)

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

13 years agoMore fixups for the quantile coverage function. Fixes segfault that seems to only...
Bborie Park [Sat, 20 Aug 2011 17:51:04 +0000 (17:51 +0000)]
More fixups for the quantile coverage function.  Fixes segfault that seems to only occur on OSX.

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

13 years agoDrop duplicated typedef [RT-SIGTA]
Sandro Santilli [Sat, 20 Aug 2011 16:43:23 +0000 (16:43 +0000)]
Drop duplicated typedef [RT-SIGTA]

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

13 years agoInstall liblwgeom.h under a sensible location... [RT-SIGTA]
Sandro Santilli [Sat, 20 Aug 2011 15:55:13 +0000 (15:55 +0000)]
Install liblwgeom.h under a sensible location... [RT-SIGTA]

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

13 years agoMove gserialized_gist to libpgcommon fixing a circular dependency between libpgcommon...
Sandro Santilli [Sat, 20 Aug 2011 15:43:29 +0000 (15:43 +0000)]
Move gserialized_gist to libpgcommon fixing a circular dependency between libpgcommon and liblwgeom, put libpgcommon _after_ liblwgeom in pg modules link lines, drop duplicated lwgeom_init_allocators and PG_MODULE_MAGIC from raster module (they are in libpgcommon already). Includes patch in #1161. [RT-SIGTA]

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

13 years agoCorrected incorrect function usage
Bborie Park [Sat, 20 Aug 2011 00:54:19 +0000 (00:54 +0000)]
Corrected incorrect function usage

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

13 years agoAdded forgotten explicit freeing of memory and some code cleanup
Bborie Park [Fri, 19 Aug 2011 22:57:51 +0000 (22:57 +0000)]
Added forgotten explicit freeing of memory and some code cleanup

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

13 years agoAdds coverage table version of ST_Quantile and ST_ApproxQuantile. Function implement...
Bborie Park [Fri, 19 Aug 2011 19:08:36 +0000 (19:08 +0000)]
Adds coverage table version of ST_Quantile and ST_ApproxQuantile.  Function implemented using the algorithm discussed in

A One-Pass Space-Efficient Algorithm for Finding Quantiles (1995)
  by Rakesh Agrawal, Arun Swami
  in Proc. 7th Intl. Conf. Management of Data (COMAD-95)
  http://www.almaden.ibm.com/cs/projects/iis/hdb/Publications/papers/comad95.pdf

Also refactored the regression test for rt_histogram due to unnecessary columns in output

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

13 years agoCommit of patch provided by David Zwarg in #482 adding the functions ST_SetRotation...
Bborie Park [Fri, 19 Aug 2011 14:04:50 +0000 (14:04 +0000)]
Commit of patch provided by David Zwarg in #482 adding the functions ST_SetRotation, ST_Rotation, ST_PixelHeight and ST_PixelWidth.

Associated tickets are #482, #928, #929 and #936

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

13 years agoInclude version in liblwgeom.h [RT-SIGTA]
Sandro Santilli [Fri, 19 Aug 2011 10:12:00 +0000 (10:12 +0000)]
Include version in liblwgeom.h [RT-SIGTA]

Closes ticket #1164

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

13 years agoDrop (u)int32 and uchar in favor of C99 standard int types [RT-SIGTA]
Sandro Santilli [Fri, 19 Aug 2011 09:34:58 +0000 (09:34 +0000)]
Drop (u)int32 and uchar in favor of C99 standard int types [RT-SIGTA]

This commit drops PostgreSQL references in liblwgeom.h (C_H define)
and hopefully reduces the noise generated by custom symbols.

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

13 years agoDon't use problematic int types for no reason...
Sandro Santilli [Fri, 19 Aug 2011 09:30:21 +0000 (09:30 +0000)]
Don't use problematic int types for no reason...

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

13 years agoInstall liblwgeom on 'make install' [RT-SIGTA]
Sandro Santilli [Fri, 19 Aug 2011 08:16:23 +0000 (08:16 +0000)]
Install liblwgeom on 'make install' [RT-SIGTA]

Uses liblwgeom.h as the API header for liblwgeom.

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

13 years agoMove SQL-exposed functions out of libpgcommon (#1163).
Sandro Santilli [Fri, 19 Aug 2011 07:55:50 +0000 (07:55 +0000)]
Move SQL-exposed functions out of libpgcommon (#1163).

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

13 years agomore clarification of behavior change in 2.0 of bbox storage
Regina Obe [Tue, 16 Aug 2011 13:19:18 +0000 (13:19 +0000)]
more clarification of behavior change in 2.0 of bbox storage

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

13 years ago#1160: documentation clarification of behavior
Regina Obe [Tue, 16 Aug 2011 12:51:30 +0000 (12:51 +0000)]
#1160: documentation clarification of behavior

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

13 years agoMove NO_*_VALUE from liblwgeom.h to liblwgeom_internal.h [RT-SIGTA]
Sandro Santilli [Tue, 16 Aug 2011 09:47:32 +0000 (09:47 +0000)]
Move NO_*_VALUE from liblwgeom.h to liblwgeom_internal.h [RT-SIGTA]

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

13 years agoMove DIST_MAX and DIST_MIN from liblwgeom.h to liblwgeom_internal.h (weird values...
Sandro Santilli [Tue, 16 Aug 2011 09:25:30 +0000 (09:25 +0000)]
Move DIST_MAX and DIST_MIN from liblwgeom.h to liblwgeom_internal.h (weird values, btw) [RT-SIGTA]

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

13 years agoHonour DISTDIR when installing liblwgeom. Drop the finish call as it may require...
Sandro Santilli [Tue, 16 Aug 2011 09:15:49 +0000 (09:15 +0000)]
Honour DISTDIR when installing liblwgeom. Drop the finish call as it may require root privileges on some systems [RT-SIGTA].

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

13 years agoRemoved unnecessary code from rt_band_get_summary_stats. Fixed incorrect comment...
Bborie Park [Mon, 15 Aug 2011 22:43:13 +0000 (22:43 +0000)]
Removed unnecessary code from rt_band_get_summary_stats.  Fixed incorrect comment for rt_band_get_value_count.

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

13 years agoUse proper PROJ4 flags when linking against liblwgeom. See ticket #1158. [RT-SIGTA]
Sandro Santilli [Mon, 15 Aug 2011 11:36:59 +0000 (11:36 +0000)]
Use proper PROJ4 flags when linking against liblwgeom. See ticket #1158. [RT-SIGTA]

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

13 years agoFix for missing include directory on Mingw (#1158). Thanks Bryce Nordgren.
Sandro Santilli [Sun, 14 Aug 2011 19:47:04 +0000 (19:47 +0000)]
Fix for missing include directory on Mingw (#1158). Thanks Bryce Nordgren.

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

13 years ago#1071: Logic to mark nodes that are contained in a face
Regina Obe [Sun, 14 Aug 2011 12:39:26 +0000 (12:39 +0000)]
#1071: Logic to mark nodes that are contained in a face

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

13 years ago#1071 - start work on tiger PostGIS topology loader
Regina Obe [Sun, 14 Aug 2011 12:32:23 +0000 (12:32 +0000)]
#1071 - start work on tiger PostGIS topology loader

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

13 years agoConsolidated various struct declarations from rt_api.c into rt_api.h as these structs...
Bborie Park [Sat, 13 Aug 2011 18:10:44 +0000 (18:10 +0000)]
Consolidated various struct declarations from rt_api.c into rt_api.h as these structs are duplicatively redeclared in rt_pg.c and testapi.c

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

13 years agoSecond attempt at libtool usage. Seems better to me now.
Sandro Santilli [Sat, 13 Aug 2011 10:06:07 +0000 (10:06 +0000)]
Second attempt at libtool usage. Seems better to me now.
PostGIS clients still all use the static version of the library.
Libraries are not installed by default.
[RT-SIGTA]

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

13 years agoDrop unused code
Sandro Santilli [Sat, 13 Aug 2011 09:02:54 +0000 (09:02 +0000)]
Drop unused code

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

13 years ago#1156 incorporate suggestions from forkandwait
Regina Obe [Sat, 13 Aug 2011 02:01:27 +0000 (02:01 +0000)]
#1156 incorporate suggestions from forkandwait

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

13 years agoMove lwproj_from_string from libpgcommon to liblwgeom [RT-SIGTA]
Sandro Santilli [Fri, 12 Aug 2011 19:18:46 +0000 (19:18 +0000)]
Move lwproj_from_string from libpgcommon to liblwgeom [RT-SIGTA]

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

13 years agoliblwgeom/cunit also needs PROJ_CPPFLAGS
Sandro Santilli [Fri, 12 Aug 2011 17:57:17 +0000 (17:57 +0000)]
liblwgeom/cunit also needs PROJ_CPPFLAGS

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

13 years agoRename make_project to lwproj_from_string, ready to be moved to liblwgeom [RT-SIGTA]
Sandro Santilli [Fri, 12 Aug 2011 17:55:40 +0000 (17:55 +0000)]
Rename make_project to lwproj_from_string, ready to be moved to liblwgeom [RT-SIGTA]

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

13 years agoEven generator.c will need proper proj cflags now..
Sandro Santilli [Fri, 12 Aug 2011 17:42:36 +0000 (17:42 +0000)]
Even generator.c will need proper proj cflags now..

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

13 years agoloader also includes liblwgeom.h, thus wants PROJ cpp flags
Sandro Santilli [Fri, 12 Aug 2011 17:37:33 +0000 (17:37 +0000)]
loader also includes liblwgeom.h, thus wants PROJ cpp flags

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

13 years agoUse PROJ4 C flags, see if this makes Hudson happy.
Sandro Santilli [Fri, 12 Aug 2011 17:33:33 +0000 (17:33 +0000)]
Use PROJ4 C flags, see if this makes Hudson happy.

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

13 years agoCopyright review on lwgeom_pg.{c,h} files
Sandro Santilli [Fri, 12 Aug 2011 17:26:03 +0000 (17:26 +0000)]
Copyright review on lwgeom_pg.{c,h} files

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

13 years agoMake transformation and projection cache API available (ticket #1053)
Sandro Santilli [Fri, 12 Aug 2011 17:25:01 +0000 (17:25 +0000)]
Make transformation and projection cache API available (ticket #1053)

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

13 years agoDrop unused macros CARTESIAN and GEODETIC from liblwgeom.h
Sandro Santilli [Fri, 12 Aug 2011 10:12:26 +0000 (10:12 +0000)]
Drop unused macros CARTESIAN and GEODETIC from liblwgeom.h

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

13 years agoSnap and SharedPaths are both direct GEOS proxies, not extra [RT-SIGTA]
Sandro Santilli [Fri, 12 Aug 2011 10:11:57 +0000 (10:11 +0000)]
Snap and SharedPaths are both direct GEOS proxies, not extra [RT-SIGTA]

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

13 years agoExport lwgeom_sharedpaths to liblwgeom, and fix exception message [RT-SIGTA]
Sandro Santilli [Fri, 12 Aug 2011 09:11:26 +0000 (09:11 +0000)]
Export lwgeom_sharedpaths to liblwgeom, and fix exception message [RT-SIGTA]

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

13 years agoRewrote the code for the coverage table versions of ST_SummaryStats and ST_Histogram...
Bborie Park [Thu, 11 Aug 2011 21:01:45 +0000 (21:01 +0000)]
Rewrote the code for the coverage table versions of ST_SummaryStats and ST_Histogram.  So instead of plpgsql, it is now in C within rt_pg/rt_pg.c

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

13 years agochange reverse_geocode back to using addr table and also use cousub for location
Regina Obe [Thu, 11 Aug 2011 16:35:13 +0000 (16:35 +0000)]
change reverse_geocode back to using addr table and also use cousub for location

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

13 years agoFix leftover PARSER_CHECK reference (thanks Hudson) [RT-SIGTA]
Sandro Santilli [Thu, 11 Aug 2011 08:04:49 +0000 (08:04 +0000)]
Fix leftover PARSER_CHECK reference (thanks Hudson) [RT-SIGTA]

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

13 years agoExport lwgeom_split to liblwgeom, const-correct it [RT-SIGTA]
Sandro Santilli [Thu, 11 Aug 2011 08:04:20 +0000 (08:04 +0000)]
Export lwgeom_split to liblwgeom, const-correct it [RT-SIGTA]

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

13 years agoExport lwgeom_snap to liblwgeom [RT-SIGTA]
Sandro Santilli [Thu, 11 Aug 2011 07:52:10 +0000 (07:52 +0000)]
Export lwgeom_snap to liblwgeom [RT-SIGTA]

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

13 years agoGive PARSER_CHECK macros an LW_ prefix [RT-SIGTA]
Sandro Santilli [Thu, 11 Aug 2011 07:51:45 +0000 (07:51 +0000)]
Give PARSER_CHECK macros an LW_ prefix [RT-SIGTA]

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

13 years agoFix parser documentation [RT-SIGTA]
Sandro Santilli [Thu, 11 Aug 2011 07:50:45 +0000 (07:50 +0000)]
Fix parser documentation [RT-SIGTA]

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

13 years agoMatch style of liblwgeom.h include guard
Paul Ramsey [Wed, 10 Aug 2011 23:16:41 +0000 (23:16 +0000)]
Match style of liblwgeom.h include guard

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

13 years agoLittle checks in clean_wkt_out_suite
Paul Ramsey [Wed, 10 Aug 2011 22:43:54 +0000 (22:43 +0000)]
Little checks in clean_wkt_out_suite

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

13 years agoRemove old WKB/WKT parsers and generators and switch all internal references remainin...
Paul Ramsey [Wed, 10 Aug 2011 22:28:05 +0000 (22:28 +0000)]
Remove old WKB/WKT parsers and generators and switch all internal references remaining (mostly in cunit) over to the new implementations.

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

13 years agoExport lwgeom_makevalid to liblwgeom [RT-SIGTA]
Sandro Santilli [Tue, 9 Aug 2011 16:56:02 +0000 (16:56 +0000)]
Export lwgeom_makevalid to liblwgeom [RT-SIGTA]

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

13 years agoAdd GEOS entry points in liblwgeom.h (public API) [RT-SIGTA]
Sandro Santilli [Tue, 9 Aug 2011 16:05:30 +0000 (16:05 +0000)]
Add GEOS entry points in liblwgeom.h (public API) [RT-SIGTA]

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

13 years agoAdd some documentation about parsing [RT-SIGTA]
Sandro Santilli [Tue, 9 Aug 2011 15:43:51 +0000 (15:43 +0000)]
Add some documentation about parsing [RT-SIGTA]

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

13 years agoMark "chip" functions for deletion
Sandro Santilli [Tue, 9 Aug 2011 15:43:11 +0000 (15:43 +0000)]
Mark "chip" functions for deletion

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

13 years agoDrop REPEATED_POINTS_* and SPLICE_* defines from liblwgeom.h, move MAXFLOAT to liblwg...
Sandro Santilli [Tue, 9 Aug 2011 15:12:06 +0000 (15:12 +0000)]
Drop REPEATED_POINTS_* and SPLICE_* defines from liblwgeom.h, move MAXFLOAT to liblwgeom_internal.h [RT-SIGTA]

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

13 years agomake eol for all rfcs be LF so our unix brethren can edit them without fuss
Regina Obe [Tue, 9 Aug 2011 14:54:32 +0000 (14:54 +0000)]
make eol for all rfcs be LF so our unix brethren can edit them without fuss

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

13 years agoMove floating points comparator macros from liblwgeom.h to liblwgeom_internal.h ...
Sandro Santilli [Tue, 9 Aug 2011 14:19:12 +0000 (14:19 +0000)]
Move floating points comparator macros from liblwgeom.h to liblwgeom_internal.h (not prefixed symbols) [RT-SIGTA]

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

13 years agoDon't include liblwgeom.h from headers if not needed, document what is it needed...
Sandro Santilli [Tue, 9 Aug 2011 09:51:52 +0000 (09:51 +0000)]
Don't include liblwgeom.h from headers if not needed, document what is it needed for in implementation files [RT-SIGTA]

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

13 years agoClean up gui as well
Sandro Santilli [Tue, 9 Aug 2011 09:50:45 +0000 (09:50 +0000)]
Clean up gui as well

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

13 years agoDrop CHIP type and any reference to it [RT-SIGTA]
Sandro Santilli [Tue, 9 Aug 2011 08:28:53 +0000 (08:28 +0000)]
Drop CHIP type and any reference to it [RT-SIGTA]

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

13 years agostrk's patch fix for #1155
Regina Obe [Tue, 9 Aug 2011 05:52:48 +0000 (05:52 +0000)]
strk's patch fix for #1155

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

13 years agoEncode more deps
Sandro Santilli [Mon, 8 Aug 2011 10:11:40 +0000 (10:11 +0000)]
Encode more deps

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

13 years agoConst-correct some GEOS functions in liblwgeom fixing pending memory errors when...
Sandro Santilli [Mon, 8 Aug 2011 09:56:05 +0000 (09:56 +0000)]
Const-correct some GEOS functions in liblwgeom fixing pending memory errors when overlaying empty and non-empty geometries (not exploited by testing) [RT-SIGTA]

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

13 years agoMove getMachineEndian() and error_if_srid_mismatch() from liblwgeom.h to liblwgeom_in...
Sandro Santilli [Mon, 8 Aug 2011 09:27:09 +0000 (09:27 +0000)]
Move getMachineEndian() and error_if_srid_mismatch() from liblwgeom.h to liblwgeom_internal.h

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

13 years agoPut PG_LWGEOM stuff where it belongs (out of liblwgeom) [RT-SIGTA]
Sandro Santilli [Mon, 8 Aug 2011 08:59:32 +0000 (08:59 +0000)]
Put PG_LWGEOM stuff where it belongs (out of liblwgeom) [RT-SIGTA]

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

13 years agoInclude postgis_config.h to find POSTGIS_VERSION and stringbuffer.h when needed
Sandro Santilli [Sat, 6 Aug 2011 18:42:28 +0000 (18:42 +0000)]
Include postgis_config.h to find POSTGIS_VERSION and stringbuffer.h when needed

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

13 years agoReduce number of includes from liblwgeom.h (closest header to a public API).
Sandro Santilli [Sat, 6 Aug 2011 18:17:31 +0000 (18:17 +0000)]
Reduce number of includes from liblwgeom.h (closest header to a public API).
Update other files accordingly. [RT-SIGTA]

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

13 years agoFix dependency referencing dropped rule [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 18:03:37 +0000 (18:03 +0000)]
Fix dependency referencing dropped rule [RT-SIGTA]

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

13 years agoAdd static library to {,un}install-liblwgeom rules [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 18:01:52 +0000 (18:01 +0000)]
Add static library to {,un}install-liblwgeom rules [RT-SIGTA]

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

13 years agoRe-drop use of libtool (more troubles than help).
Sandro Santilli [Sat, 6 Aug 2011 17:48:39 +0000 (17:48 +0000)]
Re-drop use of libtool (more troubles than help).
Stub a rule to build and install a shared liblwgeom.
[RT-SIGTA].

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

13 years agoRe-introduce numerical flags in building "NM" objs [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 16:18:44 +0000 (16:18 +0000)]
Re-introduce numerical flags in building "NM" objs [RT-SIGTA]

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

13 years agoUse libtool to build liblwgeom. Still only static. [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 15:12:32 +0000 (15:12 +0000)]
Use libtool to build liblwgeom. Still only static. [RT-SIGTA]

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

13 years agoUse GEOS compiler and linker flags for liblwgeom, add lwgeom_geos_noop and cunit...
Sandro Santilli [Sat, 6 Aug 2011 09:47:01 +0000 (09:47 +0000)]
Use GEOS compiler and linker flags for liblwgeom, add lwgeom_geos_noop and cunit test for it (to confirm linking works, and it does) [RT-SIGTA]

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

13 years agoAdd lwgeom_buildarea to liblwgeom [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 09:46:33 +0000 (09:46 +0000)]
Add lwgeom_buildarea to liblwgeom [RT-SIGTA]

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

13 years agoAdd GEOS spatial operations to liblwgeom (ticket #1050) [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 09:46:03 +0000 (09:46 +0000)]
Add GEOS spatial operations to liblwgeom (ticket #1050) [RT-SIGTA]

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