]> granicus.if.org Git - postgis/log
postgis
15 years agoAdd in support for magic srid numbers that will always be available for UTM WGS84...
Paul Ramsey [Sun, 18 Oct 2009 21:15:32 +0000 (21:15 +0000)]
Add in support for magic srid numbers that will always be available for UTM WGS84 and polar stereography. Will be used in wrappers that allow geometry functions to be applied to geography.

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

15 years agoST_Length(geography) per #266
Paul Ramsey [Sun, 18 Oct 2009 04:19:04 +0000 (04:19 +0000)]
ST_Length(geography) per #266

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

15 years agoMuck with index logging code.
Paul Ramsey [Fri, 16 Oct 2009 23:30:20 +0000 (23:30 +0000)]
Muck with index logging code.

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

15 years agoFix the geography <column> && <column> selectivity code. Now the answers between...
Mark Cave-Ayland [Fri, 16 Oct 2009 16:33:22 +0000 (16:33 +0000)]
Fix the geography <column> && <column> selectivity code. Now the answers between geometry and geography are reasonably similar :)

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

15 years agoCommit a first-hack attempt at a script to test the geography join estimation code.
Mark Cave-Ayland [Fri, 16 Oct 2009 16:31:52 +0000 (16:31 +0000)]
Commit a first-hack attempt at a script to test the geography join estimation code.

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

15 years agoChange "Mixed Geometry Types" message into a warning rather than an error in the...
Mark Cave-Ayland [Fri, 16 Oct 2009 16:23:50 +0000 (16:23 +0000)]
Change "Mixed Geometry Types" message into a warning rather than an error in the existing join estimation test script.

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

15 years agorevise to test && against table and also put in some floating points to make tests...
Regina Obe [Fri, 16 Oct 2009 13:33:25 +0000 (13:33 +0000)]
revise to test && against table and also put in some floating points to make tests more interesting

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

15 years ago#269 get rid of geography -> geometry implicit to make it an explicit cast
Regina Obe [Fri, 16 Oct 2009 13:01:42 +0000 (13:01 +0000)]
#269 get rid of geography -> geometry implicit to make it an explicit cast

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

15 years agoTell what the default is for -N in help output and README file
Sandro Santilli [Fri, 16 Oct 2009 09:37:14 +0000 (09:37 +0000)]
Tell what the default is for -N in help output and README file

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

15 years agoUpdate the TYPMOD_SET_* macros in the same way as for the FLAGS_SET_* macros earlier...
Mark Cave-Ayland [Thu, 15 Oct 2009 17:50:14 +0000 (17:50 +0000)]
Update the TYPMOD_SET_* macros in the same way as for the FLAGS_SET_* macros earlier, so that they actually change the variable they reference.

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

15 years agoAdd (slightly hacked) version of geography selectivity test script to the repo.
Mark Cave-Ayland [Thu, 15 Oct 2009 17:45:36 +0000 (17:45 +0000)]
Add (slightly hacked) version of geography selectivity test script to the repo.

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

15 years agoFix test_estimation.pl script so it doesn't require oids - no-one uses these in the...
Mark Cave-Ayland [Thu, 15 Oct 2009 17:44:48 +0000 (17:44 +0000)]
Fix test_estimation.pl script so it doesn't require oids - no-one uses these in the 21st century...

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

15 years agoAlter the FLAGS_SET_* macros so that they actually update the specified flag variable...
Mark Cave-Ayland [Thu, 15 Oct 2009 15:35:45 +0000 (15:35 +0000)]
Alter the FLAGS_SET_* macros so that they actually update the specified flag variable, rather than just returning the new value of the flag variable.

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

15 years agoFix for column intersection geography queries sometimes returning "lwgeom_get_gbox_ge...
Mark Cave-Ayland [Thu, 15 Oct 2009 14:48:01 +0000 (14:48 +0000)]
Fix for column intersection geography queries sometimes returning "lwgeom_get_gbox_geodetic: non-geodetic gbox provided" during execution - a missing initialisation bug.

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

15 years agoRe-enable ANALYZE hook, now that it doesn't crash upon loading Paul's test dataset...
Mark Cave-Ayland [Wed, 14 Oct 2009 16:57:54 +0000 (16:57 +0000)]
Re-enable ANALYZE hook, now that it doesn't crash upon loading Paul's test dataset anymore.

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

15 years agoDon't use the default (integer) version of abs() during floating point calculations...
Mark Cave-Ayland [Wed, 14 Oct 2009 16:22:09 +0000 (16:22 +0000)]
Don't use the default (integer) version of abs() during floating point calculations...

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

15 years agoMuch better fix for NaN area problem.
Paul Ramsey [Tue, 13 Oct 2009 19:50:45 +0000 (19:50 +0000)]
Much better fix for NaN area problem.

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

15 years agoHAck fix for NaN areas.
Paul Ramsey [Tue, 13 Oct 2009 19:39:19 +0000 (19:39 +0000)]
HAck fix for NaN areas.

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

15 years agoDon't copy bboxes from lwgeom to gserialized when working with geodetics. (#263)
Paul Ramsey [Sun, 11 Oct 2009 02:03:13 +0000 (02:03 +0000)]
Don't copy bboxes from lwgeom to gserialized when working with geodetics. (#263)

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

15 years agoupdate to include ST_Covers geography
Regina Obe [Sat, 10 Oct 2009 16:59:41 +0000 (16:59 +0000)]
update to include ST_Covers geography

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

15 years agoupdate ST_Area with geography examples
Regina Obe [Sat, 10 Oct 2009 15:43:39 +0000 (15:43 +0000)]
update ST_Area with geography examples

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

15 years agoAdd geometry(geography) case per #257
Paul Ramsey [Sat, 10 Oct 2009 03:18:28 +0000 (03:18 +0000)]
Add geometry(geography) case per #257

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

15 years agoFix ST_Area(geography) calculation to be more... correct.
Paul Ramsey [Sat, 10 Oct 2009 00:08:14 +0000 (00:08 +0000)]
Fix ST_Area(geography) calculation to be more... correct.

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

15 years agoAdd implementation for ST_Covers(geography, geography) in point-in-polygon case.
Paul Ramsey [Fri, 9 Oct 2009 19:23:05 +0000 (19:23 +0000)]
Add implementation for ST_Covers(geography, geography) in point-in-polygon case.

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

15 years agoFix incorrect use of flags macros
Paul Ramsey [Fri, 9 Oct 2009 18:07:06 +0000 (18:07 +0000)]
Fix incorrect use of flags macros

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

15 years agoOne more fix for #260.
Paul Ramsey [Fri, 9 Oct 2009 16:51:27 +0000 (16:51 +0000)]
One more fix for #260.

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

15 years agoFix for #261 (spurious dimension difference errors)
Paul Ramsey [Fri, 9 Oct 2009 16:07:37 +0000 (16:07 +0000)]
Fix for #261 (spurious dimension difference errors)

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

15 years agoPut in proto for ST_Area(geography). Still need to put in example but my ST_Area...
Regina Obe [Fri, 9 Oct 2009 10:39:36 +0000 (10:39 +0000)]
Put in proto for ST_Area(geography).  Still need to put in example but my ST_Area is non-existent will double-check why.

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

15 years agoAdd ST_PointOutside() function for testing purposes.
Paul Ramsey [Fri, 9 Oct 2009 04:16:44 +0000 (04:16 +0000)]
Add ST_PointOutside() function for testing purposes.

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

15 years agoMake geographic point initialization slightly more efficient (avoid doing it twice...
Paul Ramsey [Thu, 8 Oct 2009 19:40:59 +0000 (19:40 +0000)]
Make geographic point initialization slightly more efficient (avoid doing it twice for each vertex)

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

15 years agoMake error messages slightly less opaque
Paul Ramsey [Thu, 8 Oct 2009 18:59:30 +0000 (18:59 +0000)]
Make error messages slightly less opaque

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

15 years agoComment out analyze argument in geometry type creation -- it is causing a crash for...
Paul Ramsey [Thu, 8 Oct 2009 18:41:40 +0000 (18:41 +0000)]
Comment out analyze argument in geometry type creation -- it is causing a crash for me when loading my test data tables.

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

15 years agoChange radius figure to common average.
Paul Ramsey [Thu, 8 Oct 2009 17:10:58 +0000 (17:10 +0000)]
Change radius figure to common average.

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

15 years agoReformat SQL lines with tabs
Paul Ramsey [Thu, 8 Oct 2009 17:04:56 +0000 (17:04 +0000)]
Reformat SQL lines with tabs

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

15 years agorevise readme to include link to instructions for garden test
Regina Obe [Thu, 8 Oct 2009 11:43:32 +0000 (11:43 +0000)]
revise readme to include link to instructions for garden test

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

15 years agoRevise to have function list past in as arg to xsltproc
Regina Obe [Thu, 8 Oct 2009 11:40:02 +0000 (11:40 +0000)]
Revise to have function list past in as arg to xsltproc

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

15 years agoCommit first attempt at working geography index selectivity - the conversion should...
Mark Cave-Ayland [Thu, 8 Oct 2009 10:29:11 +0000 (10:29 +0000)]
Commit first attempt at working geography index selectivity - the conversion should be there, however it needs some kind of test harness to verify some of the results.

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

15 years agoST_Area(geography) implementation and SQL bindings.
Paul Ramsey [Thu, 8 Oct 2009 05:35:59 +0000 (05:35 +0000)]
ST_Area(geography) implementation and SQL bindings.

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

15 years agoMake the calculation of gboxes a little simpler in the db level code.
Paul Ramsey [Wed, 7 Oct 2009 14:26:21 +0000 (14:26 +0000)]
Make the calculation of gboxes a little simpler in the db level code.

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

15 years agoFix #179: ST_MakeLine and ST_MakeLine_Garry crash server with null arrays again....
Mark Cave-Ayland [Wed, 7 Oct 2009 12:16:04 +0000 (12:16 +0000)]
Fix #179: ST_MakeLine and ST_MakeLine_Garry crash server with null arrays again. There was another non-NULL safe array iterator within LWGEOM_makeline_garray.

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

15 years agoAdd table with multiple nulls to garden of geometries. Evidentally -- there are...
Regina Obe [Wed, 7 Oct 2009 11:52:40 +0000 (11:52 +0000)]
Add table with multiple nulls to garden of geometries.  Evidentally -- there are some NULL bugs that escape trapping with just a single null geometry in the table.

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

15 years agoflip order of ST_Relate protos as Martin observes it doesn't match our description
Regina Obe [Wed, 7 Oct 2009 04:38:19 +0000 (04:38 +0000)]
flip order of ST_Relate protos as Martin observes it doesn't match our description

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

15 years agoPut prototypes into place
Paul Ramsey [Wed, 7 Oct 2009 03:38:41 +0000 (03:38 +0000)]
Put prototypes into place

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

15 years agoChange from pass by reference to pass by value
Paul Ramsey [Wed, 7 Oct 2009 03:37:00 +0000 (03:37 +0000)]
Change from pass by reference to pass by value

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

15 years agoShort circuit the edge intersection test when the gboxes are disjoint
Paul Ramsey [Wed, 7 Oct 2009 03:35:29 +0000 (03:35 +0000)]
Short circuit the edge intersection test when the gboxes are disjoint

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

15 years agoFirst attempt at porting the estimate_selectivity() function to handle 3 dimensions...
Mark Cave-Ayland [Tue, 6 Oct 2009 16:16:40 +0000 (16:16 +0000)]
First attempt at porting the estimate_selectivity() function to handle 3 dimensions. Note this is mostly untested at the moment, as this is only the function that cuts the relevant section out of the histogram. We still need to plug this into the PostgreSQL infrastructure.

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

15 years agoFix #258: ST_HausdorffDistance crashes server. Another geometry free typo (same as...
Mark Cave-Ayland [Tue, 6 Oct 2009 13:51:18 +0000 (13:51 +0000)]
Fix #258: ST_HausdorffDistance crashes server. Another geometry free typo (same as #241) in both st_hausdorffdistance() and st_hausdorffdistancedensify().

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

15 years agoFix #241: ST_LineCrossingDirection Server Crash (Segfault) caused by a typo freeing...
Mark Cave-Ayland [Tue, 6 Oct 2009 13:43:10 +0000 (13:43 +0000)]
Fix #241: ST_LineCrossingDirection Server Crash (Segfault) caused by a typo freeing the wrong parameter.

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

15 years agoPut NULL safety tests back in now that Mark has fixed aggregate collection bug
Regina Obe [Tue, 6 Oct 2009 12:02:26 +0000 (12:02 +0000)]
Put NULL safety tests back in now that Mark has fixed aggregate collection bug

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

15 years agoTurn of Paul's accidental commit of fanboy mac enabled random test
Regina Obe [Tue, 6 Oct 2009 11:15:41 +0000 (11:15 +0000)]
Turn of Paul's accidental commit of fanboy mac enabled random test

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

15 years agoFix compilation bug when debug is enabled.
Mark Cave-Ayland [Tue, 6 Oct 2009 10:49:44 +0000 (10:49 +0000)]
Fix compilation bug when debug is enabled.

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

15 years agoFix another non-NULL safe array iteration within LWGEOM_collect_garray, as discovered...
Mark Cave-Ayland [Tue, 6 Oct 2009 10:15:39 +0000 (10:15 +0000)]
Fix another non-NULL safe array iteration within LWGEOM_collect_garray, as discovered by Regina's torture tests.

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

15 years agoMove CFLAGS after the PGXS include directive, so that the autotools configuration...
Mark Cave-Ayland [Tue, 6 Oct 2009 08:52:23 +0000 (08:52 +0000)]
Move CFLAGS after the PGXS include directive, so that the autotools configuration doesn't getting overwritten by the PGXS version. Required when passing custom compiler f
lags into PostGIS as reported by William Kyngesburye.

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

15 years agoMake db implementation consistent with liblwgeom
Paul Ramsey [Tue, 6 Oct 2009 04:59:18 +0000 (04:59 +0000)]
Make db implementation consistent with liblwgeom

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

15 years agoChange signatures for lwgeom distance sphere
Paul Ramsey [Tue, 6 Oct 2009 04:50:35 +0000 (04:50 +0000)]
Change signatures for lwgeom distance sphere

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

15 years agoNew point-outside routine, and allow distances against empty geometries.
Paul Ramsey [Tue, 6 Oct 2009 04:19:26 +0000 (04:19 +0000)]
New point-outside routine, and allow distances against empty geometries.

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

15 years agoupdated ST_IsValid's reference to the OGC specs.
Kevin Neufeld [Mon, 5 Oct 2009 21:15:51 +0000 (21:15 +0000)]
updated ST_IsValid's reference to the OGC specs.

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

15 years agoMore test cases in there (but turned off, because they fail :(
Paul Ramsey [Mon, 5 Oct 2009 19:43:26 +0000 (19:43 +0000)]
More test cases in there (but turned off, because they fail :(

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

15 years agoAdd untested new p-i-p approach for more testing later.
Paul Ramsey [Mon, 5 Oct 2009 19:38:50 +0000 (19:38 +0000)]
Add untested new p-i-p approach for more testing later.

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

15 years agoCommit first attempt at a multi-D statistics histogram builder. Note that while geode...
Mark Cave-Ayland [Mon, 5 Oct 2009 16:17:02 +0000 (16:17 +0000)]
Commit first attempt at a multi-D statistics histogram builder. Note that while geodetic data is inherently 3D, the builder also contains code to handle lower dimension cartesian coordinates, which should make porting to ggeometry easier at a later date. At the moment there are no selectivity routines which actually use the histograms for real queries, however a reasonably convincing histogram is created in pg_statistic and all regression tests pass here.

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

15 years agoIncrease precision.
Paul Ramsey [Mon, 5 Oct 2009 14:37:57 +0000 (14:37 +0000)]
Increase precision.

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

15 years agoAdd another printing block
Paul Ramsey [Mon, 5 Oct 2009 14:37:05 +0000 (14:37 +0000)]
Add another printing block

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

15 years agomore errors in my logic
Regina Obe [Mon, 5 Oct 2009 12:52:35 +0000 (12:52 +0000)]
more errors in my logic

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

15 years agomore corrections
Regina Obe [Mon, 5 Oct 2009 11:45:10 +0000 (11:45 +0000)]
more corrections

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

15 years agoAdded new point-on-edge routine still no joy on bad test case.
Paul Ramsey [Mon, 5 Oct 2009 05:05:50 +0000 (05:05 +0000)]
Added new point-on-edge routine still no joy on bad test case.

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

15 years agoAdd another test case that needs resolution
Paul Ramsey [Sun, 4 Oct 2009 22:26:13 +0000 (22:26 +0000)]
Add another test case that needs resolution

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

15 years agoAdd SQL bindings for selectivity functions.
Paul Ramsey [Sun, 4 Oct 2009 01:41:32 +0000 (01:41 +0000)]
Add SQL bindings for selectivity functions.

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

15 years agorevert to previous version
Paul Ramsey [Sun, 4 Oct 2009 00:52:44 +0000 (00:52 +0000)]
revert to previous version

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

15 years agoSome fixes to the ST_DWithin code.
Paul Ramsey [Sun, 4 Oct 2009 00:51:00 +0000 (00:51 +0000)]
Some fixes to the ST_DWithin code.

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

15 years agomore changes to better test geography
Regina Obe [Fri, 2 Oct 2009 20:07:47 +0000 (20:07 +0000)]
more changes to better test geography

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

15 years agocosmetic change to tolerance args for ST_DWithin
Regina Obe [Fri, 2 Oct 2009 19:24:59 +0000 (19:24 +0000)]
cosmetic change to tolerance args for ST_DWithin

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

15 years agoput create table examples in program listing tag
Regina Obe [Fri, 2 Oct 2009 19:21:35 +0000 (19:21 +0000)]
put create table examples in program listing tag

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

15 years agoadd geography proto for ST_DWithin, also fill in some availability marks forgotten.
Regina Obe [Fri, 2 Oct 2009 19:08:51 +0000 (19:08 +0000)]
add geography proto for ST_DWithin, also fill in some availability marks forgotten.

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

15 years agoAdd geography example for ST_Distance, more geometry examples and amend to reflect...
Regina Obe [Fri, 2 Oct 2009 18:44:26 +0000 (18:44 +0000)]
Add geography example for ST_Distance, more geometry examples and amend to reflect its in meters

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

15 years agoLargely untested implementation of ST_DWithin(geography, geography).
Paul Ramsey [Fri, 2 Oct 2009 18:28:06 +0000 (18:28 +0000)]
Largely untested implementation of ST_DWithin(geography, geography).
We're in business baby!

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

15 years agotypo in help message
Sandro Santilli [Fri, 2 Oct 2009 14:13:50 +0000 (14:13 +0000)]
typo in help message

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

15 years agoMake the units of st_distance(geography, geography) meters
Paul Ramsey [Fri, 2 Oct 2009 01:38:02 +0000 (01:38 +0000)]
Make the units of st_distance(geography, geography) meters

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

15 years agoFix boner error
Paul Ramsey [Thu, 1 Oct 2009 23:54:58 +0000 (23:54 +0000)]
Fix boner error

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

15 years agotypos
Regina Obe [Thu, 1 Oct 2009 21:18:42 +0000 (21:18 +0000)]
typos

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

15 years agoput in ST_Distance proto for geography so can test it.
Regina Obe [Thu, 1 Oct 2009 20:37:33 +0000 (20:37 +0000)]
put in ST_Distance proto for geography so can test it.

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

15 years agoST_Distance(geography, geography) roughed in. Small detail, currently returns answers...
Paul Ramsey [Thu, 1 Oct 2009 19:50:44 +0000 (19:50 +0000)]
ST_Distance(geography, geography) roughed in. Small detail, currently returns answers in radians. :)

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

15 years agoAdd polygon/point distance and tests.
Paul Ramsey [Thu, 1 Oct 2009 18:45:59 +0000 (18:45 +0000)]
Add polygon/point distance and tests.

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

15 years agoWow, error that only showed up in MinGW, but totally an error. I wonder why my test...
Paul Ramsey [Thu, 1 Oct 2009 14:52:03 +0000 (14:52 +0000)]
Wow, error that only showed up in MinGW, but totally an error. I wonder why my test passed this... clean memory I guess.

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

15 years agolwgeom sphere distance function and tests for point/linestring
Paul Ramsey [Thu, 1 Oct 2009 05:53:07 +0000 (05:53 +0000)]
lwgeom sphere distance function and tests for point/linestring

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

15 years agoRoughing in lwgeom distance machinery now.
Paul Ramsey [Wed, 30 Sep 2009 23:59:01 +0000 (23:59 +0000)]
Roughing in lwgeom distance machinery now.

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

15 years agoAdd edge-edge distance tests.
Paul Ramsey [Wed, 30 Sep 2009 23:03:29 +0000 (23:03 +0000)]
Add edge-edge distance tests.

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

15 years agoAdd return value for point of closest approach on arc/edge distance.
Paul Ramsey [Wed, 30 Sep 2009 21:45:58 +0000 (21:45 +0000)]
Add return value for point of closest approach on arc/edge distance.

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

15 years agoAdd edge-to-point distance calculation and tests
Paul Ramsey [Wed, 30 Sep 2009 21:21:10 +0000 (21:21 +0000)]
Add edge-to-point distance calculation and tests

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

15 years agoRemove CPU intensive test and add some lat/lon utility functions
Paul Ramsey [Wed, 30 Sep 2009 19:34:29 +0000 (19:34 +0000)]
Remove CPU intensive test and add some lat/lon utility functions

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

15 years agoMake point-in-edge test even looser (fp tolerance factor)
Paul Ramsey [Wed, 30 Sep 2009 19:02:27 +0000 (19:02 +0000)]
Make point-in-edge test even looser (fp tolerance factor)

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

15 years agoMove defines around a bit.
Paul Ramsey [Wed, 30 Sep 2009 18:57:23 +0000 (18:57 +0000)]
Move defines around a bit.

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

15 years agoAdd some debugging blocks for later
Paul Ramsey [Wed, 30 Sep 2009 18:54:02 +0000 (18:54 +0000)]
Add some debugging blocks for later

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

15 years agoAdd in special case test for parallel / equal edges.
Paul Ramsey [Wed, 30 Sep 2009 18:28:26 +0000 (18:28 +0000)]
Add in special case test for parallel / equal edges.

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

15 years agoWhoops, make sure we test all our test cases.
Paul Ramsey [Wed, 30 Sep 2009 17:12:23 +0000 (17:12 +0000)]
Whoops, make sure we test all our test cases.

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

15 years agoMake random brute force test a compile-time option.
Paul Ramsey [Wed, 30 Sep 2009 17:09:35 +0000 (17:09 +0000)]
Make random brute force test a compile-time option.

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

15 years agoAdd more test cases for geocentric bbox calculation and make 'in cone' test inclusive...
Paul Ramsey [Wed, 30 Sep 2009 17:05:44 +0000 (17:05 +0000)]
Add more test cases for geocentric bbox calculation and make 'in cone' test inclusive of end points.

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

15 years agomore fixes to make geography friendly
Regina Obe [Wed, 30 Sep 2009 15:50:21 +0000 (15:50 +0000)]
more fixes to make geography friendly

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

15 years agoCan't put backslash-commands in 'echo' parameter in a standard way
Sandro Santilli [Wed, 30 Sep 2009 14:10:25 +0000 (14:10 +0000)]
Can't put backslash-commands in 'echo' parameter in a standard way
(would take -e in some cases) so replace \t with some spaces

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

15 years agoadd missing newline at end of error message (utf8/iconv)
Sandro Santilli [Wed, 30 Sep 2009 08:39:34 +0000 (08:39 +0000)]
add missing newline at end of error message (utf8/iconv)

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

15 years agoRe-enable all geodetic tests.
Paul Ramsey [Wed, 30 Sep 2009 00:17:10 +0000 (00:17 +0000)]
Re-enable all geodetic tests.

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