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
Sandro Santilli
8ead877ae9
renamed unite_finalfunc to unite_garray
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@350 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-05 18:02:41 +00:00
Sandro Santilli
930fd1686f
Added GEOS support tips to installation instructions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@349 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-05 17:48:04 +00:00
Sandro Santilli
61f231cf47
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
2003-11-05 11:00:18 +00:00
Sandro Santilli
df96f325f1
made last release version a parameter
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@347 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-04 21:54:14 +00:00
Sandro Santilli
9777285ed0
added 'global' specification to sed command
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@346 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-04 21:52:23 +00:00
Sandro Santilli
02e0512823
renamed postgis.xml to postgis.xml.in
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@345 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-04 19:23:39 +00:00
Sandro Santilli
9d27d83e88
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
2003-11-04 19:20:48 +00:00
Sandro Santilli
4e9e685de7
added doc clean in clean rule
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@343 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-04 19:07:13 +00:00
Sandro Santilli
7fe7c2e5c7
added missing first geom pfree in unite_finalfunc
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@342 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-04 19:06:08 +00:00
Sandro Santilli
2a48db7575
initial import
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@341 b70326c6-7e19-0410-871a-916f4a2858ee
2003-11-04 18:56:14 +00:00
Sandro Santilli
d3334c6014
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
2003-10-29 15:53:10 +00:00
Sandro Santilli
8be1b8d0d2
Added geoscentroid function.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@339 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-29 13:59:40 +00:00
Sandro Santilli
07c22af97f
Added GEOSGetCentroid() function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@338 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-29 13:58:28 +00:00
Sandro Santilli
0ea05de924
Added collect_garray() function.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@337 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-28 16:57:35 +00:00
Sandro Santilli
560d10c8a2
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
2003-10-28 15:16:17 +00:00
Sandro Santilli
f4ac05564c
Added Algorithms section and simplify() enabler code
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@335 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-28 11:18:27 +00:00
Sandro Santilli
d0c8a7f3cc
Added postgis_algo.c prototypes
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@334 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-28 11:16:46 +00:00
Sandro Santilli
1d594f09b5
Added postgis_algo.c build support
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@333 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-28 11:16:22 +00:00
Sandro Santilli
d6b4f9a3c0
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
2003-10-28 10:59:55 +00:00
Sandro Santilli
b6bf297599
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
2003-10-27 23:44:54 +00:00
Sandro Santilli
3cbe397a6c
Made GeomUnion release memory soon, Added fastunion support functions
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@330 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-27 20:13:05 +00:00
Sandro Santilli
587b27d593
Initial import.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@329 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-27 10:21:15 +00:00
Sandro Santilli
6135ccc626
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
2003-10-24 21:52:35 +00:00
Sandro Santilli
f3511dda2c
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
2003-10-24 21:33:21 +00:00
Sandro Santilli
503943efb8
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
2003-10-24 14:29:53 +00:00
Sandro Santilli
e7d4945119
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
2003-10-24 08:28:50 +00:00
Sandro Santilli
a429e9406f
added memory debugging tips for gcc >= 3.2.2
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@324 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-23 19:52:04 +00:00
Sandro Santilli
306e5156e0
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
2003-10-23 09:14:04 +00:00
Sandro Santilli
beeb636460
Added 'unite' aggregate.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@322 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-23 08:06:54 +00:00
Paul Ramsey
365b109acb
More additions to the TODO
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@321 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-22 20:58:07 +00:00
Paul Ramsey
9dffcf3b73
Updated TODO list somewhat
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@320 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-22 18:51:08 +00:00
Sandro Santilli
04750ff532
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
2003-10-21 07:44:39 +00:00
Sandro Santilli
13c6c7527e
Removed some memory leaks in PostGIS2* converters.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@318 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-20 19:50:49 +00:00
Paul Ramsey
b4cc63c30f
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
2003-10-17 16:32:36 +00:00
David Blasby
0427c4298a
Made Envelope() CW instead of CCW.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@316 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-17 16:12:23 +00:00
David Blasby
1137c338ea
made isEmpty() return true/false
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@315 b70326c6-7e19-0410-871a-916f4a2858ee
2003-10-17 16:07:05 +00:00