]> granicus.if.org Git - postgis/log
postgis
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

21 years agofixed geometry_in('SRID=<int>{no ;}').
David Blasby [Fri, 22 Aug 2003 17:40:11 +0000 (17:40 +0000)]
fixed geometry_in('SRID=<int>{no ;}').

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

21 years agoadded patch from strk@freek.keybit.net for PG_NARGS() not being in 7.2
David Blasby [Thu, 21 Aug 2003 16:22:09 +0000 (16:22 +0000)]
added patch from strk@freek.keybit.net  for PG_NARGS() not being in 7.2

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

21 years agoAdd missing </para>
Paul Ramsey [Mon, 18 Aug 2003 20:19:11 +0000 (20:19 +0000)]
Add missing </para>

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

21 years agoRemoved illegal characters from the file.
Paul Ramsey [Mon, 18 Aug 2003 20:08:21 +0000 (20:08 +0000)]
Removed illegal characters from the file.

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

21 years agoMore entities
Paul Ramsey [Mon, 18 Aug 2003 20:00:08 +0000 (20:00 +0000)]
More entities

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

21 years agoReplace <> with proper entities in Dave's new function entries
Paul Ramsey [Mon, 18 Aug 2003 19:45:20 +0000 (19:45 +0000)]
Replace <> with proper entities in Dave's new function entries

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

21 years agoAdded info on piping results to output file.
Paul Ramsey [Mon, 18 Aug 2003 16:59:55 +0000 (16:59 +0000)]
Added info on piping results to output file.

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

21 years agoChange include from io.h to geom.h.
Paul Ramsey [Mon, 18 Aug 2003 16:41:07 +0000 (16:41 +0000)]
Change include from io.h to geom.h.

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

21 years agoChange sequence handling to respect versions prior to 7.3. Patch from
Paul Ramsey [Sun, 17 Aug 2003 19:00:14 +0000 (19:00 +0000)]
Change sequence handling to respect versions prior to 7.3. Patch from
strk.

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

21 years agoConformance changes.
David Blasby [Fri, 8 Aug 2003 18:19:20 +0000 (18:19 +0000)]
Conformance changes.
Removed junk from postgis_debug.c and added the first run of the long
transaction locking support.  (this will change - dont use it)
conformance tests were corrected
some dos cr/lf removed
empty geometries i.e. GEOMETRYCOLLECT(EMPTY) added (with indexing support)
pointN(<linestring>,1) now returns the first point (used to return 2nd)

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

21 years agoAdded some information about compiling PostgreSQL with C++ support to
Paul Ramsey [Thu, 7 Aug 2003 05:13:09 +0000 (05:13 +0000)]
Added some information about compiling PostgreSQL with C++ support to
enable proper GEOS behavior.

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

21 years agoAdded the WKB parser. Added all the functions like
David Blasby [Wed, 6 Aug 2003 19:31:18 +0000 (19:31 +0000)]
Added the WKB parser.  Added all the functions like
PolyFromWKB(<WKB>,[<SRID>]).

Added all the functions like PolyFromText(<WKT>,[<SRID>])

Minor problem in GEOS library fixed.

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

21 years agoAdded null implementations of new GEOS-returning-geometry functions (ie.
David Blasby [Tue, 5 Aug 2003 18:27:21 +0000 (18:27 +0000)]
Added null implementations of new GEOS-returning-geometry functions (ie.
buffer).

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

21 years agoRemoved the setval for the sequence if the value was going to be 0.
Jeff Lounsbury [Tue, 5 Aug 2003 16:28:05 +0000 (16:28 +0000)]
Removed the setval for the sequence if the value was going to be 0.
This avoids a warning that occirs when you try to set it to 0.

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

21 years agoadded the functionality to convert GEOS->PostGIS geometries. Added those geos
David Blasby [Fri, 1 Aug 2003 23:58:08 +0000 (23:58 +0000)]
added the functionality to convert GEOS->PostGIS geometries.  Added those geos
functions to postgis.

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

21 years agoAltered the loader to use a (gid serial) type instead of just a (gid int4).
Jeff Lounsbury [Fri, 1 Aug 2003 23:22:44 +0000 (23:22 +0000)]
Altered the loader to use a (gid serial) type instead of just a (gid int4).
Also the gid is now declared as a primary key.

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

21 years agoAdded BC Albers parameterization (epsg 42102)
Paul Ramsey [Fri, 1 Aug 2003 17:44:00 +0000 (17:44 +0000)]
Added BC Albers parameterization (epsg 42102)

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

21 years agoMoved Cygwin endian define out of source files into postgis.h common
Paul Ramsey [Fri, 25 Jul 2003 17:08:37 +0000 (17:08 +0000)]
Moved Cygwin endian define out of source files into postgis.h common
header file.

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

21 years agochanged asbinary_specify() so that it is more aware of TEXT being
David Blasby [Tue, 8 Jul 2003 18:35:54 +0000 (18:35 +0000)]
changed asbinary_specify() so that it is more aware of TEXT being
un-terminated.

this is a modified patch from David Garnier <david.garnier@etudier-online.com>.

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

21 years agoAdded CVS revision headers.
Paul Ramsey [Tue, 1 Jul 2003 18:30:55 +0000 (18:30 +0000)]
Added CVS revision headers.

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

21 years agoIt seems that invalid geometries where in the shapefile (as far as shapelib
Paul Ramsey [Wed, 18 Jun 2003 16:30:56 +0000 (16:30 +0000)]
It seems that invalid geometries where in the shapefile (as far as shapelib
let shp2pgsql know). LINEZ objects with less then 2 vertices. I've
patched shp2pgsql to recognized such an inconsistence and use a NULL
geometry for that record printing a warning on stderr.
<strk@freek.keybit.net>

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

21 years agoAdded transaction begin and end.
Paul Ramsey [Thu, 12 Jun 2003 22:25:04 +0000 (22:25 +0000)]
Added transaction begin and end.

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

21 years agoNew version of the postgis-GEOS connector.
David Blasby [Tue, 27 May 2003 22:35:14 +0000 (22:35 +0000)]
New version of the postgis-GEOS connector.

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

21 years agoAdded a modified version of Carl Anderson <carl.anderson@vadose.org> patch for
David Blasby [Tue, 13 May 2003 22:51:32 +0000 (22:51 +0000)]
Added a modified version of Carl Anderson <carl.anderson@vadose.org> patch for
schema-aware find_srid().

I have modified your schema-patched find_srid() and commited it to the postgis

1. removed isstrict qualification and explicity throw an error if one of the
arguments is null
2. use "LIKE" instead of "~" for pattern matching because "~" wasnt working on
my system
3. throw an error if the the requested geometry couldnt be found.

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

21 years agoPatch for optional case sensitivity respect. From strk.
Paul Ramsey [Mon, 14 Apr 2003 18:01:42 +0000 (18:01 +0000)]
Patch for optional case sensitivity respect. From strk.

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

21 years agoMore info
Paul Ramsey [Thu, 10 Apr 2003 23:35:03 +0000 (23:35 +0000)]
More info

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

21 years agoadded area() as alias for area2d()
David Blasby [Thu, 10 Apr 2003 19:17:05 +0000 (19:17 +0000)]
added area() as alias for area2d()

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

21 years agochanges to area()
David Blasby [Thu, 10 Apr 2003 19:16:43 +0000 (19:16 +0000)]
changes to area()

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

21 years agoMore info.
Paul Ramsey [Thu, 10 Apr 2003 17:45:46 +0000 (17:45 +0000)]
More info.

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

21 years agoFixed within() test to have right order of arguments.
Paul Ramsey [Thu, 10 Apr 2003 17:40:44 +0000 (17:40 +0000)]
Fixed within() test to have right order of arguments.

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

21 years agoChanges to function names to MATCH the specification.
Paul Ramsey [Thu, 10 Apr 2003 17:29:12 +0000 (17:29 +0000)]
Changes to function names to MATCH the specification.

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

21 years agoMore consistency fixes.
Paul Ramsey [Thu, 10 Apr 2003 17:19:37 +0000 (17:19 +0000)]
More consistency fixes.

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

21 years agoFixes for consistency (!!!!) of the tests and a first README on how to run
Paul Ramsey [Thu, 10 Apr 2003 17:05:04 +0000 (17:05 +0000)]
Fixes for consistency (!!!!) of the tests and a first README on how to run
them.

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

21 years agoExtra OGC text constructor functions.
Paul Ramsey [Thu, 10 Apr 2003 16:40:41 +0000 (16:40 +0000)]
Extra OGC text constructor functions.

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

21 years agoHack to supply c++ CXX variable if undefined.
Paul Ramsey [Thu, 10 Apr 2003 16:22:05 +0000 (16:22 +0000)]
Hack to supply c++ CXX variable if undefined.

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

21 years agoCruft removal
Paul Ramsey [Thu, 10 Apr 2003 16:20:22 +0000 (16:20 +0000)]
Cruft removal

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

21 years agoFormatting changes.
Paul Ramsey [Thu, 10 Apr 2003 05:19:36 +0000 (05:19 +0000)]
Formatting changes.

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

21 years agoRemove old commented out duplicate function.
Paul Ramsey [Thu, 10 Apr 2003 05:16:56 +0000 (05:16 +0000)]
Remove old commented out duplicate function.

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

21 years agoMakefile should fully honor USE_GEOS flag now.
Paul Ramsey [Wed, 9 Apr 2003 21:53:41 +0000 (21:53 +0000)]
Makefile should fully honor USE_GEOS flag now.

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

21 years agoCleaned up makefile and transform warning removed for null case.
Paul Ramsey [Wed, 9 Apr 2003 21:35:56 +0000 (21:35 +0000)]
Cleaned up makefile and transform warning removed for null case.

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

21 years agoSome reformatting.
Paul Ramsey [Wed, 9 Apr 2003 21:08:48 +0000 (21:08 +0000)]
Some reformatting.

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

21 years agoGEOS support -first run
David Blasby [Wed, 9 Apr 2003 18:34:43 +0000 (18:34 +0000)]
GEOS support -first run

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