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

21 years agoTest commit on new CVS archive.
Paul Ramsey [Sun, 25 Jan 2004 19:33:00 +0000 (19:33 +0000)]
Test commit on new CVS archive.

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

21 years agoAdded line_interpolate_point entry
Sandro Santilli [Wed, 21 Jan 2004 19:11:54 +0000 (19:11 +0000)]
Added line_interpolate_point entry

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

21 years agoAdded line_interpolate_point function by jsunday@rochgrp.com
Sandro Santilli [Wed, 21 Jan 2004 19:04:03 +0000 (19:04 +0000)]
Added line_interpolate_point function by jsunday@rochgrp.com

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

21 years agocleaner comments for DropGeometryColumn
Sandro Santilli [Tue, 20 Jan 2004 20:14:17 +0000 (20:14 +0000)]
cleaner comments for DropGeometryColumn

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

21 years agoremoved bogus comment about missed alter table drop column
Sandro Santilli [Tue, 20 Jan 2004 20:10:39 +0000 (20:10 +0000)]
removed bogus comment about missed alter table drop column

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

21 years agoAdded FTLogical<->boolean mapping
Sandro Santilli [Fri, 16 Jan 2004 20:06:10 +0000 (20:06 +0000)]
Added FTLogical<->boolean mapping

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

21 years agofield type array allocates num_fields * sizeof(int) instead of sizeof(char*)
Sandro Santilli [Thu, 15 Jan 2004 09:57:07 +0000 (09:57 +0000)]
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

21 years agoChange absolute classpath reference to relative.
Paul Ramsey [Thu, 15 Jan 2004 00:23:08 +0000 (00:23 +0000)]
Change absolute classpath reference to relative.

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

21 years agoFix solaris alignment problem in transformations.
Paul Ramsey [Wed, 14 Jan 2004 01:52:53 +0000 (01:52 +0000)]
Fix solaris alignment problem in transformations.

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

21 years agoChanged getint and getdouble used by WKB so that it plays nice with
Paul Ramsey [Tue, 13 Jan 2004 22:14:25 +0000 (22:14 +0000)]
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

21 years agoAdded useless PG_RETURN_NULL() call to make compiler happy
Sandro Santilli [Tue, 13 Jan 2004 20:30:19 +0000 (20:30 +0000)]
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

21 years agoUpdates for 0.8.1 release.
Paul Ramsey [Mon, 12 Jan 2004 19:12:01 +0000 (19:12 +0000)]
Updates for 0.8.1 release.

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

21 years agoalways call setval with no schema specification. drop 'database' argument using the...
Sandro Santilli [Fri, 2 Jan 2004 20:11:41 +0000 (20:11 +0000)]
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

21 years agomade shp2pgsql looser about numeric precisions
Sandro Santilli [Tue, 30 Dec 2003 13:31:53 +0000 (13:31 +0000)]
made shp2pgsql looser about numeric precisions

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

21 years agoFixed segfault bug reported by Randy George, removed explicit sequence drop
Sandro Santilli [Tue, 30 Dec 2003 12:37:46 +0000 (12:37 +0000)]
Fixed segfault bug reported by Randy George, removed explicit sequence drop

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

21 years agoFor all versions:
Sandro Santilli [Tue, 30 Dec 2003 10:40:21 +0000 (10:40 +0000)]
For all versions:
Updated fix_geometry_columns to use a more readable format in queries.

For PG >= 73:
Updated fix_geometry_columns() to consider schema when fixing attrelid and
varattnum, also changed empty value to 'public' string for records with
an invalid schema specification.
Updated DropGeometryColumn to actually issue the
ALTER TABLE DROP COLUMN query.

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

21 years agoAdded schema specification support
Sandro Santilli [Sat, 27 Dec 2003 13:30:23 +0000 (13:30 +0000)]
Added schema specification support

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

21 years agoAddGeometryColumn, DropGeometryColum moved to version-specific scripts.
Sandro Santilli [Tue, 23 Dec 2003 09:00:12 +0000 (09:00 +0000)]
AddGeometryColumn, DropGeometryColum moved to version-specific scripts.
Schema support enabled for version 73 and 74.

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

21 years agosubstituted setenv() calls with putenv() for Solaris support
Sandro Santilli [Fri, 19 Dec 2003 18:55:46 +0000 (18:55 +0000)]
substituted setenv() calls with putenv() for Solaris support

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

21 years agoChanged fix_geometry_columns() for PG >= 73 so to set f_table_schema to
Sandro Santilli [Thu, 18 Dec 2003 18:07:06 +0000 (18:07 +0000)]
Changed fix_geometry_columns() for PG >= 73 so to set f_table_schema to
the empty string if its value is not a valid pg namespace.

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

21 years agoadded simplify() documentation
Sandro Santilli [Tue, 16 Dec 2003 11:04:55 +0000 (11:04 +0000)]
added simplify() documentation

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