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

15 years agoAdd some extra comments
Paul Ramsey [Wed, 30 Sep 2009 00:11:20 +0000 (00:11 +0000)]
Add some extra comments

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

15 years agoastyle the work thus far
Paul Ramsey [Tue, 29 Sep 2009 20:44:28 +0000 (20:44 +0000)]
astyle the work thus far

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

15 years agoFlip the clairaut calculations to return both top and bottom in one go.
Paul Ramsey [Tue, 29 Sep 2009 20:41:04 +0000 (20:41 +0000)]
Flip the clairaut calculations to return both top and bottom in one go.

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

15 years agoRemove old GBOX test answers (some were wrong!) in favor of actual slow calculations
Paul Ramsey [Tue, 29 Sep 2009 19:53:39 +0000 (19:53 +0000)]
Remove old GBOX test answers (some were wrong!) in favor of actual slow calculations

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

15 years agoAdd randomized box maker/checker... still some small errors?
Paul Ramsey [Tue, 29 Sep 2009 19:50:36 +0000 (19:50 +0000)]
Add randomized box maker/checker... still some small errors?

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

15 years agoMake polygon pole check a little more general.
Paul Ramsey [Tue, 29 Sep 2009 19:02:09 +0000 (19:02 +0000)]
Make polygon pole check a little more general.

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

15 years agoAll bbox test cases now pass. Suck on that!
Paul Ramsey [Tue, 29 Sep 2009 18:48:47 +0000 (18:48 +0000)]
All bbox test cases now pass. Suck on that!

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

15 years agoremove null geometry from testing until we fix aggregate null crashing bug. Also...
Regina Obe [Tue, 29 Sep 2009 15:55:23 +0000 (15:55 +0000)]
remove null geometry from testing until we fix aggregate null crashing bug.  Also fix multipolygonz and m not returning those geometry types.

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

15 years agoRemove un-used function from testing.
Paul Ramsey [Tue, 29 Sep 2009 14:40:48 +0000 (14:40 +0000)]
Remove un-used function from testing.

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

15 years agoWork on making "on edge" test more reliable.
Paul Ramsey [Tue, 29 Sep 2009 14:39:54 +0000 (14:39 +0000)]
Work on making "on edge" test more reliable.

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

15 years agoEnsure lwcollection_segmentize2d always return a NEW geometry. Fixes ticket #254...
Sandro Santilli [Tue, 29 Sep 2009 13:31:20 +0000 (13:31 +0000)]
Ensure lwcollection_segmentize2d always return a NEW geometry. Fixes ticket #254. Add regression test for that bug.

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

15 years agoAdd missing protos for geography for ST_AsKML, ST_AsGeoJSON, ST_AsSVG, ST_AsGML....
Regina Obe [Tue, 29 Sep 2009 12:42:03 +0000 (12:42 +0000)]
Add missing protos for geography for ST_AsKML, ST_AsGeoJSON, ST_AsSVG, ST_AsGML.  Revise xml parser special index generator to not dupe when multiple protos with geography

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

15 years agoPut in overload text for ST_AsText and ST_AsBinary to prevent the function .. is...
Regina Obe [Tue, 29 Sep 2009 12:23:44 +0000 (12:23 +0000)]
Put in overload text for ST_AsText and ST_AsBinary to prevent the function .. is not unique when passing in text (unknown) rep of a geometry.  Still need to do this for ST_AsKML etc. that Olivier just put in.

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

15 years agoUpdate documentation related to geography typmod export functions (r4535, r4536)
Olivier Courtin [Tue, 29 Sep 2009 07:45:30 +0000 (07:45 +0000)]
Update documentation related to geography typmod export functions (r4535, r4536)

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

15 years agoAdd a new special index section to collect functions that take as input or output...
Regina Obe [Tue, 29 Sep 2009 06:34:48 +0000 (06:34 +0000)]
Add a new special index section to collect functions that take as input or output geography data type.  Also give pretty anchor to PostGIS Geography section

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

15 years agoTest re-org and first cut at edge intersection.
Paul Ramsey [Mon, 28 Sep 2009 22:45:37 +0000 (22:45 +0000)]
Test re-org and first cut at edge intersection.

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

15 years agoA forgot prototype in ST_AsGeoJson export function
Olivier Courtin [Mon, 28 Sep 2009 18:31:34 +0000 (18:31 +0000)]
A forgot prototype in ST_AsGeoJson export function

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

15 years agoAdd geography typmod support for export functions (ST_AsGML, ST_AsGeoJson, ST_KML...
Olivier Courtin [Mon, 28 Sep 2009 18:16:21 +0000 (18:16 +0000)]
Add geography typmod support for export functions (ST_AsGML, ST_AsGeoJson, ST_KML, St_AsSVG). Create lwgeom_export.c and lwgeom_export.h to factorize common export functions routines.

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

15 years agoremove regex.h include per Nicklas observation its still in there.
Regina Obe [Fri, 25 Sep 2009 13:32:14 +0000 (13:32 +0000)]
remove regex.h include per Nicklas observation its still in there.

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

15 years agoAdd SQL def'n for geography_analyze function.
Paul Ramsey [Wed, 23 Sep 2009 18:15:43 +0000 (18:15 +0000)]
Add SQL def'n for geography_analyze function.

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

15 years agoanother typo
Regina Obe [Wed, 23 Sep 2009 16:11:52 +0000 (16:11 +0000)]
another typo

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

15 years agomissing spots for geography.sql and postgis_comments.sql
Regina Obe [Tue, 22 Sep 2009 21:56:48 +0000 (21:56 +0000)]
missing spots for geography.sql and postgis_comments.sql

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

15 years agocorrect typo
Regina Obe [Tue, 22 Sep 2009 21:53:23 +0000 (21:53 +0000)]
correct typo

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

15 years agostart putting in geography functions
Regina Obe [Tue, 22 Sep 2009 21:14:26 +0000 (21:14 +0000)]
start putting in geography functions

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

15 years agoCommit fix to LW_ABS() macro as discovered by Nicklas Aven.
Mark Cave-Ayland [Tue, 22 Sep 2009 13:38:17 +0000 (13:38 +0000)]
Commit fix to LW_ABS() macro as discovered by Nicklas Aven.

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

15 years agoAdd the basic machinery to call a function when running VACUUM ANALYZE on a geography...
Mark Cave-Ayland [Tue, 22 Sep 2009 13:09:00 +0000 (13:09 +0000)]
Add the basic machinery to call a function when running VACUUM ANALYZE on a geography column - the more interesting parts are yet to come ;)

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

15 years agoget rid of things like invalid coords for 4326 space tripping up geography testing.
Regina Obe [Tue, 22 Sep 2009 12:27:40 +0000 (12:27 +0000)]
get rid of things like invalid coords for 4326 space tripping up geography testing.

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

15 years agoOops - forgot to bump the array indices on the last commit :(
Mark Cave-Ayland [Tue, 22 Sep 2009 11:53:47 +0000 (11:53 +0000)]
Oops - forgot to bump the array indices on the last commit :(

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

15 years agoUpdate installation to include geography.sql (yikes we still had install lwpostgis...
Regina Obe [Tue, 22 Sep 2009 11:27:54 +0000 (11:27 +0000)]
Update installation to include geography.sql (yikes we still had install lwpostgis.sql -- no wonder people are so confused).  Also upped required to 8.3

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

15 years agocut in Paul's geography.txt into the official docs. Didn't notice it before :(....
Regina Obe [Tue, 22 Sep 2009 11:23:57 +0000 (11:23 +0000)]
cut in Paul's geography.txt into the official docs.  Didn't notice it before :(.  We might need a whole new chapter for this to do it justice but will deal with formatting later.

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

15 years agoAdd missing geometry(m)(z) type missing from previous commit.
Mark Cave-Ayland [Tue, 22 Sep 2009 11:23:30 +0000 (11:23 +0000)]
Add missing geometry(m)(z) type missing from previous commit.

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

15 years agoRemove dependency on regex library by implementing the same functionality using stand...
Mark Cave-Ayland [Tue, 22 Sep 2009 11:13:33 +0000 (11:13 +0000)]
Remove dependency on regex library by implementing the same functionality using standard C functions. Passes regression tests for me.

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

15 years agoChange signatures to use fewer pointers.
Paul Ramsey [Tue, 22 Sep 2009 00:06:09 +0000 (00:06 +0000)]
Change signatures to use fewer pointers.

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

15 years agoUpdate LWDEBUG(F)/POSTGIS_DEBUG(F) macro debug levels to follow the standard in postg...
Mark Cave-Ayland [Mon, 21 Sep 2009 10:57:59 +0000 (10:57 +0000)]
Update LWDEBUG(F)/POSTGIS_DEBUG(F) macro debug levels to follow the standard in postgis/DEBUG.

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

15 years agoChange macros to use capitalised names, as per standard C convention. This means...
Mark Cave-Ayland [Mon, 21 Sep 2009 10:50:00 +0000 (10:50 +0000)]
Change macros to use capitalised names, as per standard C convention. This means it is possible at a glance to determine what is a macro and what is a function.

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

15 years agofix typos and redundant things
Regina Obe [Sun, 20 Sep 2009 08:15:36 +0000 (08:15 +0000)]
fix typos and redundant things

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

15 years agoflag some operators that support geography, put in logic to test for geography marked...
Regina Obe [Sun, 20 Sep 2009 08:10:31 +0000 (08:10 +0000)]
flag some operators that support geography, put in logic to test for geography marked functions

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

15 years agogit-svn-id: http://svn.osgeo.org/postgis/trunk@4514 b70326c6-7e19-0410-871a-916f4a2858ee
Regina Obe [Sun, 20 Sep 2009 07:50:07 +0000 (07:50 +0000)]
git-svn-id: http://svn.osgeo.org/postgis/trunk@4514 b70326c6-7e19-0410-871a-916f4a2858ee

15 years agoMake slot for geography data type and start filling in details
Regina Obe [Sun, 20 Sep 2009 07:45:11 +0000 (07:45 +0000)]
Make slot for geography data type and start filling in details

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

15 years agoClean up tests so they pass quietly. (#249)
Paul Ramsey [Fri, 18 Sep 2009 14:53:25 +0000 (14:53 +0000)]
Clean up tests so they pass quietly. (#249)

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

15 years ago#250: Fix to get mingw to compile using conditional -lregex
Regina Obe [Fri, 18 Sep 2009 14:10:55 +0000 (14:10 +0000)]
#250: Fix to get mingw to compile using conditional -lregex
Had to change configure.ac too so -lregex is not put in if its built-in.

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

15 years agoRevise garden test to include testing for creating geography types. Still needs...
Regina Obe [Thu, 17 Sep 2009 15:44:47 +0000 (15:44 +0000)]
Revise garden test to include testing for creating geography types.  Still needs a bit more work.  Also discovered more crashers to put in bug list (not all related to geography)

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

15 years agoFix serialization problem with lwgeoms that have bboxes.
Paul Ramsey [Thu, 17 Sep 2009 05:57:12 +0000 (05:57 +0000)]
Fix serialization problem with lwgeoms that have bboxes.

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

15 years agoClean up gbox serialization a little
Paul Ramsey [Thu, 17 Sep 2009 05:33:35 +0000 (05:33 +0000)]
Clean up gbox serialization a little

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

15 years agoAdd lwgeom_is_empty() test
Paul Ramsey [Thu, 17 Sep 2009 02:33:49 +0000 (02:33 +0000)]
Add lwgeom_is_empty() test

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

15 years agoWork on tracking down bug in casting geometry->geography
Paul Ramsey [Thu, 17 Sep 2009 00:01:53 +0000 (00:01 +0000)]
Work on tracking down bug in casting geometry->geography

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

15 years agoFix some test cases crossing the date line
Paul Ramsey [Wed, 16 Sep 2009 22:43:20 +0000 (22:43 +0000)]
Fix some test cases crossing the date line

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

15 years agoAdd gbox string constructor for testing purposes
Paul Ramsey [Wed, 16 Sep 2009 21:09:24 +0000 (21:09 +0000)]
Add gbox string constructor for testing purposes

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

15 years agoMore tests pass
Paul Ramsey [Wed, 16 Sep 2009 20:19:20 +0000 (20:19 +0000)]
More tests pass

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

15 years agoChange back to less intensive cartesian clairaut
Paul Ramsey [Wed, 16 Sep 2009 18:54:24 +0000 (18:54 +0000)]
Change back to less intensive cartesian clairaut

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

15 years agoFix errors in calculating geocentric bounds. Early test cases now pass!
Paul Ramsey [Wed, 16 Sep 2009 18:50:54 +0000 (18:50 +0000)]
Fix errors in calculating geocentric bounds. Early test cases now pass!

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

15 years agoHook geocentric calculation into gbox routines, start testing
Paul Ramsey [Tue, 15 Sep 2009 21:21:27 +0000 (21:21 +0000)]
Hook geocentric calculation into gbox routines, start testing

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

15 years agoGeocentric bounding box roughed in and compiles.
Paul Ramsey [Tue, 15 Sep 2009 19:50:24 +0000 (19:50 +0000)]
Geocentric bounding box roughed in and compiles.

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

15 years agoStart the geodetic machinery. Add an internal API header for eventual API rationalisation
Paul Ramsey [Mon, 14 Sep 2009 20:30:35 +0000 (20:30 +0000)]
Start the geodetic machinery. Add an internal API header for eventual API rationalisation

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

15 years agoCrib index penalty tweak from pgsphere.
Paul Ramsey [Mon, 14 Sep 2009 18:33:54 +0000 (18:33 +0000)]
Crib index penalty tweak from pgsphere.

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