]> granicus.if.org Git - postgis/log
postgis
20 years agoinfinite geoms handled in WKB parser
Sandro Santilli [Thu, 3 Jun 2004 09:45:57 +0000 (09:45 +0000)]
infinite geoms handled in WKB parser

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

20 years agoyet another Infinite check used: finite() - which checks for NaN,-Inf,+Inf
Sandro Santilli [Thu, 3 Jun 2004 08:19:20 +0000 (08:19 +0000)]
yet another Infinite check used: finite() - which checks for NaN,-Inf,+Inf

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

20 years agoSimplified INFINITY checks by use of isinf()
Sandro Santilli [Thu, 3 Jun 2004 08:13:11 +0000 (08:13 +0000)]
Simplified INFINITY checks by use of isinf()

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

20 years agoInfinite coordinate geoms omitted from index
Sandro Santilli [Thu, 3 Jun 2004 07:58:11 +0000 (07:58 +0000)]
Infinite coordinate geoms omitted from index

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

20 years agowkt parser throws an error on Infinite coordinates
Sandro Santilli [Thu, 3 Jun 2004 07:57:29 +0000 (07:57 +0000)]
wkt parser throws an error on Infinite coordinates

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

20 years agoDocument the expand() function (finally!)
Paul Ramsey [Thu, 3 Jun 2004 04:51:26 +0000 (04:51 +0000)]
Document the expand() function (finally!)

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

20 years agoMade equality checks the default in picksplit to catch also NaN results (INF geoms)
Sandro Santilli [Wed, 2 Jun 2004 23:54:09 +0000 (23:54 +0000)]
Made equality checks the default in picksplit to catch also NaN results (INF geoms)

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

20 years agoreverted Inf handling modification (conceptually bogus)
Sandro Santilli [Wed, 2 Jun 2004 23:29:08 +0000 (23:29 +0000)]
reverted Inf handling modification (conceptually bogus)

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

20 years agohandled special case of Inf boxes as GiST keys in picksplit
Sandro Santilli [Wed, 2 Jun 2004 22:43:54 +0000 (22:43 +0000)]
handled special case of Inf boxes as GiST keys in picksplit

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

20 years agostale locks removal in fix_geometry_columns() and update_geometry_stats(). Fixed...
Sandro Santilli [Wed, 2 Jun 2004 17:15:20 +0000 (17:15 +0000)]
stale locks removal in fix_geometry_columns() and update_geometry_stats(). Fixed a bug in fix_geometry_columns() deleting stats.

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

20 years agobuild_histogram2d sets 'local' search_path.
Sandro Santilli [Wed, 2 Jun 2004 16:21:06 +0000 (16:21 +0000)]
build_histogram2d sets 'local' search_path.
fix_geometry_columns sets to NULL cached data for unexistant tables.

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

20 years agoremoved namespace check for PG<73 in update_geometry_stats()
Sandro Santilli [Tue, 1 Jun 2004 16:56:07 +0000 (16:56 +0000)]
removed namespace check for PG<73 in update_geometry_stats()

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

20 years agoMade AddGeometryColumn delete from geometry_column records which would be incompatibl...
Sandro Santilli [Tue, 1 Jun 2004 16:30:10 +0000 (16:30 +0000)]
Made AddGeometryColumn delete from geometry_column records which would be incompatible with the one being added

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

20 years agoPlaced histogram2d type definition in a common place;
Sandro Santilli [Tue, 1 Jun 2004 16:16:23 +0000 (16:16 +0000)]
Placed histogram2d type definition in a common place;
added find_extent(schema, table, column) and build_histogram2d(histogram,
schema, table, column); modified update_geometry_stats() to make use
of available f_table_schema and to set statistical fields to NULL
for stale records. Thanks to Carl Anderson for the ideas.

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

20 years agoUpdates in anticipation of 0.8.2 release
Paul Ramsey [Fri, 28 May 2004 03:01:07 +0000 (03:01 +0000)]
Updates in anticipation of 0.8.2 release

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

20 years agoDocument the multi() function.
Paul Ramsey [Fri, 28 May 2004 02:42:14 +0000 (02:42 +0000)]
Document the multi() function.

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

20 years agocompat definition of fix_geometry_columns
Sandro Santilli [Mon, 24 May 2004 13:02:22 +0000 (13:02 +0000)]
compat definition of fix_geometry_columns

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

20 years agoFix bug in append mode that filled values into nonexistant gid column.
Paul Ramsey [Thu, 20 May 2004 19:21:08 +0000 (19:21 +0000)]
Fix bug in append mode that filled values into nonexistant gid column.

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

20 years agoFix typos and section misreferences in OGC function reference section
Paul Ramsey [Tue, 18 May 2004 16:56:59 +0000 (16:56 +0000)]
Fix typos and section misreferences in OGC function reference section

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

20 years agoAdd multi() to the new cpp based sql.in file.
Paul Ramsey [Tue, 18 May 2004 16:52:45 +0000 (16:52 +0000)]
Add multi() to the new cpp based sql.in file.

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

20 years agoTransformed NULL numeric values to 0 as it was before the introduction
Sandro Santilli [Thu, 13 May 2004 12:24:15 +0000 (12:24 +0000)]
Transformed NULL numeric values to 0 as it was before the introduction
of bigint bug workaround.

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

20 years agoUsed DBFWriteAttributeDirectly interface for writing attributes.
Sandro Santilli [Thu, 13 May 2004 12:13:01 +0000 (12:13 +0000)]
Used DBFWriteAttributeDirectly interface for writing attributes.
This way we are not affected by shapelib long-integer bug.

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

20 years agoOther fix in 3d handling - you should now be able to dump as 2d or 3d any 2d or 3d...
Sandro Santilli [Thu, 13 May 2004 12:07:13 +0000 (12:07 +0000)]
Other fix in 3d handling - you should now be able to dump as 2d or 3d any 2d or 3d object

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

20 years agoFixed bug in 3d features handling.
Sandro Santilli [Thu, 13 May 2004 11:59:08 +0000 (11:59 +0000)]
Fixed bug in 3d features handling.

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

20 years agoTotally reworked code to have a main loop for shapefile objects.
Sandro Santilli [Thu, 13 May 2004 09:40:33 +0000 (09:40 +0000)]
Totally reworked code to have a main loop for shapefile objects.
Much more readable, I belive.

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

20 years agoPut table creation code in its own function.
Sandro Santilli [Thu, 13 May 2004 07:48:47 +0000 (07:48 +0000)]
Put table creation code in its own function.
Fixed a bug with NULL shape records handling.

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

20 years agoDBFReadStringValue always used to workaround shapelib bug with int values.
Sandro Santilli [Thu, 13 May 2004 06:38:39 +0000 (06:38 +0000)]
DBFReadStringValue always used to workaround shapelib bug with int values.

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

20 years agoAdded -fPIC to CXXFLAGS. Reported to be needed on Solaris7 w/ gcc-3.3.2
Sandro Santilli [Tue, 4 May 2004 16:55:39 +0000 (16:55 +0000)]
Added -fPIC to CXXFLAGS. Reported to be needed on Solaris7 w/ gcc-3.3.2
by Havard Tveite <havard.tveite@nlh.no>.

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

20 years agoremoved generated file
Ralph Mason [Thu, 29 Apr 2004 21:07:25 +0000 (21:07 +0000)]
removed generated file

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

20 years ago*** empty log message ***
Ralph Mason [Thu, 29 Apr 2004 21:07:03 +0000 (21:07 +0000)]
*** empty log message ***

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

20 years agoNoted diff between inf and Infinity on Solaris/Intel machines
David Blasby [Thu, 29 Apr 2004 18:44:36 +0000 (18:44 +0000)]
Noted diff between inf and Infinity on Solaris/Intel machines

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

20 years agoupdated version
David Blasby [Thu, 29 Apr 2004 18:41:10 +0000 (18:41 +0000)]
updated version

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

20 years agoadded sleep so it wouldnt complain on solarias as much
David Blasby [Thu, 29 Apr 2004 18:36:47 +0000 (18:36 +0000)]
added sleep so it wouldnt complain on solarias as much

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

20 years agoWKT parser changes required this change
David Blasby [Thu, 29 Apr 2004 18:20:21 +0000 (18:20 +0000)]
WKT parser changes required this change

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

20 years agominor changes
David Blasby [Thu, 29 Apr 2004 18:16:37 +0000 (18:16 +0000)]
minor changes

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

20 years agoWKT parser changes to MULTIPOINT required this be updated
David Blasby [Thu, 29 Apr 2004 18:15:13 +0000 (18:15 +0000)]
WKT parser changes to MULTIPOINT required this be updated

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

20 years agoclean up of wbk int and double reading code
Ralph Mason [Thu, 29 Apr 2004 04:35:01 +0000 (04:35 +0000)]
clean up of wbk int and double reading code

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

20 years agofix number parsing
Ralph Mason [Thu, 29 Apr 2004 03:57:31 +0000 (03:57 +0000)]
fix number parsing

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

20 years agoremove extra brackets from multipoints
Ralph Mason [Thu, 29 Apr 2004 03:13:07 +0000 (03:13 +0000)]
remove extra brackets from multipoints

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

20 years agoChange PGSQL_SRC behavior back to developer-friendly.
Paul Ramsey [Wed, 28 Apr 2004 23:07:44 +0000 (23:07 +0000)]
Change PGSQL_SRC behavior back to developer-friendly.

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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