Paul Ramsey
|
74dbaa2429
|
Fix graxing case and improve co-linear handling with help from Nicklas Aven (#314)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4872 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-20 18:36:38 +00:00 |
|
Paul Ramsey
|
51be358f55
|
Handle the case where the stabline and a polygon edge are co-linear in point-in-polygon test.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4865 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-19 20:23:29 +00:00 |
|
Paul Ramsey
|
02ab6e17d5
|
Fix a double-free in the unit test for collection extract.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4850 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-17 22:29:40 +00:00 |
|
Paul Ramsey
|
b3d2b3c9f9
|
Implement ST_CollectionExtract() to pull specific homogeneous collections out of heterogeneous collections. Regressions and documentation included. (#218)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4847 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-17 20:03:50 +00:00 |
|
Paul Ramsey
|
43a8513e27
|
Update behavior of lwgeom_same to match "orderingequals" semantics (#289)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4789 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-11 19:57:24 +00:00 |
|
Paul Ramsey
|
8d538ca180
|
Slightly loosen equality tolerance check for point in cone... does this fix cunit regressions?
git-svn-id: http://svn.osgeo.org/postgis/trunk@4788 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-11 19:35:20 +00:00 |
|
Paul Ramsey
|
6adec1b2be
|
Simplify code and improve consistency of linecrossing results (#272)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4786 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-11 19:02:19 +00:00 |
|
Paul Ramsey
|
2d305b1795
|
Apply handling for EMPTY geometries to all geography functions per the DevWikiEmptyGeometry page.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4778 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-10 19:30:43 +00:00 |
|
Paul Ramsey
|
64b981e012
|
Fix for point-on-vertex case of st_covers (#271)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4761 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-07 00:12:56 +00:00 |
|
Olivier Courtin
|
4d138982f2
|
revert wrong commit (r4741) on wktparse.lex file
git-svn-id: http://svn.osgeo.org/postgis/trunk@4742 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-04 21:19:59 +00:00 |
|
Olivier Courtin
|
8d09ad000f
|
Allow a double to not have digit after dot (related to #175). Update unit test case
git-svn-id: http://svn.osgeo.org/postgis/trunk@4741 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-04 21:10:40 +00:00 |
|
Paul Ramsey
|
ac336483d6
|
Fix for #175, numbers with a terminal decimal won't parse.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4739 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-04 20:35:29 +00:00 |
|
Paul Ramsey
|
e0381459b7
|
Remove unit test failure cases in 32-bit architectures. Now have to test correctness
of algorithms on test data in 64-bit environment.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4732 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-04 00:13:04 +00:00 |
|
Paul Ramsey
|
9cddf4d6b9
|
File headers and property setting.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4729 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-03 21:24:53 +00:00 |
|
Paul Ramsey
|
9742ff9fbc
|
Re-enable other geodetic unit tests and remove Java code block.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4720 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-03 02:58:03 +00:00 |
|
Paul Ramsey
|
fba1c9c339
|
First cut of ST_Area(geography) on spheroid. Currently not default, use ST_Area(geog, true) to enable it. Beware of limitations over poles and eequator.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4719 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-11-03 00:36:02 +00:00 |
|
Paul Ramsey
|
6dd39806d5
|
Add ST_Length() implementation on spheroid and rationalize the sphere/spheroid implementations into
a smaller shared set of functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4710 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-31 00:01:45 +00:00 |
|
Paul Ramsey
|
260b853a58
|
Add in spheroid calculations for ST_Distance and ST_DWithin.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4709 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-30 20:45:50 +00:00 |
|
Paul Ramsey
|
33861fea7d
|
Minor changes for numerical stability. Remove logging.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4702 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-29 19:53:53 +00:00 |
|
Paul Ramsey
|
ac8f490ddb
|
Spheroid distance calculation between points added.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4700 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-29 19:24:06 +00:00 |
|
Olivier Courtin
|
0365190e5a
|
Add ptarray_merge function
git-svn-id: http://svn.osgeo.org/postgis/trunk@4679 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-24 16:35:31 +00:00 |
|
Olivier Courtin
|
f97acc13d3
|
Add ptarray_isclosed3d function
git-svn-id: http://svn.osgeo.org/postgis/trunk@4670 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-22 14:06:45 +00:00 |
|
Paul Ramsey
|
38adeece13
|
ST_Length(geography) per #266
git-svn-id: http://svn.osgeo.org/postgis/trunk@4662 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-18 04:19:04 +00:00 |
|
Mark Cave-Ayland
|
7dea8a5282
|
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
|
2009-10-15 17:50:14 +00:00 |
|
Mark Cave-Ayland
|
9ffba1ed15
|
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
|
2009-10-15 15:35:45 +00:00 |
|
Paul Ramsey
|
6839e6d5bc
|
Much better fix for NaN area problem.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4647 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-13 19:50:45 +00:00 |
|
Paul Ramsey
|
69f3fb98d7
|
HAck fix for NaN areas.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4646 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-13 19:39:19 +00:00 |
|
Paul Ramsey
|
c446e4711d
|
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
|
2009-10-11 02:03:13 +00:00 |
|
Paul Ramsey
|
40f0d6756c
|
Fix ST_Area(geography) calculation to be more... correct.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4636 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-10 00:08:14 +00:00 |
|
Paul Ramsey
|
45dab34e1c
|
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
|
2009-10-09 19:23:05 +00:00 |
|
Paul Ramsey
|
09d8eb42ca
|
Fix incorrect use of flags macros
git-svn-id: http://svn.osgeo.org/postgis/trunk@4634 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-09 18:07:06 +00:00 |
|
Paul Ramsey
|
f0b21a9582
|
One more fix for #260.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4633 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-09 16:51:27 +00:00 |
|
Paul Ramsey
|
044508e994
|
Fix for #261 (spurious dimension difference errors)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4632 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-09 16:07:37 +00:00 |
|
Paul Ramsey
|
3657335216
|
Add ST_PointOutside() function for testing purposes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4630 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-09 04:16:44 +00:00 |
|
Paul Ramsey
|
fdaedeaf12
|
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
|
2009-10-08 19:40:59 +00:00 |
|
Paul Ramsey
|
d5e350a587
|
ST_Area(geography) implementation and SQL bindings.
git-svn-id: http://svn.osgeo.org/postgis/trunk@4621 b70326c6-7e19-0410-871a-916f4a2858ee
|
2009-10-08 05:35:59 +00:00 |
|
Paul Ramsey
|
e2da8b5140
|
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
|
2009-10-07 14:26:21 +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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|