Commit graph

385 commits

Author SHA1 Message Date
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
Sandro Santilli 7d18e21f63 Updated postgis library path to be referenced with /..
git-svn-id: http://svn.osgeo.org/postgis/trunk@377 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-20 15:54:02 +00:00
Sandro Santilli c3f31dc5e5 expected in-transaction memory release for btree operators
git-svn-id: http://svn.osgeo.org/postgis/trunk@376 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-20 15:34:02 +00:00
Sandro Santilli 94ea0329b5 Moved MODULE_FILENAME definition where it will be easly modifiable
git-svn-id: http://svn.osgeo.org/postgis/trunk@375 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-20 15:29:43 +00:00
Sandro Santilli 56647c61f7 Removed some useless strdups.
Removed pgtype 22 (int2vector) from the list of integer DBF field types.
Added pgtype 1700 (numeric) in DBF doubles list.


git-svn-id: http://svn.osgeo.org/postgis/trunk@374 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-20 15:27:20 +00:00
Sandro Santilli bd2b8e457b Set CFLAGS where useless CPPFLAGS were used before
git-svn-id: http://svn.osgeo.org/postgis/trunk@373 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-20 14:46:07 +00:00
Sandro Santilli 787e68fa17 CR removed
git-svn-id: http://svn.osgeo.org/postgis/trunk@372 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 18:01:31 +00:00
Sandro Santilli a6567bbc69 missing function definition added (I forgot - sorry)
git-svn-id: http://svn.osgeo.org/postgis/trunk@371 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 17:50:18 +00:00
Sandro Santilli 82d319e69e added prototypes for geometry_{le,ge,cmp}
git-svn-id: http://svn.osgeo.org/postgis/trunk@370 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 15:44:51 +00:00
Sandro Santilli 68ba601a29 Added default btree operator class for PG7.4
git-svn-id: http://svn.osgeo.org/postgis/trunk@369 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 15:29:21 +00:00
Sandro Santilli 21abddc1f0 Added geometry_le, geometry_ge, geometry_cmp functions,
modified geometry_lt, geometry_gt, geometry_eq to be consistent.


git-svn-id: http://svn.osgeo.org/postgis/trunk@368 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 15:26:57 +00:00
Sandro Santilli f03f7caa65 Fixed wrong COMMUTATOR specifications in '<','>','~=','@' operators,
added new '<=', '>=' operators


git-svn-id: http://svn.osgeo.org/postgis/trunk@367 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 15:23:27 +00:00
Sandro Santilli 95045ba32f typo fixed (ENABLE_SEQSCAN missing) - PG7.4 support listed in 2.2
git-svn-id: http://svn.osgeo.org/postgis/trunk@366 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-19 10:27:10 +00:00
Sandro Santilli cd5d4d37b8 default row buffer lenght set to 100
git-svn-id: http://svn.osgeo.org/postgis/trunk@365 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-18 14:58:47 +00:00
Sandro Santilli fb3bd9d774 Some more structuring. Initialization routine moved out of main loop.
Preparing dumper for WKB parsing.


git-svn-id: http://svn.osgeo.org/postgis/trunk@364 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-18 14:39:26 +00:00
Sandro Santilli 1612416909 Huge code re-organization. More structured code, more errors handled,
cursor based iteration, less code lines.


git-svn-id: http://svn.osgeo.org/postgis/trunk@363 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-16 00:27:46 +00:00
Sandro Santilli 0e31aceeaf Used environment vars to pass libpq connection options (less error prone,
easier to read). Printed clearer error message on query error.


git-svn-id: http://svn.osgeo.org/postgis/trunk@362 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-14 22:04:51 +00:00
Sandro Santilli 98eea61f3c used quote_ident() calls in AddGeometryColumns as suggested by Bernhard Herzog
git-svn-id: http://svn.osgeo.org/postgis/trunk@361 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-13 13:14:49 +00:00
Sandro Santilli ada90e07c1 more cvsignore
git-svn-id: http://svn.osgeo.org/postgis/trunk@360 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-12 20:59:06 +00:00
Sandro Santilli 6dc0d90bfc first import
git-svn-id: http://svn.osgeo.org/postgis/trunk@359 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-12 20:57:00 +00:00
Sandro Santilli 2af19145b9 AddGeometryColumn column identifier case respect fix as suggested by Bernhard Herzog
git-svn-id: http://svn.osgeo.org/postgis/trunk@358 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-12 20:55:18 +00:00
Sandro Santilli 2270d88432 delete all caught exceptions after use
git-svn-id: http://svn.osgeo.org/postgis/trunk@357 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-12 16:36:04 +00:00
Sandro Santilli 9ea53524ef Added (mem)GeomUnion and (mem_)collect aggregates documentation, updated Centroid paragraph
git-svn-id: http://svn.osgeo.org/postgis/trunk@356 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-11 11:28:07 +00:00
Sandro Santilli 2ef756679c Fixed a typo in envelope()
git-svn-id: http://svn.osgeo.org/postgis/trunk@355 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-11 10:58:43 +00:00
Sandro Santilli 41b6af4b88 Postgresql 7.4 enabler scripts.
git-svn-id: http://svn.osgeo.org/postgis/trunk@354 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-11 10:38:23 +00:00
Sandro Santilli 7f6776e50a Added support for PG74
git-svn-id: http://svn.osgeo.org/postgis/trunk@353 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-11 10:14:57 +00:00
Sandro Santilli 73e62e75f5 Added fast collect() and geomunion() aggregates implementations
git-svn-id: http://svn.osgeo.org/postgis/trunk@352 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-05 18:26:54 +00:00
Sandro Santilli 9cfeb9f33b moved #ifdef USE_GEOS below prototypes, added NULL implementation of unite_garray
git-svn-id: http://svn.osgeo.org/postgis/trunk@351 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-05 18:25:08 +00:00