Commit graph

581 commits

Author SHA1 Message Date
Sandro Santilli 9eebeb9382 Fixed a bug killing the backend - lwg_parse_yyerror never called custom error handler
git-svn-id: http://svn.osgeo.org/postgis/trunk@599 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 15:32:10 +00:00
Sandro Santilli 3a5e49e646 allowed lower case in wkt
git-svn-id: http://svn.osgeo.org/postgis/trunk@598 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 10:07:06 +00:00
Sandro Santilli a4d8700ca7 Added missing prototypes.
git-svn-id: http://svn.osgeo.org/postgis/trunk@597 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-07 09:16:06 +00:00
Sandro Santilli 0486d1bc31 Added y.output
git-svn-id: http://svn.osgeo.org/postgis/trunk@596 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:24:39 +00:00
Sandro Santilli 4ec48f6fcd Added more cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@595 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:24:22 +00:00
Sandro Santilli 3fac0be8bd added semicolumns at end of blocks
git-svn-id: http://svn.osgeo.org/postgis/trunk@594 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:23:01 +00:00
Sandro Santilli a88128253b removed, will be created
git-svn-id: http://svn.osgeo.org/postgis/trunk@593 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 15:21:22 +00:00
Sandro Santilli e6b92aab1e Removed references to constraint name (unsafe) from probe_geometry_columns()
and fix_geometry_columns(). Added a rename_geometry_table_constraints()
renaming all geometry constraints to 'enforce_srid' and 'enforce_geotype'


git-svn-id: http://svn.osgeo.org/postgis/trunk@592 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 13:39:29 +00:00
Sandro Santilli 044a49c615 probe_geometry_columns() return message extended
git-svn-id: http://svn.osgeo.org/postgis/trunk@591 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 13:11:21 +00:00
Sandro Santilli 89814f0311 Added comments about fix_geometry_columns() job.
SRID and type checks made stricter in fix_geometry_columns().


git-svn-id: http://svn.osgeo.org/postgis/trunk@590 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 12:40:43 +00:00
Sandro Santilli 47faffb302 Added probe_geometry_columns().
Modified fix_geometry_columns() to prevent fixing of bogus records for
which a corrected equivalent already exists.


git-svn-id: http://svn.osgeo.org/postgis/trunk@589 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 12:26:34 +00:00
Sandro Santilli d510176aa1 Added DropGeometryTable description
git-svn-id: http://svn.osgeo.org/postgis/trunk@588 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 10:19:32 +00:00
Sandro Santilli daa3285b6c Added DropGeometryColumn function
git-svn-id: http://svn.osgeo.org/postgis/trunk@587 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 10:07:40 +00:00
Sandro Santilli 602d14668b first entries
git-svn-id: http://svn.osgeo.org/postgis/trunk@586 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 09:16:02 +00:00
Sandro Santilli 609223cf30 Added prototypes
git-svn-id: http://svn.osgeo.org/postgis/trunk@585 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 09:11:56 +00:00
Sandro Santilli 6061000960 Fixed YACC call to rename standardly produced y.tab.c and y.tab.h
to wktparse.tab.c and wktparse.tab.h


git-svn-id: http://svn.osgeo.org/postgis/trunk@584 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 09:07:39 +00:00
Sandro Santilli 81d3e41e96 Moved all geoemtry_columns cleanup in fix_geometry_columns,
update_geometry_stats(*) and addgeometrycolumn(*) will now
call the former and print out its result text.


git-svn-id: http://svn.osgeo.org/postgis/trunk@583 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 08:49:26 +00:00
Sandro Santilli 92bc86a780 Lifted AddGeometryColumns result message, including output from fix_geometry_columns
git-svn-id: http://svn.osgeo.org/postgis/trunk@582 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 08:31:30 +00:00
Sandro Santilli 75197ed304 fix_geometry_columns() makes its best effort to find appropriate schema.
git-svn-id: http://svn.osgeo.org/postgis/trunk@581 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-04 08:25:15 +00:00
Sandro Santilli cebda7b779 Added expand_geometry - expand(geometry, int8)
git-svn-id: http://svn.osgeo.org/postgis/trunk@580 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 16:44:56 +00:00
Sandro Santilli 1f72b4a25b added postgis_old.sql
git-svn-id: http://svn.osgeo.org/postgis/trunk@579 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:49:39 +00:00
Sandro Santilli ec70a564b3 Made it functional again.
git-svn-id: http://svn.osgeo.org/postgis/trunk@578 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:44:30 +00:00
Sandro Santilli 5cbf2bf538 compatted CASTS section, commented out bogus cast geometry::chip referring to missing function
git-svn-id: http://svn.osgeo.org/postgis/trunk@577 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:43:01 +00:00
Sandro Santilli 5169813d46 Skipped attrelid, varattnum linking for PG>=75
git-svn-id: http://svn.osgeo.org/postgis/trunk@576 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 13:20:53 +00:00
Sandro Santilli 012ed444f5 All type definitions moved at the beginning of the file.
Left to compat: what was in postgis_sql_end_VER_.


git-svn-id: http://svn.osgeo.org/postgis/trunk@575 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 12:48:00 +00:00
Sandro Santilli 5826682dc1 Fixed bug in update_geometry_stats() choking on null attrelids.
Modified update_geometry_stats(varchar, varchar) to cleanup stale
record(s).
Added a CREATEFUNCTION define to become CREATE OR REPLACE FUNCTION
for PG > 71.
Made update_geometry_stats(*) return meaningful result.


git-svn-id: http://svn.osgeo.org/postgis/trunk@574 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 11:06:53 +00:00
Sandro Santilli 96e2f04596 infinite geoms handled in WKB parser
git-svn-id: http://svn.osgeo.org/postgis/trunk@573 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 09:45:57 +00:00
Sandro Santilli e881f41d2e 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
2004-06-03 08:19:20 +00:00
Sandro Santilli 9f10323d58 Simplified INFINITY checks by use of isinf()
git-svn-id: http://svn.osgeo.org/postgis/trunk@571 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 08:13:11 +00:00
Sandro Santilli d9a7af6540 Infinite coordinate geoms omitted from index
git-svn-id: http://svn.osgeo.org/postgis/trunk@570 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 07:58:11 +00:00
Sandro Santilli a2d53370b5 wkt parser throws an error on Infinite coordinates
git-svn-id: http://svn.osgeo.org/postgis/trunk@569 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 07:57:29 +00:00
Paul Ramsey 8c574d0eb7 Document the expand() function (finally!)
git-svn-id: http://svn.osgeo.org/postgis/trunk@568 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-03 04:51:26 +00:00
Sandro Santilli 808cf2b387 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
2004-06-02 23:54:09 +00:00
Sandro Santilli 9e009d6602 reverted Inf handling modification (conceptually bogus)
git-svn-id: http://svn.osgeo.org/postgis/trunk@566 b70326c6-7e19-0410-871a-916f4a2858ee
2004-06-02 23:29:08 +00:00
Sandro Santilli 729ec8ba27 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
2004-06-02 22:43:54 +00:00
Sandro Santilli 1c3e725824 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
2004-06-02 17:15:20 +00:00
Sandro Santilli 74db0229b8 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
2004-06-02 16:21:06 +00:00
Sandro Santilli 17b5b3aec3 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
2004-06-01 16:56:07 +00:00
Sandro Santilli 88b5aa149b 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
2004-06-01 16:30:10 +00:00
Sandro Santilli 1db62e335d 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
2004-06-01 16:16:23 +00:00
Paul Ramsey dce969ac46 Updates in anticipation of 0.8.2 release
git-svn-id: http://svn.osgeo.org/postgis/trunk@558 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-28 03:01:07 +00:00
Paul Ramsey a66c0642e5 Document the multi() function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@557 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-28 02:42:14 +00:00
Sandro Santilli f9a23d4827 compat definition of fix_geometry_columns
git-svn-id: http://svn.osgeo.org/postgis/trunk@556 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-24 13:02:22 +00:00
Paul Ramsey defb838d46 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
2004-05-20 19:21:08 +00:00
Paul Ramsey 4be62a343d 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
2004-05-18 16:56:59 +00:00
Paul Ramsey 57b06037d5 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
2004-05-18 16:52:45 +00:00
Sandro Santilli 733f5b73be 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
2004-05-13 12:24:15 +00:00
Sandro Santilli a8a91aefe9 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
2004-05-13 12:13:01 +00:00
Sandro Santilli 0a1c0b6592 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
2004-05-13 12:07:13 +00:00
Sandro Santilli 1cf3f64656 Fixed bug in 3d features handling.
git-svn-id: http://svn.osgeo.org/postgis/trunk@549 b70326c6-7e19-0410-871a-916f4a2858ee
2004-05-13 11:59:08 +00:00