]> granicus.if.org Git - postgis/log
postgis
21 years agominor changes
David Blasby [Wed, 28 Apr 2004 22:59:56 +0000 (22:59 +0000)]
minor changes

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

21 years agoInital Version. Hasnt been proofread.
David Blasby [Wed, 28 Apr 2004 22:50:17 +0000 (22:50 +0000)]
Inital Version.  Hasnt been proofread.

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

21 years agoAdded flex/bison lines for parser.
Paul Ramsey [Wed, 28 Apr 2004 22:40:32 +0000 (22:40 +0000)]
Added flex/bison lines for parser.

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

21 years agoFixed spelling mistake in header text.
Paul Ramsey [Wed, 28 Apr 2004 22:26:02 +0000 (22:26 +0000)]
Fixed spelling mistake in header text.

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

21 years agominor changes to ensure its using the index
David Blasby [Wed, 28 Apr 2004 21:20:40 +0000 (21:20 +0000)]
minor changes to ensure its using the index

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

21 years agoupdated results
David Blasby [Wed, 28 Apr 2004 21:08:17 +0000 (21:08 +0000)]
updated results

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

21 years agominor change for endianess
David Blasby [Wed, 28 Apr 2004 21:02:58 +0000 (21:02 +0000)]
minor change for endianess

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

21 years agoremoved an elog(NOTICE)
David Blasby [Wed, 28 Apr 2004 21:00:43 +0000 (21:00 +0000)]
removed an elog(NOTICE)

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

21 years agoinital version of regression tests
David Blasby [Wed, 28 Apr 2004 19:17:25 +0000 (19:17 +0000)]
inital version of regression tests

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

21 years agomoved to regress/ directory
David Blasby [Wed, 28 Apr 2004 18:27:07 +0000 (18:27 +0000)]
moved to regress/ directory

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

21 years agoAdded automatic endian detection for the WKB parser/unparser.
David Blasby [Wed, 28 Apr 2004 18:10:41 +0000 (18:10 +0000)]
Added automatic endian detection for the WKB parser/unparser.

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

21 years agoGenericize the Makefile per Dave's request.
Paul Ramsey [Wed, 28 Apr 2004 04:55:42 +0000 (04:55 +0000)]
Genericize the Makefile per Dave's request.

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

21 years agominor 3d geometrycollection bug fix
David Blasby [Tue, 27 Apr 2004 23:47:39 +0000 (23:47 +0000)]
minor 3d geometrycollection bug fix

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

21 years agoinitial version
David Blasby [Tue, 27 Apr 2004 23:33:25 +0000 (23:33 +0000)]
initial version

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

21 years agominor changes for solaris
David Blasby [Tue, 27 Apr 2004 23:12:11 +0000 (23:12 +0000)]
minor changes for solaris

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

21 years agofixed some typos for flip_bytes in read_int and read_double
David Blasby [Tue, 27 Apr 2004 22:13:33 +0000 (22:13 +0000)]
fixed some typos for flip_bytes in read_int and read_double

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

21 years agominor ordering change
David Blasby [Tue, 27 Apr 2004 20:53:36 +0000 (20:53 +0000)]
minor ordering change

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

21 years agoadded float nextafterf_custom(float x, float y) for OSs that do not have
David Blasby [Tue, 27 Apr 2004 20:49:25 +0000 (20:49 +0000)]
added float nextafterf_custom(float x, float y) for OSs that do not have
a nextafterf implementation.

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

21 years agobison -vd -p lwg_parse_yy wktparse.y
David Blasby [Tue, 27 Apr 2004 17:46:46 +0000 (17:46 +0000)]
bison -vd -p lwg_parse_yy wktparse.y
flex -Plwg_parse_yy -if -o'lex.yy.c' wktparse.lex

Initial versions (from Ralph Mason)

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

21 years agoFixed bug in simplify() that was using the square of the given tolerance.
Sandro Santilli [Tue, 27 Apr 2004 13:50:59 +0000 (13:50 +0000)]
Fixed bug in simplify() that was using the square of the given tolerance.

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

21 years agoRemoved use of geometryFactory->toGeometry(), indicated by Martin Davis
Sandro Santilli [Tue, 27 Apr 2004 07:44:26 +0000 (07:44 +0000)]
Removed use of geometryFactory->toGeometry(), indicated by Martin Davis
as being intended for internal use only. Created a linear ring instead
(the function converts a box3d to a geos geometry).

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

21 years agomade slightly more generic
David Blasby [Mon, 26 Apr 2004 23:16:29 +0000 (23:16 +0000)]
made slightly more generic

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

21 years agoMinor cleanup
David Blasby [Mon, 26 Apr 2004 23:15:19 +0000 (23:15 +0000)]
Minor cleanup

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

21 years agoinital version
David Blasby [Mon, 26 Apr 2004 23:12:08 +0000 (23:12 +0000)]
inital version

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

21 years agoInitial working version - based on Ralph Masons WKT and WKB parser/writer.
David Blasby [Mon, 26 Apr 2004 23:05:20 +0000 (23:05 +0000)]
Initial working version - based on Ralph Masons WKT and WKB parser/writer.

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

21 years agofixed minor typos GeomFromWKB not GeometryFromWKB
David Blasby [Thu, 22 Apr 2004 16:05:44 +0000 (16:05 +0000)]
fixed minor typos GeomFromWKB not GeometryFromWKB

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

21 years agoAttribute names escaping mechanism added. You should now
Sandro Santilli [Wed, 21 Apr 2004 09:13:15 +0000 (09:13 +0000)]
Attribute names escaping mechanism added. You should now
be able to dump a shapefile equal to the one loaded.

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

21 years agoMemory allocated for main_scan_query was not enough when using binary cursor. Fixed
Sandro Santilli [Wed, 21 Apr 2004 07:38:34 +0000 (07:38 +0000)]
Memory allocated for main_scan_query was not enough when using binary cursor. Fixed

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

21 years agoGeometryN(...) now correctly says "1" is the 1st geometry (used to be 0).
David Blasby [Tue, 13 Apr 2004 16:49:18 +0000 (16:49 +0000)]
GeometryN(...) now correctly says "1" is the 1st geometry (used to be 0).

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

21 years agoSomehow the memory leak changes I made got removed - I've re-added them.
David Blasby [Thu, 8 Apr 2004 17:05:20 +0000 (17:05 +0000)]
Somehow the memory leak changes I made got removed - I've re-added them.

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

21 years agoChanged ggeometry_consistent to be aware of NULL queries. Ie.
David Blasby [Thu, 8 Apr 2004 17:00:27 +0000 (17:00 +0000)]
Changed ggeometry_consistent to be aware of NULL queries.  Ie.
select * from <table> where the_geom &&  null::geometry;

This tends to happen when you're joining two tables using && and the table
has NULLs in it.

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

21 years agoAdded a cstring(lwgeom) function that returns WKT!
David Blasby [Wed, 7 Apr 2004 23:12:31 +0000 (23:12 +0000)]
Added a cstring(lwgeom) function that returns WKT!

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

21 years agoMade new postgis.sql generation procedure the default
Sandro Santilli [Wed, 7 Apr 2004 16:23:24 +0000 (16:23 +0000)]
Made new postgis.sql generation procedure the default

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

21 years agoChanges to make it work with all the PostGIS type.
David Blasby [Tue, 6 Apr 2004 22:58:11 +0000 (22:58 +0000)]
Changes to make it work with all the PostGIS type.

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

21 years agoAdded support for 4d coordinates
David Blasby [Fri, 2 Apr 2004 19:03:06 +0000 (19:03 +0000)]
Added support for 4d coordinates

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

21 years agopostgis.sql.in is now parsed by both sed and cpp
Sandro Santilli [Mon, 29 Mar 2004 10:46:19 +0000 (10:46 +0000)]
postgis.sql.in is now parsed by both sed and cpp

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

21 years agoFixed a bug in WKB parsing for Multipoints.
Sandro Santilli [Mon, 29 Mar 2004 10:20:48 +0000 (10:20 +0000)]
Fixed a bug in WKB parsing for Multipoints.
Fixed a bug in -d handling for WKB.
Added point->multipoint fluffing capabilities.

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

21 years agoRemoved rogue docbook tags
Paul Ramsey [Fri, 26 Mar 2004 01:09:43 +0000 (01:09 +0000)]
Removed rogue docbook tags

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

21 years agochanged name of fluffType() to multi().
David Blasby [Fri, 26 Mar 2004 01:07:27 +0000 (01:07 +0000)]
changed name of fluffType() to multi().

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

21 years agoadded full support for fluffType(<geom>)
David Blasby [Fri, 26 Mar 2004 00:54:09 +0000 (00:54 +0000)]
added full support for fluffType(<geom>)
postgis09=# select fluffType('POINT(0 0)');
        flufftype
-------------------------
 SRID=-1;MULTIPOINT(0 0)

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

21 years agoadded function fluffType() that takes POINT LINESTRING or POLYGON
David Blasby [Thu, 25 Mar 2004 00:43:41 +0000 (00:43 +0000)]
added function fluffType() that takes POINT LINESTRING or POLYGON
type and converts it to a multi*.
Needs to be integrated into a proper Postgresql function and given an
SQL CREATE FUNCTION

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

21 years agoMoved AddGeometryColumn and DropGeometryColumn from USE_VERSION
Sandro Santilli [Mon, 22 Mar 2004 09:39:38 +0000 (09:39 +0000)]
Moved AddGeometryColumn and DropGeometryColumn from USE_VERSION
blocks to the end of file. Here, differences between versions
are handled on a minimun-diff basis, making it easier to understand
the differences and to modify the code. Also, diffs have been
splitted between pgsql < 73 and >= 73.
Added reduced-parameters wrappers to both functions.

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

21 years agopostgis_new.sql build by default
Sandro Santilli [Mon, 22 Mar 2004 08:18:02 +0000 (08:18 +0000)]
postgis_new.sql build by default

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

21 years agoUpdated AddGeometryColumn() and DropGeometryColumn() descriptions to the schema-aware...
Sandro Santilli [Fri, 19 Mar 2004 16:35:49 +0000 (16:35 +0000)]
Updated AddGeometryColumn() and DropGeometryColumn() descriptions to the schema-aware versions

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

21 years agoAdded calls to vacuum_delay_point() to give backend a chance of
Sandro Santilli [Mon, 15 Mar 2004 17:07:05 +0000 (17:07 +0000)]
Added calls to vacuum_delay_point() to give backend a chance of
interrupting geometry stats computation.
Set default DEBUG_GEOMETRY_STATS to 0.

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

21 years agominor clean and trying to figure out a memory bug. valgrind wasnt helping, but
David Blasby [Thu, 11 Mar 2004 01:27:43 +0000 (01:27 +0000)]
minor clean and trying to figure out a memory bug.  valgrind wasnt helping, but
it went away.

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

21 years agoShould be working (with a tonne of notices) for points lines and polygons (2d
David Blasby [Thu, 11 Mar 2004 00:54:37 +0000 (00:54 +0000)]
Should be working (with a tonne of notices) for points lines and polygons (2d
and 3d)

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

21 years agoFixed a bug reducing the output shapes from Multipolygon tables.
Sandro Santilli [Wed, 10 Mar 2004 18:46:07 +0000 (18:46 +0000)]
Fixed a bug reducing the output shapes from Multipolygon tables.

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

21 years agoremoved just-introduced bug
Sandro Santilli [Wed, 10 Mar 2004 17:35:16 +0000 (17:35 +0000)]
removed just-introduced bug

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

21 years agocode cleanup, fixed a bug missing to transform 'gid' to 'gid__2' in shapefile attribu...
Sandro Santilli [Wed, 10 Mar 2004 17:23:56 +0000 (17:23 +0000)]
code cleanup, fixed a bug missing to transform 'gid' to 'gid__2' in shapefile attribute name

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

21 years agoWKB reader and WKB writer (totally untested)
David Blasby [Wed, 10 Mar 2004 01:15:06 +0000 (01:15 +0000)]
WKB reader and WKB writer (totally untested)

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

21 years agoInitial implementation - should compile; not at all tested.
David Blasby [Tue, 9 Mar 2004 17:29:52 +0000 (17:29 +0000)]
Initial implementation - should compile; not at all tested.

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

21 years agoRemoved useless code blocks in histogram builder
Sandro Santilli [Tue, 9 Mar 2004 00:21:02 +0000 (00:21 +0000)]
Removed useless code blocks in histogram builder

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

21 years agoestimator applies a gain of AOI/cell_area on each cell it intersects (reverted to...
Sandro Santilli [Tue, 9 Mar 2004 00:09:56 +0000 (00:09 +0000)]
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

21 years agochanged error computation code to delta/totrows
Sandro Santilli [Mon, 8 Mar 2004 17:21:57 +0000 (17:21 +0000)]
changed error computation code to delta/totrows

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

21 years agoAdded the RECHECK clause for gist_geometry_ops operator class operators
Sandro Santilli [Mon, 8 Mar 2004 12:16:30 +0000 (12:16 +0000)]
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

21 years agoComma-separated bps values accepted
Sandro Santilli [Sat, 6 Mar 2004 18:02:48 +0000 (18:02 +0000)]
Comma-separated bps values accepted

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

21 years agoAdded RCSID string in usage output
Sandro Santilli [Sat, 6 Mar 2004 17:43:06 +0000 (17:43 +0000)]
Added RCSID string in usage output

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

21 years agoAdded rcsid string to usage output
Sandro Santilli [Sat, 6 Mar 2004 17:35:59 +0000 (17:35 +0000)]
Added rcsid string to usage output

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

21 years agoAdded -vacuum switch
Sandro Santilli [Fri, 5 Mar 2004 21:06:04 +0000 (21:06 +0000)]
Added -vacuum switch

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

21 years agoMade the -bps switch specify the exact level(s) at which to run the test
Sandro Santilli [Fri, 5 Mar 2004 21:03:18 +0000 (21:03 +0000)]
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

21 years agoEmpty files - preparing for writting actual code.
David Blasby [Fri, 5 Mar 2004 18:25:34 +0000 (18:25 +0000)]
Empty files - preparing for writting actual code.

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

21 years agoSame as the one in the above directory
David Blasby [Fri, 5 Mar 2004 18:23:47 +0000 (18:23 +0000)]
Same as the one in the above directory

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

21 years agomoved to lwgeom/ directory
David Blasby [Fri, 5 Mar 2004 18:23:22 +0000 (18:23 +0000)]
moved to lwgeom/ directory

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

21 years agoApplied Mark Cave-Ayland patch
Sandro Santilli [Fri, 5 Mar 2004 18:16:47 +0000 (18:16 +0000)]
Applied Mark Cave-Ayland patch

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

21 years agorewritten split_extent to be more datatype-conservative
Sandro Santilli [Fri, 5 Mar 2004 16:40:30 +0000 (16:40 +0000)]
rewritten split_extent to be more datatype-conservative

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

21 years agoadded -bps switch to set maximun query level. reworked command line parsing
Sandro Santilli [Fri, 5 Mar 2004 16:01:02 +0000 (16:01 +0000)]
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

21 years agomore verbose output
Sandro Santilli [Fri, 5 Mar 2004 15:29:35 +0000 (15:29 +0000)]
more verbose output

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

21 years agoinitial import
Sandro Santilli [Fri, 5 Mar 2004 11:52:24 +0000 (11:52 +0000)]
initial import

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

21 years agoInitial version - still under discussion.
David Blasby [Fri, 5 Mar 2004 00:38:11 +0000 (00:38 +0000)]
Initial version - still under discussion.

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

21 years agopostgis_gist_sel(): added warnings if search_box goes outside of histogram grid
Sandro Santilli [Thu, 4 Mar 2004 13:50:45 +0000 (13:50 +0000)]
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

21 years agoThe selectivity estimator does add the full value of each cell it overlaps,
Sandro Santilli [Thu, 4 Mar 2004 09:44:57 +0000 (09:44 +0000)]
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

21 years agoadded check to keep selectivity value in the range of validity (suggested by m.cave)
Sandro Santilli [Wed, 3 Mar 2004 21:59:48 +0000 (21:59 +0000)]
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

21 years agocpp call for postgis_new.sql creation uses shell redirection for the output file
Sandro Santilli [Tue, 2 Mar 2004 11:39:50 +0000 (11:39 +0000)]
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

21 years agomodified to reflect new statistics building process for PG75
Sandro Santilli [Tue, 2 Mar 2004 11:37:04 +0000 (11:37 +0000)]
modified to reflect new statistics building process for PG75

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

21 years agohistogram's boxesPerSide computed as a function of the column's statistic target
Sandro Santilli [Mon, 1 Mar 2004 16:02:41 +0000 (16:02 +0000)]
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

21 years agobug fix in postgis_gist_sel (for PG75): SysCache is not released if not acquired
Sandro Santilli [Sun, 29 Feb 2004 21:53:42 +0000 (21:53 +0000)]
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

21 years agoAdded rule to generate postgis_new.sql from postgis.sql.in using cpp
Sandro Santilli [Sat, 28 Feb 2004 14:44:06 +0000 (14:44 +0000)]
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

21 years agoinitial import
Sandro Santilli [Sat, 28 Feb 2004 14:43:39 +0000 (14:43 +0000)]
initial import

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

21 years agoFixed bugs reported by Mark Cave-Ayland <m.cave-ayland@webbased.co.uk>.
Sandro Santilli [Thu, 26 Feb 2004 16:42:59 +0000 (16:42 +0000)]
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

21 years agoRTContainedBy and RTOverlap strategries implemented locally with a pgbox_overlap...
Sandro Santilli [Wed, 25 Feb 2004 13:17:31 +0000 (13:17 +0000)]
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

21 years agoAdded handling for point features in histogram creation (add 1 instead of AOI/cell_ar...
Sandro Santilli [Wed, 25 Feb 2004 12:00:32 +0000 (12:00 +0000)]
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

21 years agoinitial version of && selectivity estimation for PG75
Sandro Santilli [Wed, 25 Feb 2004 00:46:26 +0000 (00:46 +0000)]
initial version of && selectivity estimation for PG75

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

21 years agogeometry analyzer builds the histogram
Sandro Santilli [Mon, 23 Feb 2004 21:59:16 +0000 (21:59 +0000)]
geometry analyzer builds the histogram

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

21 years agoadded skeleton functions for pg75 stats integration
Sandro Santilli [Mon, 23 Feb 2004 12:18:55 +0000 (12:18 +0000)]
added skeleton functions for pg75 stats integration

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

21 years agochanged USE_GEOS check from ifdef / ifndef to if / if !
Sandro Santilli [Thu, 12 Feb 2004 10:34:49 +0000 (10:34 +0000)]
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

21 years agobyte endiannes detected empirically
Sandro Santilli [Mon, 9 Feb 2004 18:49:23 +0000 (18:49 +0000)]
byte endiannes detected empirically

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

21 years agoupdated wkb reading funx to reflect changes made by pramsey in postgis_inout.c to...
Sandro Santilli [Fri, 6 Feb 2004 08:26:02 +0000 (08:26 +0000)]
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

21 years agomoved forward declarations from postgis.h to postgis_proj.c
David Blasby [Fri, 6 Feb 2004 00:42:25 +0000 (00:42 +0000)]
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

21 years agoOptimized the curvature method (doesnt have to calculate e2)
David Blasby [Thu, 5 Feb 2004 20:31:48 +0000 (20:31 +0000)]
Optimized the curvature method (doesnt have to calculate e2)

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

21 years agoAdded 'curvature method' for cases where the original algorithm breaks down.
David Blasby [Thu, 5 Feb 2004 20:21:14 +0000 (20:21 +0000)]
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

21 years agoAdded pg75 support scripts
Sandro Santilli [Wed, 4 Feb 2004 22:27:02 +0000 (22:27 +0000)]
Added pg75 support scripts

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

21 years agoAdded detection code for PG75
Sandro Santilli [Wed, 4 Feb 2004 22:21:11 +0000 (22:21 +0000)]
Added detection code for PG75

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

21 years agoapplied patricia tozer's patch (distance function was taking acos of something
David Blasby [Wed, 4 Feb 2004 02:53:20 +0000 (02:53 +0000)]
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

21 years agoBacked default sql file location out of contrib insto share
Paul Ramsey [Tue, 3 Feb 2004 22:19:34 +0000 (22:19 +0000)]
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

21 years agoReal DESTDIR changes this time.
Paul Ramsey [Tue, 3 Feb 2004 22:04:56 +0000 (22:04 +0000)]
Real DESTDIR changes this time.

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

21 years agoOoops, let local configuration slip into cvs version
Paul Ramsey [Tue, 3 Feb 2004 21:51:38 +0000 (21:51 +0000)]
Ooops, let local configuration slip into cvs version

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

21 years agoFixed error in -C loader directive
Paul Ramsey [Tue, 3 Feb 2004 21:42:25 +0000 (21:42 +0000)]
Fixed error in -C loader directive

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

21 years agoAdded DESTDIR to Makefiles to assist in RPM building.
Paul Ramsey [Tue, 3 Feb 2004 21:38:31 +0000 (21:38 +0000)]
Added DESTDIR to Makefiles to assist in RPM building.

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

21 years agoschema support added, slightly modified logic used to keep table and schema names...
Sandro Santilli [Tue, 3 Feb 2004 08:37:48 +0000 (08:37 +0000)]
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