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

13 years agoAnother minor check
Regina Obe [Fri, 5 Aug 2011 12:45:31 +0000 (12:45 +0000)]
Another minor check

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

13 years agoUpdate hard upgrade to include use of legacy_compatibility_layer.sql
Regina Obe [Thu, 4 Aug 2011 15:03:54 +0000 (15:03 +0000)]
Update hard upgrade to include use of legacy_compatibility_layer.sql

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

13 years agoCreate new legacy compatibility layer script which will install the absolute minimal...
Regina Obe [Wed, 3 Aug 2011 15:01:40 +0000 (15:01 +0000)]
Create new legacy compatibility layer script which will install the absolute minimal to restore an old postgis database.  Also got rid of srid function and moved to legacy compatibility layer.  Still need to test with a restore.

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

13 years agosome typo cleanup
Regina Obe [Wed, 3 Aug 2011 12:14:30 +0000 (12:14 +0000)]
some typo cleanup

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

13 years agoMake more efficient the case when no state or city is provided but zip is provided.
Regina Obe [Wed, 3 Aug 2011 05:00:36 +0000 (05:00 +0000)]
Make more efficient the case when no state or city is provided but zip is provided.

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

13 years agodocument new drop_indexes_generate_script function
Regina Obe [Wed, 3 Aug 2011 03:51:45 +0000 (03:51 +0000)]
document new drop_indexes_generate_script function

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

13 years agoMajor rework to improve speed, selectivity, and additional regress. Also added some...
Regina Obe [Wed, 3 Aug 2011 02:06:31 +0000 (02:06 +0000)]
Major rework to improve speed, selectivity, and additional regress. Also added some indexes and removed some  -- should solve #1145, #1148,  and #1131 (should be about 60% faster for most cases and in some as much as 20 times faster). Better performance if you set max results = 1. Some other minor cleanup.  documentation of new management helper functions coming next.

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

13 years agoAdd link to Sandro's topology Paris 2011 slides in summary of topology reference...
Regina Obe [Tue, 2 Aug 2011 06:33:49 +0000 (06:33 +0000)]
Add link to Sandro's topology Paris 2011 slides in summary of topology reference section

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

13 years agoUse strcpy rather than strncpy, simpler and less error-prone
Sandro Santilli [Thu, 28 Jul 2011 18:56:43 +0000 (18:56 +0000)]
Use strcpy rather than strncpy, simpler and less error-prone

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

13 years agoGive strncpy enough space to write a terminating null. Thanks gengor for the patch.
Sandro Santilli [Thu, 28 Jul 2011 18:43:27 +0000 (18:43 +0000)]
Give strncpy enough space to write a terminating null. Thanks gengor for the patch.

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

13 years agominor updates to ST_MakeLine to clarify pre-9.0 and 9.0+ approaches
Regina Obe [Wed, 27 Jul 2011 19:21:09 +0000 (19:21 +0000)]
minor updates to ST_MakeLine to clarify pre-9.0 and 9.0+ approaches

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

13 years ago1 more change
Regina Obe [Wed, 27 Jul 2011 11:55:00 +0000 (11:55 +0000)]
1 more change

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

13 years agofix typo
Regina Obe [Wed, 27 Jul 2011 11:54:13 +0000 (11:54 +0000)]
fix typo

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

13 years agoexample of using new PostgreSQL 9.0+ ORDER BY aggregate feature for ST_MakeLine
Regina Obe [Wed, 27 Jul 2011 11:52:51 +0000 (11:52 +0000)]
example of using new PostgreSQL 9.0+ ORDER BY aggregate feature for ST_MakeLine

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

13 years agomore examples for ST_Offsetcurve
Regina Obe [Tue, 26 Jul 2011 15:39:31 +0000 (15:39 +0000)]
more examples for ST_Offsetcurve

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

13 years agofix typo
Regina Obe [Tue, 26 Jul 2011 14:30:07 +0000 (14:30 +0000)]
fix typo

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

13 years agoremove left and right notes until I have arrows. not embarrass myself with my direct...
Regina Obe [Tue, 26 Jul 2011 14:29:37 +0000 (14:29 +0000)]
remove left and right notes until I have arrows.  not embarrass myself with my directional dyslexia.

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

13 years agoStart work documenting ST_AsRaster
Regina Obe [Tue, 26 Jul 2011 05:37:13 +0000 (05:37 +0000)]
Start work documenting ST_AsRaster

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

13 years agoreduce spacing more
Regina Obe [Mon, 25 Jul 2011 15:53:52 +0000 (15:53 +0000)]
reduce spacing more

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