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

13 years agoAddition of ST_AsRaster function to provide the ability to convert geometries into...
Bborie Park [Mon, 25 Jul 2011 15:52:36 +0000 (15:52 +0000)]
Addition of ST_AsRaster function to provide the ability to convert geometries into rasters.

Associated ticket is #1141.

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

13 years agoanother typo
Regina Obe [Mon, 25 Jul 2011 14:20:37 +0000 (14:20 +0000)]
another typo

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

13 years agofix coloring to agree with color of other examples
Regina Obe [Mon, 25 Jul 2011 14:10:09 +0000 (14:10 +0000)]
fix coloring to agree with color of other examples

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

13 years agoreduce width of table cells -- ST_OffsetCurve
Regina Obe [Mon, 25 Jul 2011 14:08:04 +0000 (14:08 +0000)]
reduce width of table cells -- ST_OffsetCurve

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

13 years agoredo all examples so they fit in the 0 0 200 200 grid
Regina Obe [Mon, 25 Jul 2011 14:04:35 +0000 (14:04 +0000)]
redo all examples so they fit in the 0 0  200 200 grid

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

13 years agofix some typos and grid more to fix
Regina Obe [Mon, 25 Jul 2011 13:44:53 +0000 (13:44 +0000)]
fix some typos and grid more to fix

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

13 years agoget rid of semicolons
Regina Obe [Mon, 25 Jul 2011 12:18:10 +0000 (12:18 +0000)]
get rid of semicolons

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

13 years agoneed more pictures :), visual examples for st_offsetcurve
Regina Obe [Mon, 25 Jul 2011 12:13:12 +0000 (12:13 +0000)]
need more pictures :), visual examples for st_offsetcurve

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

13 years agoupdate ST_MapAlgebra to agree with implementation (got rid of bosolete proto and...
Regina Obe [Sun, 24 Jul 2011 08:15:59 +0000 (08:15 +0000)]
update ST_MapAlgebra to agree with implementation (got rid of bosolete proto and example and replaced with new example

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

13 years agoBe terse, we don't care about context. Closes ticket #1142.
Sandro Santilli [Sat, 23 Jul 2011 21:42:54 +0000 (21:42 +0000)]
Be terse, we don't care about context. Closes ticket #1142.

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

13 years agoSet 'C' collation when creating regress database. See #1140.
Sandro Santilli [Sat, 23 Jul 2011 21:34:10 +0000 (21:34 +0000)]
Set 'C' collation when creating regress database. See #1140.

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

13 years agoAdded a note saying that those function now have a C implementation. Many TABs conver...
Pierre Racine [Fri, 22 Jul 2011 20:20:55 +0000 (20:20 +0000)]
Added a note saying that those function now have a C implementation. Many TABs converted to spaces.

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

13 years ago-Fix for #645.
Pierre Racine [Fri, 22 Jul 2011 20:05:47 +0000 (20:05 +0000)]
-Fix for #645.
-Replaced min and max with LEAST and GREATEST
-Adaptation to ST_SetBandNodataValue()

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

13 years agoFix for ticket #969. Removed conflicting function variant.
Pierre Racine [Fri, 22 Jul 2011 19:38:50 +0000 (19:38 +0000)]
Fix for ticket #969. Removed conflicting function variant.

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

13 years ago-Addaptation to new two rasters ST_MapAlgebra in which nodatavalue expressions are...
Pierre Racine [Fri, 22 Jul 2011 19:31:47 +0000 (19:31 +0000)]
-Addaptation to new two rasters ST_MapAlgebra in which nodatavalue expressions are text and now accept a nodatanodatavalueexpr.
-Added RANGE as a predefined expression.

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

13 years agoModified comment on further enhancements.
Pierre Racine [Fri, 22 Jul 2011 19:29:07 +0000 (19:29 +0000)]
Modified comment on further enhancements.

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

13 years ago-Fix for ticket #644. Removed all variants.
Pierre Racine [Fri, 22 Jul 2011 19:28:21 +0000 (19:28 +0000)]
-Fix for ticket #644. Removed all variants.
-Fixed the two rasters version.
-Added some tests.
-Added ST_MinPossibleVal().
-Determine new nodata value AFTER determining the new pixeltype.
-Replaced ST_SetBandHasNodataValue with ST_SetBandNodataValue(rast, NULL).
-Added implementation of two rasters overlay operations using the two raster MapAlgebra.

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

13 years agoCleaned the grid alignment code to remove unnecessary cruft in rt_raster_gdal_warp
Bborie Park [Thu, 21 Jul 2011 17:31:07 +0000 (17:31 +0000)]
Cleaned the grid alignment code to remove unnecessary cruft in rt_raster_gdal_warp

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

13 years agoFixed floating point issue with the remainder returned from the function modf in...
Bborie Park [Thu, 21 Jul 2011 16:20:36 +0000 (16:20 +0000)]
Fixed floating point issue with the remainder returned from the function modf in rt_api.c.  Updated messages in rt_pg.c.  Corrected expected regression results in rt_resample_expected.

Associated ticket is #1114

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

13 years agoImprove testsuite predictability (#1135)
Sandro Santilli [Wed, 20 Jul 2011 19:53:57 +0000 (19:53 +0000)]
Improve testsuite predictability (#1135)

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

13 years agoBug fix of deallocating array using wrong index variable
Bborie Park [Tue, 19 Jul 2011 22:20:40 +0000 (22:20 +0000)]
Bug fix of deallocating array using wrong index variable

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

13 years agoFixed width and height values expected.
Bborie Park [Mon, 18 Jul 2011 23:39:05 +0000 (23:39 +0000)]
Fixed width and height values expected.

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

13 years ago- tweaked the rt_resample regression test to use SRIDs under 1000000
Bborie Park [Mon, 18 Jul 2011 23:29:54 +0000 (23:29 +0000)]
- tweaked the rt_resample regression test to use SRIDs under 1000000
- changed the computation of width and height when aligning to a grid

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

13 years agoFix datatype of tlid on edges table. Other tables with tlid are set to bigint. ...
Regina Obe [Mon, 18 Jul 2011 04:44:11 +0000 (04:44 +0000)]
Fix datatype of tlid on edges table.  Other tables with tlid are set to bigint.  This one set to numeric(10).  Still revising my tables to determine what impact this has in utilizing the existing indexes

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

13 years agoLimit edge and featnames search to just road / street types
Regina Obe [Sun, 17 Jul 2011 17:39:00 +0000 (17:39 +0000)]
Limit edge and featnames search to just road / street types

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

13 years agomore regress tests for reverse_geocode
Regina Obe [Sun, 17 Jul 2011 17:02:02 +0000 (17:02 +0000)]
more regress tests for reverse_geocode

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

13 years agosimplify logic by getting rid of addr join. Speed improved slightly
Regina Obe [Sun, 17 Jul 2011 16:46:06 +0000 (16:46 +0000)]
simplify logic by getting rid of addr join.  Speed improved slightly

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

13 years agoenhancements to support reverse geocoding of highway locations. Also add reverse...
Regina Obe [Sun, 17 Jul 2011 16:11:08 +0000 (16:11 +0000)]
enhancements to support reverse geocoding of highway locations.  Also add reverse geocode regress tests

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

13 years ago#1125 have highway designations print in front of streetname instead of after
Regina Obe [Sat, 16 Jul 2011 04:19:45 +0000 (04:19 +0000)]
#1125 have highway designations print in front of streetname instead of after

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

13 years agoMinor comment updates to correct details
Bborie Park [Fri, 15 Jul 2011 21:07:32 +0000 (21:07 +0000)]
Minor comment updates to correct details

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

13 years agorevise ratings to minimize numberes steetss from matching highly with interstate...
Regina Obe [Fri, 15 Jul 2011 06:40:19 +0000 (06:40 +0000)]
revise ratings to minimize numberes steetss from matching highly with interstate routes.  Also glue on pretype abrv (which are technically street types) to front of street name in normalize output so that highways print correctly as e.g. State Hwy 10 etc.

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

13 years agoAdd in common abbreviation RT to map to Rte and test case to regress to test
Regina Obe [Fri, 15 Jul 2011 05:31:42 +0000 (05:31 +0000)]
Add in common abbreviation RT to map to Rte and test case to regress to test

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

13 years agoCode refactored for RASTER_dumpWKTPolygons to use same mechanisms for resultset gener...
Bborie Park [Thu, 14 Jul 2011 20:11:39 +0000 (20:11 +0000)]
Code refactored for RASTER_dumpWKTPolygons to use same mechanisms for resultset generation (Datums instead of CStrings) as RASTER_metadata and other functions.

SQL functions refactored to use one call to ST_Metadata for attributes rather than separate/multiple calls to ST_Skew*, ST_Scale*, ST_UpperLeft*.

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

13 years agoRefactored functions returning sets to use Datums instead of C strings, which were...
Bborie Park [Thu, 14 Jul 2011 14:54:49 +0000 (14:54 +0000)]
Refactored functions returning sets to use Datums instead of C strings, which were causing rounding issues particularly for ST_Metadata.  This refactoring affected RASTER_metadata, RASTER_bandmetadata, RASTER_summarystats, RASTER_histogram, RASTER_quantile, RASTER_valuecount and RASTER_gdaldrivers.

Also refactored the ST_Raster2World* and ST_World2Raster* functions to get the raster's metadata in one call using ST_Metadata rather than individual calls for the georeference components

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

13 years agoadd make tiger_geocoder_comments.sql to build script
Regina Obe [Thu, 14 Jul 2011 11:47:05 +0000 (11:47 +0000)]
add make tiger_geocoder_comments.sql to build script

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

13 years agoStart work on PostgreSQL in db help for geocoder
Regina Obe [Thu, 14 Jul 2011 11:32:45 +0000 (11:32 +0000)]
Start work on PostgreSQL in db help for geocoder

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

13 years agodocument the install_missing_indexes function that is used as part of the upgrade...
Regina Obe [Thu, 14 Jul 2011 11:13:10 +0000 (11:13 +0000)]
document the install_missing_indexes function that is used as part of the upgrade process

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

13 years ago#1113 take into consideration street prequals like Old in rating and filtering, also...
Regina Obe [Thu, 14 Jul 2011 07:45:31 +0000 (07:45 +0000)]
#1113 take into consideration street prequals like Old in rating and filtering, also added btree varops on fullname (trigrams and fulltext proved too slow will need to reinvestigate those), also added helper function install_missing_indezes() which gets run as part of upgrade script.  will need to add to documentation.  Also added regress tests from snippets in #1113

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

13 years agoComplete refactoring of code from ST_Transform to ST_Resample. There are four new...
Bborie Park [Wed, 13 Jul 2011 19:33:12 +0000 (19:33 +0000)]
Complete refactoring of code from ST_Transform to ST_Resample.  There are four new functions as of this revision: ST_Resample, ST_Rescale, ST_Reskew and ST_SnapToGrid.  ST_Transform is still present but points to ST_Resample.

Associated ticket #1114

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

13 years agoFix for #1112 service roads
Regina Obe [Tue, 12 Jul 2011 19:45:53 +0000 (19:45 +0000)]
Fix for #1112 service roads

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

13 years agoPartial fix for #1108
Regina Obe [Tue, 12 Jul 2011 13:03:16 +0000 (13:03 +0000)]
Partial fix for #1108

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

13 years agoFix regress failure with #1074 (wasn't correctly handling all cases where street...
Regina Obe [Tue, 12 Jul 2011 04:14:07 +0000 (04:14 +0000)]
Fix regress failure with #1074 (wasn't correctly handling all cases where street name is composed of a street type

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

13 years agoChange ST_OffsetCurve parameters type from cstrin to text. See ticket #1117.
Sandro Santilli [Mon, 11 Jul 2011 17:03:15 +0000 (17:03 +0000)]
Change ST_OffsetCurve parameters type from cstrin to text. See ticket #1117.

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

13 years agoStricter ISO output from ST_GetEdgeFaces: start enumerating ring edges from the edge...
Sandro Santilli [Mon, 11 Jul 2011 12:17:33 +0000 (12:17 +0000)]
Stricter ISO output from ST_GetEdgeFaces: start enumerating ring edges from the edge with smaller id [RT-SIGTA]

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

13 years agooops typo
Regina Obe [Sat, 9 Jul 2011 20:32:51 +0000 (20:32 +0000)]
oops typo

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

13 years agorevert change
Regina Obe [Sat, 9 Jul 2011 20:25:07 +0000 (20:25 +0000)]
revert change

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