David Blasby
3bb308010d
moved to lwgeom/ directory
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@469 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 18:23:22 +00:00
Sandro Santilli
0f1588cc44
Applied Mark Cave-Ayland patch
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@468 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 18:16:47 +00:00
Sandro Santilli
4b06becf40
rewritten split_extent to be more datatype-conservative
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@467 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 16:40:30 +00:00
Sandro Santilli
75f94ff787
added -bps switch to set maximun query level. reworked command line parsing
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@466 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 16:01:02 +00:00
Sandro Santilli
0b5148b910
more verbose output
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@465 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 15:29:35 +00:00
Sandro Santilli
85633d9461
initial import
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@464 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 11:52:24 +00:00
David Blasby
18f0162141
Initial version - still under discussion.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@463 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 00:38:11 +00:00
Sandro Santilli
d1b5a5262b
postgis_gist_sel(): added warnings if search_box goes outside of histogram grid
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@462 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-04 13:50:45 +00:00
Sandro Santilli
497f1a8e81
The selectivity estimator does add the full value of each cell it overlaps,
...
regardless of the actual overlapping area. Final gain is not applied
(formerly 1 / minimun between average feature cells occupation and
search_box cells occupation)
git-svn-id: http://svn.osgeo.org/postgis/trunk@461 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-04 09:44:57 +00:00
Sandro Santilli
d40c6739cf
added check to keep selectivity value in the range of validity (suggested by m.cave)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@460 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-03 21:59:48 +00:00
Sandro Santilli
3f37606537
cpp call for postgis_new.sql creation uses shell redirection for the output file
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@459 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-02 11:39:50 +00:00
Sandro Santilli
f9c821dd12
modified to reflect new statistics building process for PG75
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@458 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-02 11:37:04 +00:00
Sandro Santilli
8031bec86a
histogram's boxesPerSide computed as a function of the column's statistic target
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@457 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-01 16:02:41 +00:00
Sandro Santilli
894f7054c0
bug fix in postgis_gist_sel (for PG75): SysCache is not released if not acquired
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@456 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-29 21:53:42 +00:00
Sandro Santilli
822e465de7
Added rule to generate postgis_new.sql from postgis.sql.in using cpp
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@455 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-28 14:44:06 +00:00
Sandro Santilli
0b18670619
initial import
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@454 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-28 14:43:39 +00:00
Sandro Santilli
5517c8cab0
Fixed bugs reported by Mark Cave-Ayland <m.cave-ayland@webbased.co.uk>.
...
Re-introduced previously removed estimate value incrementation by
the fractional part of each of the cells' value computed as the fraction
of overlapping area.
git-svn-id: http://svn.osgeo.org/postgis/trunk@453 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-26 16:42:59 +00:00
Sandro Santilli
88af537da4
RTContainedBy and RTOverlap strategries implemented locally with a pgbox_overlap function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@452 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-25 13:17:31 +00:00
Sandro Santilli
937737f7ac
Added handling for point features in histogram creation (add 1 instead of AOI/cell_area when AOI is 0).
...
Fixed a wrong cast of BOX3D to BOX (called the convertion func).
Added some comments and an implementation on how to change evaluation
based on the average feature and search box cells occupation.
git-svn-id: http://svn.osgeo.org/postgis/trunk@451 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-25 12:00:32 +00:00
Sandro Santilli
90512cef28
initial version of && selectivity estimation for PG75
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@450 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-25 00:46:26 +00:00
Sandro Santilli
8985aab216
geometry analyzer builds the histogram
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@449 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-23 21:59:16 +00:00
Sandro Santilli
f557a4cf46
added skeleton functions for pg75 stats integration
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@448 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-23 12:18:55 +00:00
Sandro Santilli
d3071ba70c
changed USE_GEOS check from ifdef / ifndef to if / if !
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@447 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-12 10:34:49 +00:00
Sandro Santilli
996e2a8b54
byte endiannes detected empirically
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@446 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-09 18:49:23 +00:00
Sandro Santilli
8f07be0a9a
updated wkb reading funx to reflect changes made by pramsey in postgis_inout.c to be nicer with solaris
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@445 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-06 08:26:02 +00:00
David Blasby
4b0fcdb321
moved forward declarations from postgis.h to postgis_proj.c
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@444 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-06 00:42:25 +00:00
David Blasby
f1616f85cf
Optimized the curvature method (doesnt have to calculate e2)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@443 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-05 20:31:48 +00:00
David Blasby
80a0810d75
Added 'curvature method' for cases where the original algorithm breaks down.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@442 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-05 20:21:14 +00:00
Sandro Santilli
587424e24a
Added pg75 support scripts
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@441 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-04 22:27:02 +00:00
Sandro Santilli
cff7a5aca4
Added detection code for PG75
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@440 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-04 22:21:11 +00:00
David Blasby
640943a3b0
applied patricia tozer's patch (distance function was taking acos of something
...
just slightly outside [-1,1]).
git-svn-id: http://svn.osgeo.org/postgis/trunk@439 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-04 02:53:20 +00:00
Paul Ramsey
7db5cc328b
Backed default sql file location out of contrib insto share
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@438 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 22:19:34 +00:00
Paul Ramsey
0ca5b8d4a9
Real DESTDIR changes this time.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@437 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 22:04:56 +00:00
Paul Ramsey
d0263515b6
Ooops, let local configuration slip into cvs version
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@436 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 21:51:38 +00:00
Paul Ramsey
fbf7c6327d
Fixed error in -C loader directive
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@435 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 21:42:25 +00:00
Paul Ramsey
e2cb22a273
Added DESTDIR to Makefiles to assist in RPM building.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@434 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 21:38:31 +00:00
Sandro Santilli
d9b5e0b58f
schema support added, slightly modified logic used to keep table and schema names cases (always quoted and forced to lower case if not asked to keep original case)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@433 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 08:37:48 +00:00
Paul Ramsey
2d140dd5c6
Test commit on new CVS archive.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@432 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-25 19:33:00 +00:00
Sandro Santilli
bcf43f8848
Added line_interpolate_point entry
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@431 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-21 19:11:54 +00:00
Sandro Santilli
4626186591
Added line_interpolate_point function by jsunday@rochgrp.com
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@430 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-21 19:04:03 +00:00
Sandro Santilli
f96a7c346b
cleaner comments for DropGeometryColumn
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@429 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-20 20:14:17 +00:00
Sandro Santilli
85ff5c3ffd
removed bogus comment about missed alter table drop column
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@428 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-20 20:10:39 +00:00
Sandro Santilli
9d6564462f
Added FTLogical<->boolean mapping
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@427 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-16 20:06:10 +00:00
Sandro Santilli
fc2838d543
field type array allocates num_fields * sizeof(int) instead of sizeof(char*)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@426 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-15 09:57:07 +00:00
Paul Ramsey
8e152805a0
Change absolute classpath reference to relative.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@425 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-15 00:23:08 +00:00
Paul Ramsey
f64f7949ea
Fix solaris alignment problem in transformations.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@424 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-14 01:52:53 +00:00
Paul Ramsey
f127255eea
Changed getint and getdouble used by WKB so that it plays nice with
...
memory alignment (solaris issue).
git-svn-id: http://svn.osgeo.org/postgis/trunk@423 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-13 22:14:25 +00:00
Sandro Santilli
a9db802c97
Added useless PG_RETURN_NULL() call to make compiler happy
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@422 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-13 20:30:19 +00:00
Paul Ramsey
1c6873a798
Updates for 0.8.1 release.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@420 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-12 19:12:01 +00:00
Sandro Santilli
ead3ee47c0
always call setval with no schema specification. drop 'database' argument using the empty string to the AddGeometryColumn call
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@419 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-02 20:11:41 +00:00