Commit graph

462 commits

Author SHA1 Message Date
Sandro Santilli 4c6b5a4ad6 estimator applies a gain of AOI/cell_area on each cell it intersects (reverted to previous behaviour)
git-svn-id: http://svn.osgeo.org/postgis/trunk@479 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-09 00:09:56 +00:00
Sandro Santilli 00598982f8 changed error computation code to delta/totrows
git-svn-id: http://svn.osgeo.org/postgis/trunk@478 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-08 17:21:57 +00:00
Sandro Santilli 768a8d838e Added the RECHECK clause for gist_geometry_ops operator class operators
git-svn-id: http://svn.osgeo.org/postgis/trunk@477 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-08 12:16:30 +00:00
Sandro Santilli 238da5ad12 Comma-separated bps values accepted
git-svn-id: http://svn.osgeo.org/postgis/trunk@476 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-06 18:02:48 +00:00
Sandro Santilli 7301829942 Added RCSID string in usage output
git-svn-id: http://svn.osgeo.org/postgis/trunk@475 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-06 17:43:06 +00:00
Sandro Santilli ea0951f977 Added rcsid string to usage output
git-svn-id: http://svn.osgeo.org/postgis/trunk@474 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-06 17:35:59 +00:00
Sandro Santilli 18bb277721 Added -vacuum switch
git-svn-id: http://svn.osgeo.org/postgis/trunk@473 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 21:06:04 +00:00
Sandro Santilli a3b2c10373 Made the -bps switch specify the exact level(s) at which to run the test
git-svn-id: http://svn.osgeo.org/postgis/trunk@472 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 21:03:18 +00:00
David Blasby 04fcd499c5 Empty files - preparing for writting actual code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@471 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 18:25:34 +00:00
David Blasby aed7a5d2d3 Same as the one in the above directory
git-svn-id: http://svn.osgeo.org/postgis/trunk@470 b70326c6-7e19-0410-871a-916f4a2858ee
2004-03-05 18:23:47 +00:00
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