Commit graph

562 commits

Author SHA1 Message Date
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
Sandro Santilli c4c21ce05a added simple malloc wrapper
git-svn-id: http://svn.osgeo.org/postgis/trunk@397 b70326c6-7e19-0410-871a-916f4a2858ee
2003-12-01 14:27:58 +00:00
Sandro Santilli 70c498d774 Some more changes, now useless since wkb.h is no more used (just to get in sync)
git-svn-id: http://svn.osgeo.org/postgis/trunk@396 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-28 11:28:03 +00:00
Sandro Santilli 9a953f8f9a Added explicit geometry as text cast
git-svn-id: http://svn.osgeo.org/postgis/trunk@395 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-28 11:25:31 +00:00
Sandro Santilli 8484b440ae Added WKB_recv function for binary WKB input
git-svn-id: http://svn.osgeo.org/postgis/trunk@394 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-28 11:06:49 +00:00
Sandro Santilli 06778b58d4 fixed bug in HexDecoder, made WKB parsing the default
git-svn-id: http://svn.osgeo.org/postgis/trunk@393 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-26 18:54:22 +00:00
Sandro Santilli d4a8d21069 binary cursor implemented
git-svn-id: http://svn.osgeo.org/postgis/trunk@392 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-26 18:14:11 +00:00
Sandro Santilli e0203c30b1 Made HEXWKB parsing settable at compile time
git-svn-id: http://svn.osgeo.org/postgis/trunk@391 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-26 17:21:00 +00:00
Sandro Santilli 780004614b Handled NULLS in wkb parsing, reduced functions args
git-svn-id: http://svn.osgeo.org/postgis/trunk@390 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-26 16:40:41 +00:00
Sandro Santilli ac80b09807 wkb support for all geom types
git-svn-id: http://svn.osgeo.org/postgis/trunk@389 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-26 15:45:53 +00:00
Sandro Santilli 620533a449 WKB start to work
git-svn-id: http://svn.osgeo.org/postgis/trunk@388 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-26 14:31:20 +00:00
Sandro Santilli 3ce0f0147d first attempt at wkb definitions
git-svn-id: http://svn.osgeo.org/postgis/trunk@387 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-25 17:32:47 +00:00
Sandro Santilli 5e4d2625d6 hardly trying to get WKB parsing work
git-svn-id: http://svn.osgeo.org/postgis/trunk@386 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-25 17:28:03 +00:00
Paul Ramsey e40e70c515 Updates for 0.8.0 release.
git-svn-id: http://svn.osgeo.org/postgis/trunk@385 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-25 03:03:01 +00:00
Paul Ramsey 21da0a35f5 Fixed syntax error in execution example.
git-svn-id: http://svn.osgeo.org/postgis/trunk@384 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-25 02:38:23 +00:00
Sandro Santilli ff12140764 Removed useless BYTE_ORDER checks
git-svn-id: http://svn.osgeo.org/postgis/trunk@383 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-24 17:36:28 +00:00
Paul Ramsey ae5cd609a4 Added Cygwin endian definition include to fix windows compile.
git-svn-id: http://svn.osgeo.org/postgis/trunk@381 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-21 23:51:14 +00:00
Sandro Santilli 0a2ea1726b patch from m.spring@gmx.de
git-svn-id: http://svn.osgeo.org/postgis/trunk@380 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-20 18:01:26 +00:00
Sandro Santilli 24b0f06cc1 Installs for PG>7.1 goes to pkglibdir
git-svn-id: http://svn.osgeo.org/postgis/trunk@379 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-20 17:51:43 +00:00
Sandro Santilli 357aab4a86 postgresql linking against libstdc++ reported as possibly needed for geos support
git-svn-id: http://svn.osgeo.org/postgis/trunk@378 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-20 16:46:22 +00:00