Regina Obe
|
15393c8a7b
|
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
|
2009-10-07 04:38:19 +00:00 |
|
Paul Ramsey
|
16379dfe1b
|
Put prototypes into place
git-svn-id: http://svn.osgeo.org/postgis/trunk@4614 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-07 03:38:41 +00:00 |
|
Paul Ramsey
|
c4e1620079
|
Change from pass by reference to pass by value
git-svn-id: http://svn.osgeo.org/postgis/trunk@4613 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-07 03:37:00 +00:00 |
|
Paul Ramsey
|
4dcc58e3b1
|
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
|
2009-10-07 03:35:29 +00:00 |
|
Mark Cave-Ayland
|
e7cc865258
|
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
|
2009-10-06 16:16:40 +00:00 |
|
Mark Cave-Ayland
|
24312ab78a
|
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
|
2009-10-06 13:51:18 +00:00 |
|
Mark Cave-Ayland
|
d8f2ffbe93
|
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
|
2009-10-06 13:43:10 +00:00 |
|
Regina Obe
|
1c2466bf6c
|
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
|
2009-10-06 12:02:26 +00:00 |
|
Regina Obe
|
acb21f5632
|
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
|
2009-10-06 11:15:41 +00:00 |
|
Mark Cave-Ayland
|
5e784b2b78
|
Fix compilation bug when debug is enabled.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4605 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-06 10:49:44 +00:00 |
|
Mark Cave-Ayland
|
115eb81d08
|
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
|
2009-10-06 10:15:39 +00:00 |
|
Mark Cave-Ayland
|
1f10ab9eb5
|
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
|
2009-10-06 08:52:23 +00:00 |
|
Paul Ramsey
|
3bee62fcd9
|
Make db implementation consistent with liblwgeom
git-svn-id: http://svn.osgeo.org/postgis/trunk@4600 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-06 04:59:18 +00:00 |
|
Paul Ramsey
|
0ae032c13c
|
Change signatures for lwgeom distance sphere
git-svn-id: http://svn.osgeo.org/postgis/trunk@4599 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-06 04:50:35 +00:00 |
|
Paul Ramsey
|
fab491e7f5
|
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
|
2009-10-06 04:19:26 +00:00 |
|
Kevin Neufeld
|
a446916482
|
updated ST_IsValid's reference to the OGC specs.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4597 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-05 21:15:51 +00:00 |
|
Paul Ramsey
|
d45b8c1079
|
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
|
2009-10-05 19:43:26 +00:00 |
|
Paul Ramsey
|
91a2035bdf
|
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
|
2009-10-05 19:38:50 +00:00 |
|
Mark Cave-Ayland
|
51339d603d
|
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
|
2009-10-05 16:17:02 +00:00 |
|
Paul Ramsey
|
36e52b4ce1
|
Increase precision.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4593 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-05 14:37:57 +00:00 |
|
Paul Ramsey
|
c01dd43e99
|
Add another printing block
git-svn-id: http://svn.osgeo.org/postgis/trunk@4592 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-05 14:37:05 +00:00 |
|
Regina Obe
|
e63e221fbd
|
more errors in my logic
git-svn-id: http://svn.osgeo.org/postgis/trunk@4591 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-05 12:52:35 +00:00 |
|
Regina Obe
|
7dd50bcb23
|
more corrections
git-svn-id: http://svn.osgeo.org/postgis/trunk@4590 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-05 11:45:10 +00:00 |
|
Paul Ramsey
|
48e130a70b
|
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
|
2009-10-05 05:05:50 +00:00 |
|
Paul Ramsey
|
b6b33573ac
|
Add another test case that needs resolution
git-svn-id: http://svn.osgeo.org/postgis/trunk@4588 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-04 22:26:13 +00:00 |
|
Paul Ramsey
|
85d716e2cd
|
Add SQL bindings for selectivity functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4587 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-04 01:41:32 +00:00 |
|
Paul Ramsey
|
8eefc7a0e9
|
revert to previous version
git-svn-id: http://svn.osgeo.org/postgis/trunk@4586 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-04 00:52:44 +00:00 |
|
Paul Ramsey
|
94e32a2c16
|
Some fixes to the ST_DWithin code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4585 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-04 00:51:00 +00:00 |
|
Regina Obe
|
96aceeffb5
|
more changes to better test geography
git-svn-id: http://svn.osgeo.org/postgis/trunk@4584 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-02 20:07:47 +00:00 |
|
Regina Obe
|
74605c0ca3
|
cosmetic change to tolerance args for ST_DWithin
git-svn-id: http://svn.osgeo.org/postgis/trunk@4583 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-02 19:24:59 +00:00 |
|
Regina Obe
|
871a9972b3
|
put create table examples in program listing tag
git-svn-id: http://svn.osgeo.org/postgis/trunk@4582 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-02 19:21:35 +00:00 |
|
Regina Obe
|
e8e6dd4f73
|
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
|
2009-10-02 19:08:51 +00:00 |
|
Regina Obe
|
19610a808d
|
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
|
2009-10-02 18:44:26 +00:00 |
|
Paul Ramsey
|
3f9570136e
|
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
|
2009-10-02 18:28:06 +00:00 |
|
Sandro Santilli
|
8f71576659
|
typo in help message
git-svn-id: http://svn.osgeo.org/postgis/trunk@4578 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-02 14:13:50 +00:00 |
|
Paul Ramsey
|
51e0a35518
|
Make the units of st_distance(geography, geography) meters
git-svn-id: http://svn.osgeo.org/postgis/trunk@4577 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-02 01:38:02 +00:00 |
|
Paul Ramsey
|
e84c82b667
|
Fix boner error
git-svn-id: http://svn.osgeo.org/postgis/trunk@4576 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-01 23:54:58 +00:00 |
|
Regina Obe
|
3c3a3c2b8f
|
typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@4575 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-01 21:18:42 +00:00 |
|
Regina Obe
|
898a8fbaf2
|
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
|
2009-10-01 20:37:33 +00:00 |
|
Paul Ramsey
|
0396a0468c
|
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
|
2009-10-01 19:50:44 +00:00 |
|
Paul Ramsey
|
f3a7f0882e
|
Add polygon/point distance and tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4572 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-01 18:45:59 +00:00 |
|
Paul Ramsey
|
255cb5ea13
|
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
|
2009-10-01 14:52:03 +00:00 |
|
Paul Ramsey
|
68dab94cd0
|
lwgeom sphere distance function and tests for point/linestring
git-svn-id: http://svn.osgeo.org/postgis/trunk@4570 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-01 05:53:07 +00:00 |
|
Paul Ramsey
|
a9848bdc11
|
Roughing in lwgeom distance machinery now.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4569 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-09-30 23:59:01 +00:00 |
|
Paul Ramsey
|
a5615bafed
|
Add edge-edge distance tests.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4568 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-09-30 23:03:29 +00:00 |
|
Paul Ramsey
|
0c179ca6e8
|
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
|
2009-09-30 21:45:58 +00:00 |
|
Paul Ramsey
|
ef1d4148b2
|
Add edge-to-point distance calculation and tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@4566 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-09-30 21:21:10 +00:00 |
|
Paul Ramsey
|
da11d36978
|
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
|
2009-09-30 19:34:29 +00:00 |
|
Paul Ramsey
|
26074368b3
|
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
|
2009-09-30 19:02:27 +00:00 |
|
Paul Ramsey
|
4983e1287f
|
Move defines around a bit.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4563 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-09-30 18:57:23 +00:00 |
|