]> granicus.if.org Git - postgis/log
postgis
9 years agoST_DistanceCPA: return distance at closest point of approach
Sandro Santilli [Tue, 9 Jun 2015 19:38:39 +0000 (19:38 +0000)]
ST_DistanceCPA: return distance at closest point of approach

Includes regression test and docs.

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

9 years agoHave ST_ClosestPointOfApproach return NULL if inputs do not meet
Sandro Santilli [Tue, 9 Jun 2015 19:21:28 +0000 (19:21 +0000)]
Have ST_ClosestPointOfApproach return NULL if inputs do not meet

Makes lwgeom_tcpa return -2 if inputs do not share any point in time.
Includes documentation and testcases tweaks.

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

9 years agoBe less noisy on meeting trajectories, add temporal test
Sandro Santilli [Tue, 9 Jun 2015 18:19:39 +0000 (18:19 +0000)]
Be less noisy on meeting trajectories, add temporal test

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

9 years agoFix lwgeom_tcpa distance computation for degenerate cases
Sandro Santilli [Tue, 9 Jun 2015 11:18:41 +0000 (11:18 +0000)]
Fix lwgeom_tcpa distance computation for degenerate cases

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

9 years agoImplement missing distance3d_pt_pt function
Sandro Santilli [Tue, 9 Jun 2015 11:18:35 +0000 (11:18 +0000)]
Implement missing distance3d_pt_pt function

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

9 years agoUpdate in-header documentation for lwgeom_split
Sandro Santilli [Tue, 9 Jun 2015 09:59:17 +0000 (09:59 +0000)]
Update in-header documentation for lwgeom_split

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

9 years ago#2906: move census functions into tiger_loader_2014.sql (needed since we took out...
Regina Obe [Sat, 6 Jun 2015 04:55:14 +0000 (04:55 +0000)]
#2906: move census functions into tiger_loader_2014.sql (needed since we took out of extension but still in docs) and will be needed for upgrades

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

9 years ago#2906: Fix webiste link postgis.net (instead of postgis.org), consolidate censustract...
Regina Obe [Fri, 5 Jun 2015 21:02:10 +0000 (21:02 +0000)]
#2906: Fix webiste link postgis.net (instead of postgis.org), consolidate censustract/bg/tabblock for 2014 into 2014 loader file, fix tabblock loading issue (they renamed it so its ends in 10 now)

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

9 years agoGet "Closest Point of Approach" name straight ...
Sandro Santilli [Thu, 4 Jun 2015 21:13:12 +0000 (21:13 +0000)]
Get "Closest Point of Approach" name straight ...

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

9 years agoMove ST_ClosestPointOfApproach tests under temporal.sql
Sandro Santilli [Thu, 4 Jun 2015 21:03:53 +0000 (21:03 +0000)]
Move ST_ClosestPointOfApproach tests under temporal.sql

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

9 years agochange extension install to go from root of tiger
Regina Obe [Thu, 4 Jun 2015 20:36:57 +0000 (20:36 +0000)]
change extension install to go from root of tiger

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

9 years agoa lot of this stuff is not tiger_2011, we should just go back to single folder
Regina Obe [Thu, 4 Jun 2015 20:32:56 +0000 (20:32 +0000)]
a lot of this stuff is not tiger_2011, we should just go back to single folder

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

9 years ago#2287, fix regressions with new debug in raster
Paul Ramsey [Thu, 4 Jun 2015 19:45:36 +0000 (19:45 +0000)]
#2287, fix regressions with new debug in raster

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

9 years agoHarmonize ST_SimplifyVW with ST_Simplify behavior when feeded with 0 tolerance
Nicklas Avén [Thu, 4 Jun 2015 18:53:10 +0000 (18:53 +0000)]
Harmonize ST_SimplifyVW with ST_Simplify behavior when feeded with 0 tolerance

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

9 years ago#2287, move debug messages in --enable-debug builds to the DEBUG PgSQL logging channel
Paul Ramsey [Thu, 4 Jun 2015 18:43:34 +0000 (18:43 +0000)]
#2287, move debug messages in --enable-debug builds to the DEBUG PgSQL logging channel

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

9 years ago#3133 add nd index recheck tests
Regina Obe [Thu, 4 Jun 2015 08:30:13 +0000 (08:30 +0000)]
#3133 add nd index recheck tests

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

9 years agorework the knn recheck tests for goemetry, geography, add some nd tests for 3d. ...
Regina Obe [Thu, 4 Jun 2015 08:14:59 +0000 (08:14 +0000)]
rework the knn recheck tests for goemetry, geography, add some nd tests for 3d.  still more tests to add.

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

9 years agoEmbed full version (and revision) in package name for dev snapshots.
Sandro Santilli [Thu, 4 Jun 2015 08:09:52 +0000 (08:09 +0000)]
Embed full version (and revision) in package name for dev snapshots.

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

9 years agospellign
Paul Ramsey [Wed, 3 Jun 2015 23:08:51 +0000 (23:08 +0000)]
spellign

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

9 years ago#3133, support for recheck on M-measured geometries
Paul Ramsey [Wed, 3 Jun 2015 20:53:33 +0000 (20:53 +0000)]
#3133, support for recheck on M-measured geometries

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

9 years agoIsolate <<->> in version-checked regression file
Paul Ramsey [Wed, 3 Jun 2015 19:36:49 +0000 (19:36 +0000)]
Isolate <<->> in version-checked regression file

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

9 years agowhitespace
Paul Ramsey [Wed, 3 Jun 2015 19:34:31 +0000 (19:34 +0000)]
whitespace

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

9 years ago#3133, add <<->> recheck supporrt and rip out <<#>>
Paul Ramsey [Wed, 3 Jun 2015 19:08:23 +0000 (19:08 +0000)]
#3133, add <<->> recheck supporrt and rip out <<#>>

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

9 years agoGuard from 1 point linestrings in st_simplifyvw and st_seteffectivearea
Nicklas Avén [Wed, 3 Jun 2015 18:34:38 +0000 (18:34 +0000)]
Guard from 1 point linestrings in st_simplifyvw and st_seteffectivearea

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

9 years ago#3132, KNN box-only operator <-> for geography to support PgSQL < 9.5
Paul Ramsey [Wed, 3 Jun 2015 17:05:12 +0000 (17:05 +0000)]
#3132, KNN box-only operator <-> for geography to support PgSQL < 9.5

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

9 years ago#3140, fix comparison function
Paul Ramsey [Wed, 3 Jun 2015 13:50:28 +0000 (13:50 +0000)]
#3140, fix comparison function

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

9 years agoquite tests a bit
Paul Ramsey [Wed, 3 Jun 2015 12:52:37 +0000 (12:52 +0000)]
quite tests a bit

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

9 years agoUpdate the GEOS version warning to recommend 3.4.2
Sandro Santilli [Wed, 3 Jun 2015 08:07:39 +0000 (08:07 +0000)]
Update the GEOS version warning to recommend 3.4.2

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

9 years ago#3143, use right type size / simpler pointer math?
Paul Ramsey [Tue, 2 Jun 2015 16:03:05 +0000 (16:03 +0000)]
#3143, use right type size / simpler pointer math?

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

9 years agoGuard against crazy selectivity numbers
Paul Ramsey [Mon, 1 Jun 2015 16:15:29 +0000 (16:15 +0000)]
Guard against crazy selectivity numbers

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

9 years agoST_BoundingDiagonal (#3139)
Sandro Santilli [Mon, 1 Jun 2015 16:09:22 +0000 (16:09 +0000)]
ST_BoundingDiagonal (#3139)

Includes tests and documentation

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

9 years agoHarmonize regression test
Paul Ramsey [Mon, 1 Jun 2015 13:36:24 +0000 (13:36 +0000)]
Harmonize regression test

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

9 years agoStylistic OCD
Paul Ramsey [Mon, 1 Jun 2015 13:23:47 +0000 (13:23 +0000)]
Stylistic OCD

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

9 years agoHarmonize threshold w/ message
Paul Ramsey [Mon, 1 Jun 2015 12:27:04 +0000 (12:27 +0000)]
Harmonize threshold w/ message

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

9 years ago#3074: Add postgres regress for ST_SubDivide, update documentation to not use example...
Regina Obe [Mon, 1 Jun 2015 09:04:59 +0000 (09:04 +0000)]
#3074: Add postgres regress for ST_SubDivide, update documentation to not use example below 8 vertices and put note about no less than 8 is allowed

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

9 years agomore fine tuning to force index use during index tests
Regina Obe [Sun, 31 May 2015 20:30:47 +0000 (20:30 +0000)]
more fine tuning to force index use during index tests

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

9 years ago#3127 revert back to use sphere distance (spheroid doesn't work with knn recheck...
Regina Obe [Sun, 31 May 2015 20:14:32 +0000 (20:14 +0000)]
#3127 revert back to use sphere distance (spheroid doesn't work with knn recheck), document that <-> is on sphere, change tests to be based on sphere instead of spheroid., #3131 reverting fixes index returned tuples wrong order issue

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

9 years agorevert last change
Regina Obe [Sun, 31 May 2015 04:48:51 +0000 (04:48 +0000)]
revert last change

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

9 years ago#3143 get rid of duplicate measure_suite_setup declaration to try to fix winnie's...
Regina Obe [Sun, 31 May 2015 04:01:59 +0000 (04:01 +0000)]
#3143 get rid of duplicate measure_suite_setup declaration to try to fix winnie's 32-bit whining.

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

9 years ago#3127 Switch knn to use spheroid distance instead of sphere distance
Regina Obe [Sun, 31 May 2015 01:57:31 +0000 (01:57 +0000)]
#3127 Switch knn to use spheroid distance instead of sphere distance

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

9 years agoA small opimization to not use temp buffer when size of npoints is not unpredictable
Nicklas Avén [Sat, 30 May 2015 20:35:09 +0000 (20:35 +0000)]
A small opimization to not use temp buffer when size of npoints is not unpredictable

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

9 years ago#3131, just fix KNN w/ big hammer
Paul Ramsey [Sat, 30 May 2015 15:54:17 +0000 (15:54 +0000)]
#3131, just fix KNN w/ big hammer

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

9 years agoUse the right function!
Paul Ramsey [Fri, 29 May 2015 23:08:16 +0000 (23:08 +0000)]
Use the right function!

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

9 years agoRemove stub code!
Paul Ramsey [Fri, 29 May 2015 23:07:47 +0000 (23:07 +0000)]
Remove stub code!

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

9 years ago#3131, fix crasher
Paul Ramsey [Fri, 29 May 2015 23:07:10 +0000 (23:07 +0000)]
#3131, fix crasher

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

9 years agoAdd raster garden tests to make garden run
Regina Obe [Fri, 29 May 2015 22:01:50 +0000 (22:01 +0000)]
Add raster garden tests to make garden run

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

9 years agoLower limit on max vertices
Paul Ramsey [Fri, 29 May 2015 21:21:51 +0000 (21:21 +0000)]
Lower limit on max vertices

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

9 years ago#3131, KNN geography still gives ERROR: index returned tuples in wrong order
Paul Ramsey [Fri, 29 May 2015 21:18:23 +0000 (21:18 +0000)]
#3131, KNN geography still gives ERROR: index returned tuples in wrong order

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

9 years agoAlter test
Paul Ramsey [Fri, 29 May 2015 17:39:18 +0000 (17:39 +0000)]
Alter test

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

9 years ago#3135, avoid infinite recursion on features with repeated points
Paul Ramsey [Fri, 29 May 2015 17:29:11 +0000 (17:29 +0000)]
#3135, avoid infinite recursion on features with repeated points

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

9 years ago#3134 change make garden to use regress install instead of the scripts in postgis/..
Regina Obe [Fri, 29 May 2015 07:56:29 +0000 (07:56 +0000)]
#3134 change make garden to use regress install instead of the scripts in postgis/..

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

9 years agoMove test to ifdef'ed location for GEOS 3.5
Paul Ramsey [Thu, 28 May 2015 20:25:11 +0000 (20:25 +0000)]
Move test to ifdef'ed location for GEOS 3.5

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

9 years agoMove some types around, see if winnie gets happier
Paul Ramsey [Thu, 28 May 2015 20:21:54 +0000 (20:21 +0000)]
Move some types around, see if winnie gets happier

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

9 years ago#3135, ST_SubDivide garden crasher on malformed polygon and linestring
Paul Ramsey [Thu, 28 May 2015 19:55:10 +0000 (19:55 +0000)]
#3135, ST_SubDivide garden crasher on malformed polygon and linestring

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

9 years agoRemove possible double free
Paul Ramsey [Thu, 28 May 2015 19:20:15 +0000 (19:20 +0000)]
Remove possible double free

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

9 years ago#2093, Add extra policy argument to control ST_Simplify behavior
Paul Ramsey [Thu, 28 May 2015 19:07:32 +0000 (19:07 +0000)]
#2093, Add extra policy argument to control ST_Simplify behavior

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

9 years agoRemove dead code
Paul Ramsey [Thu, 28 May 2015 16:30:48 +0000 (16:30 +0000)]
Remove dead code

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

9 years agoTWKB: Drop duplicate vertices during encoding
Paul Ramsey [Thu, 28 May 2015 16:30:16 +0000 (16:30 +0000)]
TWKB: Drop duplicate vertices during encoding

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

9 years agoAdd NEWS entry and another example for ST_IsValidTrajectory
Sandro Santilli [Thu, 28 May 2015 15:33:39 +0000 (15:33 +0000)]
Add NEWS entry and another example for ST_IsValidTrajectory

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

9 years agoAdd ST_IsValidTrajectory (#3129)
Sandro Santilli [Thu, 28 May 2015 15:18:23 +0000 (15:18 +0000)]
Add ST_IsValidTrajectory (#3129)

Adds lwgeom_is_trajectory and lwline_is_trajectory to liblwgeom.
Includes unit and regress test.

Includes documentation, starting a new "Temporal support" section
in which ST_ClosestPointOfApproach is also moved

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

9 years agoFix ST_ClosestPointOfApproach assumption of lwgeom->bbox being exact
Sandro Santilli [Wed, 27 May 2015 16:47:29 +0000 (16:47 +0000)]
Fix ST_ClosestPointOfApproach assumption of lwgeom->bbox being exact

See #3136

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

9 years agothe actual geography tst needs some work, but for now just commit what current returns
Regina Obe [Wed, 27 May 2015 11:45:54 +0000 (11:45 +0000)]
the actual geography tst needs some work, but for now just commit what current returns

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

9 years ago#3134: make garden doesn't install postgis (revise to ignore if plpgsql is already...
Regina Obe [Wed, 27 May 2015 06:30:58 +0000 (06:30 +0000)]
#3134: make garden doesn't install postgis (revise to ignore if plpgsql is already installed.)

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

9 years ago#3126, ST_SubDivide garden crasher on Polyhedral Surface
Paul Ramsey [Tue, 26 May 2015 22:42:19 +0000 (22:42 +0000)]
#3126, ST_SubDivide garden crasher on Polyhedral Surface

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

9 years agoFormatting
Paul Ramsey [Tue, 26 May 2015 19:08:47 +0000 (19:08 +0000)]
Formatting

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

9 years ago0se FP_TOLERANCE instead of 0
Paul Ramsey [Tue, 26 May 2015 19:07:02 +0000 (19:07 +0000)]
0se FP_TOLERANCE instead of 0

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

9 years agoDo KNN distance calcs on the spherod
Paul Ramsey [Tue, 26 May 2015 19:05:48 +0000 (19:05 +0000)]
Do KNN distance calcs on the spherod

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

9 years agoFix return type of LRS functions in docs from float to float8
Sandro Santilli [Tue, 26 May 2015 16:39:01 +0000 (16:39 +0000)]
Fix return type of LRS functions in docs from float to float8

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

9 years agoAdd missing tests for ST_AddMeasure and ST_InterpolatePoint
Sandro Santilli [Tue, 26 May 2015 15:38:29 +0000 (15:38 +0000)]
Add missing tests for ST_AddMeasure and ST_InterpolatePoint

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

9 years agoAdd ST_ClosestPointOfApproach (#3128)
Sandro Santilli [Tue, 26 May 2015 15:07:58 +0000 (15:07 +0000)]
Add ST_ClosestPointOfApproach (#3128)

Based on new lwgeom_tcpa liblwgeom function.
Includes unit and regress tests.
Includes documentation.

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

9 years agoRemove unused variable
Sandro Santilli [Tue, 26 May 2015 09:46:04 +0000 (09:46 +0000)]
Remove unused variable

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

9 years agoAdd some const qualifiers for 3d distance functions
Sandro Santilli [Tue, 26 May 2015 09:43:13 +0000 (09:43 +0000)]
Add some const qualifiers for 3d distance functions

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

9 years ago#2703: KNN geography recheck tests
Regina Obe [Tue, 26 May 2015 06:14:58 +0000 (06:14 +0000)]
#2703: KNN geography recheck tests

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

9 years agoTest for crasher
Paul Ramsey [Mon, 25 May 2015 18:10:58 +0000 (18:10 +0000)]
Test for crasher

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

9 years agoFix crasher found in garden tests
Paul Ramsey [Mon, 25 May 2015 18:07:54 +0000 (18:07 +0000)]
Fix crasher found in garden tests

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

9 years agoMove inline functions for clang compat
Paul Ramsey [Mon, 25 May 2015 17:58:44 +0000 (17:58 +0000)]
Move inline functions for clang compat

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

9 years agoIt's the object files that depend on headers, not the library
Sandro Santilli [Mon, 25 May 2015 16:38:57 +0000 (16:38 +0000)]
It's the object files that depend on headers, not the library

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

9 years agoInline helper measures3d functions
Sandro Santilli [Mon, 25 May 2015 16:38:50 +0000 (16:38 +0000)]
Inline helper measures3d functions

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

9 years agoConsider all headers as dependencies of library
Sandro Santilli [Mon, 25 May 2015 16:23:45 +0000 (16:23 +0000)]
Consider all headers as dependencies of library

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

9 years agoHeader guard and macro-protection for measures3d header
Sandro Santilli [Mon, 25 May 2015 16:23:40 +0000 (16:23 +0000)]
Header guard and macro-protection for measures3d header

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

9 years agowas right first time -- no space at end.
Regina Obe [Mon, 25 May 2015 14:06:01 +0000 (14:06 +0000)]
was right first time -- no space at end.

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

9 years agooops correction to what should be the results
Regina Obe [Mon, 25 May 2015 04:24:56 +0000 (04:24 +0000)]
oops correction to what should be the results

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

9 years ago#2703 knn_recheck regress tests -- will currently fail -- exercises issue nicklas...
Regina Obe [Mon, 25 May 2015 02:25:10 +0000 (02:25 +0000)]
#2703 knn_recheck regress tests -- will currently fail -- exercises issue nicklas brought up in -devel

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

9 years agoUpdate NEWS-file
Nicklas Avén [Sun, 24 May 2015 13:03:07 +0000 (13:03 +0000)]
Update NEWS-file

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

9 years ago#2703, don't use the cache when running distance tests for geography
Paul Ramsey [Fri, 22 May 2015 21:45:28 +0000 (21:45 +0000)]
#2703, don't use the cache when running distance tests for geography

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

9 years agominor wording and additional explain of KNN true dist (also put in an Enhanced flag)
Regina Obe [Fri, 22 May 2015 20:00:52 +0000 (20:00 +0000)]
minor wording and additional explain of KNN true dist (also put in an Enhanced flag)

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

9 years agoProperly guard against unused parameter reads
Paul Ramsey [Fri, 22 May 2015 19:04:51 +0000 (19:04 +0000)]
Properly guard against unused parameter reads

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

9 years agoCatch enhancements
Regina Obe [Fri, 22 May 2015 18:29:28 +0000 (18:29 +0000)]
Catch enhancements

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

9 years ago#3123, add example using array input form of function
Paul Ramsey [Fri, 22 May 2015 12:51:14 +0000 (12:51 +0000)]
#3123, add example using array input form of function

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

9 years agoTypos
Sandro Santilli [Fri, 22 May 2015 08:21:42 +0000 (08:21 +0000)]
Typos

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

9 years ago<-> for geography committed with recheck
Paul Ramsey [Thu, 21 May 2015 22:48:40 +0000 (22:48 +0000)]
<-> for geography committed with recheck

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

9 years agoReduce string concatenation operations
Sandro Santilli [Thu, 21 May 2015 15:32:02 +0000 (15:32 +0000)]
Reduce string concatenation operations

According to the SQL standard literal strings are automatically
merged when separated by at least a newline...

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

9 years agoClarify status
Paul Ramsey [Thu, 21 May 2015 13:12:30 +0000 (13:12 +0000)]
Clarify status

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

9 years ago#3124, Deprecation Warnings inside Aggregates
Paul Ramsey [Thu, 21 May 2015 13:00:23 +0000 (13:00 +0000)]
#3124, Deprecation Warnings inside Aggregates

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

9 years agoAdd postgis-out.xml back as a dependency of postgis_aggs_mm.xml
Sandro Santilli [Thu, 21 May 2015 11:37:43 +0000 (11:37 +0000)]
Add postgis-out.xml back as a dependency of postgis_aggs_mm.xml

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

9 years agoReduce number of calls to ST_RelateMatch during ValidateTopology
Sandro Santilli [Thu, 21 May 2015 11:29:06 +0000 (11:29 +0000)]
Reduce number of calls to ST_RelateMatch during ValidateTopology

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

9 years agoFix dependency of postgis_aggs_mm.xml Makefile rule
Sandro Santilli [Thu, 21 May 2015 08:26:09 +0000 (08:26 +0000)]
Fix dependency of postgis_aggs_mm.xml Makefile rule

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

9 years agoDo not get fooled by carriage returns - chomp did not do the job now explicit remove
Regina Obe [Wed, 20 May 2015 21:12:47 +0000 (21:12 +0000)]
Do not get fooled by carriage returns - chomp did not do the job now explicit remove

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

9 years ago#2703, support true KNN in PgSQL 9.5+
Paul Ramsey [Wed, 20 May 2015 19:00:26 +0000 (19:00 +0000)]
#2703, support true KNN in PgSQL 9.5+

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

9 years agoDo not get fooled by carriage returns
Sandro Santilli [Wed, 20 May 2015 18:09:56 +0000 (18:09 +0000)]
Do not get fooled by carriage returns

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