]> granicus.if.org Git - postgis/log
postgis
21 years agoshapelib put in sync with gdal cvs
Sandro Santilli [Mon, 1 Dec 2003 20:52:00 +0000 (20:52 +0000)]
shapelib put in sync with gdal cvs

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

21 years agoadded simple malloc wrapper
Sandro Santilli [Mon, 1 Dec 2003 14:27:58 +0000 (14:27 +0000)]
added simple malloc wrapper

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

21 years agoSome more changes, now useless since wkb.h is no more used (just to get in sync)
Sandro Santilli [Fri, 28 Nov 2003 11:28:03 +0000 (11:28 +0000)]
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

21 years agoAdded explicit geometry as text cast
Sandro Santilli [Fri, 28 Nov 2003 11:25:31 +0000 (11:25 +0000)]
Added explicit geometry as text cast

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

21 years agoAdded WKB_recv function for binary WKB input
Sandro Santilli [Fri, 28 Nov 2003 11:06:49 +0000 (11:06 +0000)]
Added WKB_recv function for binary WKB input

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

21 years agofixed bug in HexDecoder, made WKB parsing the default
Sandro Santilli [Wed, 26 Nov 2003 18:54:22 +0000 (18:54 +0000)]
fixed bug in HexDecoder, made WKB parsing the default

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

21 years agobinary cursor implemented
Sandro Santilli [Wed, 26 Nov 2003 18:14:11 +0000 (18:14 +0000)]
binary cursor implemented

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

21 years agoMade HEXWKB parsing settable at compile time
Sandro Santilli [Wed, 26 Nov 2003 17:21:00 +0000 (17:21 +0000)]
Made HEXWKB parsing settable at compile time

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

21 years agoHandled NULLS in wkb parsing, reduced functions args
Sandro Santilli [Wed, 26 Nov 2003 16:40:41 +0000 (16:40 +0000)]
Handled NULLS in wkb parsing, reduced functions args

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

21 years agowkb support for all geom types
Sandro Santilli [Wed, 26 Nov 2003 15:45:53 +0000 (15:45 +0000)]
wkb support for all geom types

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

21 years agoWKB start to work
Sandro Santilli [Wed, 26 Nov 2003 14:31:20 +0000 (14:31 +0000)]
WKB start to work

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

21 years agofirst attempt at wkb definitions
Sandro Santilli [Tue, 25 Nov 2003 17:32:47 +0000 (17:32 +0000)]
first attempt at wkb definitions

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

21 years agohardly trying to get WKB parsing work
Sandro Santilli [Tue, 25 Nov 2003 17:28:03 +0000 (17:28 +0000)]
hardly trying to get WKB parsing work

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

21 years agoUpdates for 0.8.0 release.
Paul Ramsey [Tue, 25 Nov 2003 03:03:01 +0000 (03:03 +0000)]
Updates for 0.8.0 release.

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

21 years agoFixed syntax error in execution example.
Paul Ramsey [Tue, 25 Nov 2003 02:38:23 +0000 (02:38 +0000)]
Fixed syntax error in execution example.

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

21 years agoRemoved useless BYTE_ORDER checks
Sandro Santilli [Mon, 24 Nov 2003 17:36:28 +0000 (17:36 +0000)]
Removed useless BYTE_ORDER checks

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

21 years agoAdded Cygwin endian definition include to fix windows compile.
Paul Ramsey [Fri, 21 Nov 2003 23:51:14 +0000 (23:51 +0000)]
Added Cygwin endian definition include to fix windows compile.

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

21 years agopatch from m.spring@gmx.de
Sandro Santilli [Thu, 20 Nov 2003 18:01:26 +0000 (18:01 +0000)]
patch from m.spring@gmx.de

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

21 years agoInstalls for PG>7.1 goes to pkglibdir
Sandro Santilli [Thu, 20 Nov 2003 17:51:43 +0000 (17:51 +0000)]
Installs for PG>7.1 goes to pkglibdir

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

21 years agopostgresql linking against libstdc++ reported as possibly needed for geos support
Sandro Santilli [Thu, 20 Nov 2003 16:46:22 +0000 (16:46 +0000)]
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

21 years agoUpdated postgis library path to be referenced with /..
Sandro Santilli [Thu, 20 Nov 2003 15:54:02 +0000 (15:54 +0000)]
Updated postgis library path to be referenced with /..

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

21 years agoexpected in-transaction memory release for btree operators
Sandro Santilli [Thu, 20 Nov 2003 15:34:02 +0000 (15:34 +0000)]
expected in-transaction memory release for btree operators

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

21 years agoMoved MODULE_FILENAME definition where it will be easly modifiable
Sandro Santilli [Thu, 20 Nov 2003 15:29:43 +0000 (15:29 +0000)]
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

21 years agoRemoved some useless strdups.
Sandro Santilli [Thu, 20 Nov 2003 15:27:20 +0000 (15:27 +0000)]
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

21 years agoSet CFLAGS where useless CPPFLAGS were used before
Sandro Santilli [Thu, 20 Nov 2003 14:46:07 +0000 (14:46 +0000)]
Set CFLAGS where useless CPPFLAGS were used before

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

21 years agoCR removed
Sandro Santilli [Wed, 19 Nov 2003 18:01:31 +0000 (18:01 +0000)]
CR removed

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

21 years agomissing function definition added (I forgot - sorry)
Sandro Santilli [Wed, 19 Nov 2003 17:50:18 +0000 (17:50 +0000)]
missing function definition added (I forgot - sorry)

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

21 years agoadded prototypes for geometry_{le,ge,cmp}
Sandro Santilli [Wed, 19 Nov 2003 15:44:51 +0000 (15:44 +0000)]
added prototypes for geometry_{le,ge,cmp}

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

21 years agoAdded default btree operator class for PG7.4
Sandro Santilli [Wed, 19 Nov 2003 15:29:21 +0000 (15:29 +0000)]
Added default btree operator class for PG7.4

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

21 years agoAdded geometry_le, geometry_ge, geometry_cmp functions,
Sandro Santilli [Wed, 19 Nov 2003 15:26:57 +0000 (15:26 +0000)]
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

21 years agoFixed wrong COMMUTATOR specifications in '<','>','~=','@' operators,
Sandro Santilli [Wed, 19 Nov 2003 15:23:27 +0000 (15:23 +0000)]
Fixed wrong COMMUTATOR specifications in '<','>','~=','@' operators,
added new '<=', '>=' operators

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

21 years agotypo fixed (ENABLE_SEQSCAN missing) - PG7.4 support listed in 2.2
Sandro Santilli [Wed, 19 Nov 2003 10:27:10 +0000 (10:27 +0000)]
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

21 years agodefault row buffer lenght set to 100
Sandro Santilli [Tue, 18 Nov 2003 14:58:47 +0000 (14:58 +0000)]
default row buffer lenght set to 100

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

21 years agoSome more structuring. Initialization routine moved out of main loop.
Sandro Santilli [Tue, 18 Nov 2003 14:39:26 +0000 (14:39 +0000)]
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

21 years agoHuge code re-organization. More structured code, more errors handled,
Sandro Santilli [Sun, 16 Nov 2003 00:27:46 +0000 (00:27 +0000)]
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

21 years agoUsed environment vars to pass libpq connection options (less error prone,
Sandro Santilli [Fri, 14 Nov 2003 22:04:51 +0000 (22:04 +0000)]
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

21 years agoused quote_ident() calls in AddGeometryColumns as suggested by Bernhard Herzog
Sandro Santilli [Thu, 13 Nov 2003 13:14:49 +0000 (13:14 +0000)]
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

21 years agomore cvsignore
Sandro Santilli [Wed, 12 Nov 2003 20:59:06 +0000 (20:59 +0000)]
more cvsignore

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

21 years agofirst import
Sandro Santilli [Wed, 12 Nov 2003 20:57:00 +0000 (20:57 +0000)]
first import

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

21 years agoAddGeometryColumn column identifier case respect fix as suggested by Bernhard Herzog
Sandro Santilli [Wed, 12 Nov 2003 20:55:18 +0000 (20:55 +0000)]
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

21 years agodelete all caught exceptions after use
Sandro Santilli [Wed, 12 Nov 2003 16:36:04 +0000 (16:36 +0000)]
delete all caught exceptions after use

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

21 years agoAdded (mem)GeomUnion and (mem_)collect aggregates documentation, updated Centroid...
Sandro Santilli [Tue, 11 Nov 2003 11:28:07 +0000 (11:28 +0000)]
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

21 years agoFixed a typo in envelope()
Sandro Santilli [Tue, 11 Nov 2003 10:58:43 +0000 (10:58 +0000)]
Fixed a typo in envelope()

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

21 years agoPostgresql 7.4 enabler scripts.
Sandro Santilli [Tue, 11 Nov 2003 10:38:23 +0000 (10:38 +0000)]
Postgresql 7.4 enabler scripts.

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

21 years agoAdded support for PG74
Sandro Santilli [Tue, 11 Nov 2003 10:14:57 +0000 (10:14 +0000)]
Added support for PG74

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

21 years agoAdded fast collect() and geomunion() aggregates implementations
Sandro Santilli [Wed, 5 Nov 2003 18:26:54 +0000 (18:26 +0000)]
Added fast collect() and geomunion() aggregates implementations

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

21 years agomoved #ifdef USE_GEOS below prototypes, added NULL implementation of unite_garray
Sandro Santilli [Wed, 5 Nov 2003 18:25:08 +0000 (18:25 +0000)]
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

21 years agorenamed unite_finalfunc to unite_garray
Sandro Santilli [Wed, 5 Nov 2003 18:02:41 +0000 (18:02 +0000)]
renamed unite_finalfunc to unite_garray

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

21 years agoAdded GEOS support tips to installation instructions
Sandro Santilli [Wed, 5 Nov 2003 17:48:04 +0000 (17:48 +0000)]
Added GEOS support tips to installation instructions

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

21 years agopostgis.xml put back in place. Makefile modified to generate a
Sandro Santilli [Wed, 5 Nov 2003 11:00:18 +0000 (11:00 +0000)]
postgis.xml put back in place. Makefile modified to generate a
postgis-out.xml from postgis.xml.

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

21 years agomade last release version a parameter
Sandro Santilli [Tue, 4 Nov 2003 21:54:14 +0000 (21:54 +0000)]
made last release version a parameter

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

21 years agoadded 'global' specification to sed command
Sandro Santilli [Tue, 4 Nov 2003 21:52:23 +0000 (21:52 +0000)]
added 'global' specification to sed command

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

21 years agorenamed postgis.xml to postgis.xml.in
Sandro Santilli [Tue, 4 Nov 2003 19:23:39 +0000 (19:23 +0000)]
renamed postgis.xml to postgis.xml.in

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

21 years agodropped 'clean' rule (not really a good idea right now)
Sandro Santilli [Tue, 4 Nov 2003 19:20:48 +0000 (19:20 +0000)]
dropped 'clean' rule (not really a good idea right now)

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

21 years agoadded doc clean in clean rule
Sandro Santilli [Tue, 4 Nov 2003 19:07:13 +0000 (19:07 +0000)]
added doc clean in clean rule

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

21 years agoadded missing first geom pfree in unite_finalfunc
Sandro Santilli [Tue, 4 Nov 2003 19:06:08 +0000 (19:06 +0000)]
added missing first geom pfree in unite_finalfunc

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

21 years agoinitial import
Sandro Santilli [Tue, 4 Nov 2003 18:56:14 +0000 (18:56 +0000)]
initial import

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

21 years agogeoscentroid() removed. both geos and pgis versions are called 'centroid'.
Sandro Santilli [Wed, 29 Oct 2003 15:53:10 +0000 (15:53 +0000)]
geoscentroid() removed. both geos and pgis versions are called 'centroid'.
only one version will be compiled based on USE_GEOS flag.

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

21 years agoAdded geoscentroid function.
Sandro Santilli [Wed, 29 Oct 2003 13:59:40 +0000 (13:59 +0000)]
Added geoscentroid function.

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

21 years agoAdded GEOSGetCentroid() function
Sandro Santilli [Wed, 29 Oct 2003 13:58:28 +0000 (13:58 +0000)]
Added GEOSGetCentroid() function

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

21 years agoAdded collect_garray() function.
Sandro Santilli [Tue, 28 Oct 2003 16:57:35 +0000 (16:57 +0000)]
Added collect_garray() function.

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

21 years agounite_sfunc() from postgis_geos.c renamed to geom_accum() and moved in postgis_fn.c
Sandro Santilli [Tue, 28 Oct 2003 15:16:17 +0000 (15:16 +0000)]
unite_sfunc() from postgis_geos.c renamed to geom_accum() and moved in postgis_fn.c

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

21 years agoAdded Algorithms section and simplify() enabler code
Sandro Santilli [Tue, 28 Oct 2003 11:18:27 +0000 (11:18 +0000)]
Added Algorithms section and simplify() enabler code

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

21 years agoAdded postgis_algo.c prototypes
Sandro Santilli [Tue, 28 Oct 2003 11:16:46 +0000 (11:16 +0000)]
Added postgis_algo.c prototypes

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

21 years agoAdded postgis_algo.c build support
Sandro Santilli [Tue, 28 Oct 2003 11:16:22 +0000 (11:16 +0000)]
Added postgis_algo.c build support

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

21 years agohandled NULL state array in unite_finalfunc, cleaned up some spurios code
Sandro Santilli [Tue, 28 Oct 2003 10:59:55 +0000 (10:59 +0000)]
handled NULL state array in unite_finalfunc, cleaned up some spurios code

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

21 years agounite_sfunc made always copy input array in long lived memory context.
Sandro Santilli [Mon, 27 Oct 2003 23:44:54 +0000 (23:44 +0000)]
unite_sfunc made always copy input array in long lived memory context.
It should now work with safer memory.

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

21 years agoMade GeomUnion release memory soon, Added fastunion support functions
Sandro Santilli [Mon, 27 Oct 2003 20:13:05 +0000 (20:13 +0000)]
Made GeomUnion release memory soon, Added fastunion support functions

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

21 years agoInitial import.
Sandro Santilli [Mon, 27 Oct 2003 10:21:15 +0000 (10:21 +0000)]
Initial import.

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

21 years agoModified strcmp-based if-else with switch-case in GEOS2POSTGIS()
Sandro Santilli [Fri, 24 Oct 2003 21:52:35 +0000 (21:52 +0000)]
Modified strcmp-based if-else with switch-case in GEOS2POSTGIS()
using new GEOSGeometryTypeId() interface.

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

21 years agoAdded GEOSGeometryTypeId(Geometry *) wrapper function.
Sandro Santilli [Fri, 24 Oct 2003 21:33:21 +0000 (21:33 +0000)]
Added GEOSGeometryTypeId(Geometry *) wrapper function.
Added GEOSGetCoordinates_Polygon(Polygon *) as an experimental optimized
version of GEOSGetCoordinates(Geometry *); More to add ...

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

21 years agoGEOSGetCoordinates() reverted to getCoordinates() call so to be compatible
Sandro Santilli [Fri, 24 Oct 2003 14:29:53 +0000 (14:29 +0000)]
GEOSGetCoordinates() reverted to getCoordinates() call so to be compatible
to all type of geometries (not only LineStrings)

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

21 years agoFixed memory leak in GEOSGetCoordinates(), made sure that GEOS2POSTGIS
Sandro Santilli [Fri, 24 Oct 2003 08:28:50 +0000 (08:28 +0000)]
Fixed memory leak in GEOSGetCoordinates(), made sure that GEOS2POSTGIS
free type string even in case of collapsed geoms. Made sure that geomunion
release memory in case of exception thrown by GEOSUnion. Sooner release
of palloced memory in PolyFromGeometry (pts_per_ring).

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

21 years agoadded memory debugging tips for gcc >= 3.2.2
Sandro Santilli [Thu, 23 Oct 2003 19:52:04 +0000 (19:52 +0000)]
added memory debugging tips for gcc >= 3.2.2

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

21 years agoAdded default-commented line to disable gcc "smart" memory caching feature.
Sandro Santilli [Thu, 23 Oct 2003 09:14:04 +0000 (09:14 +0000)]
Added default-commented line to disable gcc "smart" memory caching feature.

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

21 years agoAdded 'unite' aggregate.
Sandro Santilli [Thu, 23 Oct 2003 08:06:54 +0000 (08:06 +0000)]
Added 'unite' aggregate.

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

21 years agoMore additions to the TODO
Paul Ramsey [Wed, 22 Oct 2003 20:58:07 +0000 (20:58 +0000)]
More additions to the TODO

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

21 years agoUpdated TODO list somewhat
Paul Ramsey [Wed, 22 Oct 2003 18:51:08 +0000 (18:51 +0000)]
Updated TODO list somewhat

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

21 years agoMade GEOS_DIR and PROJ_DIR settable via environment vars
Sandro Santilli [Tue, 21 Oct 2003 07:44:39 +0000 (07:44 +0000)]
Made GEOS_DIR and PROJ_DIR settable via environment vars

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

21 years agoRemoved some memory leaks in PostGIS2* converters.
Sandro Santilli [Mon, 20 Oct 2003 19:50:49 +0000 (19:50 +0000)]
Removed some memory leaks in PostGIS2* converters.

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

21 years agoPass USE_* information to version string, add some 7.4 version passing
Paul Ramsey [Fri, 17 Oct 2003 16:32:36 +0000 (16:32 +0000)]
Pass USE_* information to version string, add some 7.4 version passing
flags to the compile.

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

21 years agoMade Envelope() CW instead of CCW.
David Blasby [Fri, 17 Oct 2003 16:12:23 +0000 (16:12 +0000)]
Made Envelope() CW instead of CCW.

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

21 years agomade isEmpty() return true/false
David Blasby [Fri, 17 Oct 2003 16:07:05 +0000 (16:07 +0000)]
made isEmpty() return true/false

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

21 years agoAdded some more AsText wrappers.
Paul Ramsey [Fri, 17 Oct 2003 00:56:08 +0000 (00:56 +0000)]
Added some more AsText wrappers.

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

21 years agoAdded some AsText wrappers to results to make results match answers.
Paul Ramsey [Fri, 17 Oct 2003 00:55:05 +0000 (00:55 +0000)]
Added some AsText wrappers to results to make results match answers.

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

21 years agoAdded NOTICE_HANDLER function. For some reason this didnt get properly
David Blasby [Thu, 16 Oct 2003 20:16:18 +0000 (20:16 +0000)]
Added NOTICE_HANDLER function.  For some reason this didnt get properly
committed last time.

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

21 years agoadded #include <sys/types.h> for people using freeBSD (strk@keybit.net patch)
David Blasby [Thu, 16 Oct 2003 16:35:42 +0000 (16:35 +0000)]
added #include <sys/types.h> for people using freeBSD (strk@keybit.net patch)

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

21 years agoadded a bunch of catch (GEOSExceptions) blocks to write out more imformative
David Blasby [Wed, 15 Oct 2003 17:04:03 +0000 (17:04 +0000)]
added a bunch of catch (GEOSExceptions)  blocks to write out more imformative
error messages.

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

21 years agoGEOS2POSTGIS - added protection to pfree(NULL) for multi* geoms
David Blasby [Tue, 14 Oct 2003 23:19:19 +0000 (23:19 +0000)]
GEOS2POSTGIS - added protection to pfree(NULL) for multi* geoms

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

21 years agoAdded const declarations to sync with current GEOS cvs.
Paul Ramsey [Tue, 14 Oct 2003 21:42:06 +0000 (21:42 +0000)]
Added const declarations to sync with current GEOS cvs.

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

21 years agoFixed typo in add_to_geometry(). With very poorly aligned sub-objects, it
David Blasby [Mon, 6 Oct 2003 18:09:08 +0000 (18:09 +0000)]
Fixed typo in add_to_geometry().  With very poorly aligned sub-objects, it
wouldnt allocate enough memory.  Fixed it so its pesimistic and will allocate
enough memory.

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

21 years agoadded pointonsurface() as a sub. Some memory management fixes/tests.
David Blasby [Fri, 3 Oct 2003 16:45:37 +0000 (16:45 +0000)]
added pointonsurface() as a sub.  Some memory management fixes/tests.
removed a few NOTICEs.

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

21 years agoPatch from strk:
Paul Ramsey [Mon, 29 Sep 2003 16:15:22 +0000 (16:15 +0000)]
Patch from strk:
- "\t" always preceeded the first value of a dump_format query
  if NULL

- field values where quoted with (") in dump_format when
  called with -k ( did I introduce that? )

- Appropriate calls to DBF[..]ReadAttributes based on
  cached attribute types.

- Assured that *all* shapes are NULL before exiting with
  an error ( I did not check that NULL shapes in the midle
  of the shapefiles are handled, but previous code did
  not check that either ... )

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

21 years agofixed a bug that actually tests the first 2 point for pip instead of just thinking...
Jeff Lounsbury [Fri, 19 Sep 2003 00:37:33 +0000 (00:37 +0000)]
fixed a bug that actually tests the first 2 point for pip instead of just thinking I was testing the first two.

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

21 years agoadded ability to delete geometries.
David Blasby [Tue, 16 Sep 2003 20:27:12 +0000 (20:27 +0000)]
added ability to delete geometries.

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

21 years agogot rid of warning...
Jeff Lounsbury [Wed, 10 Sep 2003 22:44:56 +0000 (22:44 +0000)]
got rid of warning...

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

21 years agochanged it to make the field names in the dbf file capital letters
Jeff Lounsbury [Wed, 10 Sep 2003 22:40:11 +0000 (22:40 +0000)]
changed it to make the field names in the dbf file capital letters

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

21 years agofixed a bug in is_clockwise...
Jeff Lounsbury [Wed, 10 Sep 2003 21:36:04 +0000 (21:36 +0000)]
fixed a bug in is_clockwise...

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

21 years agoremoved truly_inside() doc.
David Blasby [Thu, 4 Sep 2003 16:46:00 +0000 (16:46 +0000)]
removed truly_inside() doc.

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

21 years agoremoved truly_inside() function.
David Blasby [Thu, 4 Sep 2003 16:19:06 +0000 (16:19 +0000)]
removed truly_inside() function.

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