Commit graph

581 commits

Author SHA1 Message Date
Sandro Santilli f557a4cf46 added skeleton functions for pg75 stats integration
git-svn-id: http://svn.osgeo.org/postgis/trunk@448 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-23 12:18:55 +00:00
Sandro Santilli d3071ba70c changed USE_GEOS check from ifdef / ifndef to if / if !
git-svn-id: http://svn.osgeo.org/postgis/trunk@447 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-12 10:34:49 +00:00
Sandro Santilli 996e2a8b54 byte endiannes detected empirically
git-svn-id: http://svn.osgeo.org/postgis/trunk@446 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-09 18:49:23 +00:00
Sandro Santilli 8f07be0a9a updated wkb reading funx to reflect changes made by pramsey in postgis_inout.c to be nicer with solaris
git-svn-id: http://svn.osgeo.org/postgis/trunk@445 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-06 08:26:02 +00:00
David Blasby 4b0fcdb321 moved forward declarations from postgis.h to postgis_proj.c
git-svn-id: http://svn.osgeo.org/postgis/trunk@444 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-06 00:42:25 +00:00
David Blasby f1616f85cf Optimized the curvature method (doesnt have to calculate e2)
git-svn-id: http://svn.osgeo.org/postgis/trunk@443 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-05 20:31:48 +00:00
David Blasby 80a0810d75 Added 'curvature method' for cases where the original algorithm breaks down.
git-svn-id: http://svn.osgeo.org/postgis/trunk@442 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-05 20:21:14 +00:00
Sandro Santilli 587424e24a Added pg75 support scripts
git-svn-id: http://svn.osgeo.org/postgis/trunk@441 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-04 22:27:02 +00:00
Sandro Santilli cff7a5aca4 Added detection code for PG75
git-svn-id: http://svn.osgeo.org/postgis/trunk@440 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-04 22:21:11 +00:00
David Blasby 640943a3b0 applied patricia tozer's patch (distance function was taking acos of something
just slightly outside [-1,1]).


git-svn-id: http://svn.osgeo.org/postgis/trunk@439 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-04 02:53:20 +00:00
Paul Ramsey 7db5cc328b Backed default sql file location out of contrib insto share
git-svn-id: http://svn.osgeo.org/postgis/trunk@438 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 22:19:34 +00:00
Paul Ramsey 0ca5b8d4a9 Real DESTDIR changes this time.
git-svn-id: http://svn.osgeo.org/postgis/trunk@437 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 22:04:56 +00:00
Paul Ramsey d0263515b6 Ooops, let local configuration slip into cvs version
git-svn-id: http://svn.osgeo.org/postgis/trunk@436 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 21:51:38 +00:00
Paul Ramsey fbf7c6327d Fixed error in -C loader directive
git-svn-id: http://svn.osgeo.org/postgis/trunk@435 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 21:42:25 +00:00
Paul Ramsey e2cb22a273 Added DESTDIR to Makefiles to assist in RPM building.
git-svn-id: http://svn.osgeo.org/postgis/trunk@434 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 21:38:31 +00:00
Sandro Santilli d9b5e0b58f schema support added, slightly modified logic used to keep table and schema names cases (always quoted and forced to lower case if not asked to keep original case)
git-svn-id: http://svn.osgeo.org/postgis/trunk@433 b70326c6-7e19-0410-871a-916f4a2858ee
2004-02-03 08:37:48 +00:00
Paul Ramsey 2d140dd5c6 Test commit on new CVS archive.
git-svn-id: http://svn.osgeo.org/postgis/trunk@432 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-25 19:33:00 +00:00
Sandro Santilli bcf43f8848 Added line_interpolate_point entry
git-svn-id: http://svn.osgeo.org/postgis/trunk@431 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-21 19:11:54 +00:00
Sandro Santilli 4626186591 Added line_interpolate_point function by jsunday@rochgrp.com
git-svn-id: http://svn.osgeo.org/postgis/trunk@430 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-21 19:04:03 +00:00
Sandro Santilli f96a7c346b cleaner comments for DropGeometryColumn
git-svn-id: http://svn.osgeo.org/postgis/trunk@429 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-20 20:14:17 +00:00
Sandro Santilli 85ff5c3ffd removed bogus comment about missed alter table drop column
git-svn-id: http://svn.osgeo.org/postgis/trunk@428 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-20 20:10:39 +00:00
Sandro Santilli 9d6564462f Added FTLogical<->boolean mapping
git-svn-id: http://svn.osgeo.org/postgis/trunk@427 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-16 20:06:10 +00:00
Sandro Santilli fc2838d543 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
2004-01-15 09:57:07 +00:00
Paul Ramsey 8e152805a0 Change absolute classpath reference to relative.
git-svn-id: http://svn.osgeo.org/postgis/trunk@425 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-15 00:23:08 +00:00
Paul Ramsey f64f7949ea Fix solaris alignment problem in transformations.
git-svn-id: http://svn.osgeo.org/postgis/trunk@424 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-14 01:52:53 +00:00
Paul Ramsey f127255eea 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
2004-01-13 22:14:25 +00:00
Sandro Santilli a9db802c97 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
2004-01-13 20:30:19 +00:00
Paul Ramsey 1c6873a798 Updates for 0.8.1 release.
git-svn-id: http://svn.osgeo.org/postgis/trunk@420 b70326c6-7e19-0410-871a-916f4a2858ee
2004-01-12 19:12:01 +00:00
Sandro Santilli ead3ee47c0 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
2004-01-02 20:11:41 +00:00
Sandro Santilli 36491714ba made shp2pgsql looser about numeric precisions
git-svn-id: http://svn.osgeo.org/postgis/trunk@418 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-30 13:31:53 +00:00
Sandro Santilli 3d34af5c23 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
2003-12-30 12:37:46 +00:00
Sandro Santilli 2da2b51bca 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
2003-12-30 10:40:21 +00:00
Sandro Santilli 7a24e39a3f Added schema specification support
git-svn-id: http://svn.osgeo.org/postgis/trunk@415 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-27 13:30:23 +00:00
Sandro Santilli 18de82079e 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
2003-12-23 09:00:12 +00:00
Sandro Santilli f642ab98f1 substituted setenv() calls with putenv() for Solaris support
git-svn-id: http://svn.osgeo.org/postgis/trunk@413 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-19 18:55:46 +00:00
Sandro Santilli 20109b41e9 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
2003-12-18 18:07:06 +00:00
Sandro Santilli a1fec8f1aa added simplify() documentation
git-svn-id: http://svn.osgeo.org/postgis/trunk@411 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-16 11:04:55 +00:00
Sandro Santilli 70ed00f87e reverted make_line patch, patched size_subobject instead - the reported bug was caused to their inconsistency
git-svn-id: http://svn.osgeo.org/postgis/trunk@410 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-12 18:00:15 +00:00
Sandro Santilli b598e0cb67 Fixed a bug in make_line allocating less memory then required
git-svn-id: http://svn.osgeo.org/postgis/trunk@409 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-12 14:39:04 +00:00
Sandro Santilli ca5d9837f2 added missing 'const' in prototypes
git-svn-id: http://svn.osgeo.org/postgis/trunk@408 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-12 13:34:20 +00:00
Sandro Santilli dcb43cd920 More debugging output, some code cleanup.
git-svn-id: http://svn.osgeo.org/postgis/trunk@407 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-12 12:03:30 +00:00
Sandro Santilli 75f20992cb added GEOSnoop OUTPUT debugging info
git-svn-id: http://svn.osgeo.org/postgis/trunk@406 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-12 10:28:50 +00:00
Sandro Santilli b07df07351 Added GEOSnoop function and some optional debugging output for
geos<->postgis converter (define DEBUG_CONVERTER at top postgis_geos.c)


git-svn-id: http://svn.osgeo.org/postgis/trunk@405 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-12 10:08:24 +00:00
Sandro Santilli f44b43fa97 Final touch to wkb binary input function
git-svn-id: http://svn.osgeo.org/postgis/trunk@404 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-09 11:58:42 +00:00
Sandro Santilli 18d50c9239 WKB_recv: set StringInfo cursor to the end of StringInfo buf as required by postgres backend
git-svn-id: http://svn.osgeo.org/postgis/trunk@403 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-09 11:13:41 +00:00
Sandro Santilli e18921ff5e Binary WKB input function built only when USE_VERSION > 73. Making some modifications based on reported failures
git-svn-id: http://svn.osgeo.org/postgis/trunk@402 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-08 17:57:36 +00:00
Sandro Santilli 6a023a1ed4 Removed useless linkages from dumper and loader
git-svn-id: http://svn.osgeo.org/postgis/trunk@401 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-04 19:12:48 +00:00
Sandro Santilli 78e9411ebf code cleanup (removed useless and leaking malloc calls)
git-svn-id: http://svn.osgeo.org/postgis/trunk@400 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-04 19:11:56 +00:00
David Blasby e2d661db98 changed david skae to skea
git-svn-id: http://svn.osgeo.org/postgis/trunk@399 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-04 18:58:35 +00:00
Sandro Santilli 5487e7e639 shapelib put in sync with gdal cvs
git-svn-id: http://svn.osgeo.org/postgis/trunk@398 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-01 20:52:00 +00:00