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