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