]> granicus.if.org Git - postgis/log
postgis
16 years agodocument circular support of more functions
Regina Obe [Tue, 4 Nov 2008 02:19:42 +0000 (02:19 +0000)]
document circular support of more functions

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

16 years agoGet rid of MM compliancy note for ST_LineToCurve, can only find ST_CurveToLine in...
Regina Obe [Tue, 4 Nov 2008 02:07:14 +0000 (02:07 +0000)]
Get rid of MM compliancy note for ST_LineToCurve, can only find ST_CurveToLine in MM docs

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

16 years agocorrect comment
Regina Obe [Tue, 4 Nov 2008 01:56:01 +0000 (01:56 +0000)]
correct comment

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

16 years agoAdd new section to document circular string support
Regina Obe [Tue, 4 Nov 2008 01:55:06 +0000 (01:55 +0000)]
Add new section to document circular string support

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

16 years agoDocument ST_LineToCurve and ST_CurveToLine, update template to include note about...
Regina Obe [Tue, 4 Nov 2008 01:47:05 +0000 (01:47 +0000)]
Document ST_LineToCurve and ST_CurveToLine, update template to include note about Circular String support in prep for new index section

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

16 years agoupdated url in comments to the documentation on the implemented point-in-polygon...
Kevin Neufeld [Mon, 3 Nov 2008 17:00:01 +0000 (17:00 +0000)]
updated url in comments to the documentation on the implemented point-in-polygon algorithm to http://softsurfer.com/Archive/algorithm_0103/algorithm_0103.htm#Winding%20Number.  Old link was dead.

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

16 years agoAdd missing ICONV_LDFLAGS variable to the loader Makefile. Thanks to Olivier Courtin...
Mark Cave-Ayland [Mon, 3 Nov 2008 16:23:45 +0000 (16:23 +0000)]
Add missing ICONV_LDFLAGS variable to the loader Makefile. Thanks to Olivier Courtin for noticing.

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

16 years agoSwitch pgsql2shp over to using liblwgeom.
Mark Cave-Ayland [Mon, 3 Nov 2008 16:17:57 +0000 (16:17 +0000)]
Switch pgsql2shp over to using liblwgeom.

There are few commits that can be as satisfying as one which involves the removal of ~1200 lines of code. By using the liblwgeom parser instead of the in-built parser, we have now achieved the following:

i) all parsers within PostGIS, shp2pgsql and pgsql2shp are now the same which means they all follow the same rules. Also extended error reporting information including error text and position information is available.

ii) the complexity of the shp2pgsql/pgsql2shp is considerably reduced.

The slightly unfortunate cost is the overall executable size is larger, since we are linking with liblwgeom. However, from both a consistency and maintainability point of view, this is a big win. Note that while there may be a difference in behaviour in some corner cases, all regression tests pass here.

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

16 years agoAdd missing serialized_lwgeom_from_hexwkb() function to liblwgeom which is required...
Mark Cave-Ayland [Fri, 31 Oct 2008 10:41:37 +0000 (10:41 +0000)]
Add missing serialized_lwgeom_from_hexwkb() function to liblwgeom which is required for adding liblwgeom support to pgsql2shp.

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

16 years agoSome more shp2pgsql clearups; remove some dead commented code and switch over to...
Mark Cave-Ayland [Fri, 31 Oct 2008 10:04:58 +0000 (10:04 +0000)]
Some more shp2pgsql clearups; remove some dead commented code and switch over to use the LWDEBUG(F) debugging framework.

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

16 years agoFix regression test differences between different platforms in the AsGeoJSON regressi...
Mark Cave-Ayland [Thu, 30 Oct 2008 23:13:13 +0000 (23:13 +0000)]
Fix regression test differences between different platforms in the AsGeoJSON regression code. There were two issues: firstly, the original regression tests included precision information > 15 significant figures, and secondly the GeoJSON code was exposing BOX2DFLOAT4 information to the client instead of calculating the true bounding box. With thanks to Olivier Courtin.

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

16 years agoMove over ST_DumpRings
Regina Obe [Thu, 30 Oct 2008 22:48:57 +0000 (22:48 +0000)]
Move over ST_DumpRings

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

16 years agoSwitch shp2pgsql over to use liblwgeom instead of its own internal parser. Some notes...
Mark Cave-Ayland [Thu, 30 Oct 2008 17:10:44 +0000 (17:10 +0000)]
Switch shp2pgsql over to use liblwgeom instead of its own internal parser. Some notes from looking at the code:

i) I've abstracted the I/O formatting functions into a new OutputGeometry() function since it allow the logic concerning output formatting to kept in one place, rather than sprinkled throughout all the other Insert* functions.

ii) InsertPoint() and InsertMultiPoint() have been combined, since it seems that the same code will work for both - all that is required is to know whether to produce a MULTIPOINT collecton or a POINT at the end.

iii) I've added additional comments within the Insert* functions to help clarify what is going on in places

iv) It appears some corner cases were missing within the conversion code with respect to Z/M coordinates, so in theory the new code should do a better job.

All in all, the source code is slightly reduced in size (although of course the binary is larger after linking with liblwgeom), and seems a lot more readable to my eyes. A quick TODO is to go through the file and replace the #if...#endif sections related to debugging with LWDEBUG(F) options.

NOTE: I've had to change the Makefile to allow linking against the maths library and liblwgeom.a, so some manual intervention on the automated build may be required ;)

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

16 years agoMake more pretty section names, move over ST_Accum and provide example.
Regina Obe [Wed, 29 Oct 2008 18:32:27 +0000 (18:32 +0000)]
Make more pretty section names, move over ST_Accum and provide example.

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

16 years agoPretty anchors for all new sections
Regina Obe [Wed, 29 Oct 2008 18:05:02 +0000 (18:05 +0000)]
Pretty anchors for all new sections

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

16 years agoIncorrect function arg in ST_Union
Regina Obe [Wed, 29 Oct 2008 17:59:30 +0000 (17:59 +0000)]
Incorrect function arg in ST_Union

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

16 years agoOkay maybe hmm 4th or 5th time is the charm
Regina Obe [Wed, 29 Oct 2008 17:36:34 +0000 (17:36 +0000)]
Okay maybe hmm 4th or 5th time is the charm

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

16 years agoAgain
Regina Obe [Wed, 29 Oct 2008 17:34:29 +0000 (17:34 +0000)]
Again

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

16 years agoLets try again
Regina Obe [Wed, 29 Oct 2008 17:34:00 +0000 (17:34 +0000)]
Lets try again

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

16 years agofunction name typo
Regina Obe [Wed, 29 Oct 2008 17:29:53 +0000 (17:29 +0000)]
function name typo

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

16 years agoMove over rest of Linear Referencing functions and provide examples. Experiment...
Regina Obe [Wed, 29 Oct 2008 17:27:01 +0000 (17:27 +0000)]
Move over rest of Linear Referencing functions and provide examples.  Experiment with giving pretty anchor to section.

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

16 years agoAdd Availability note for Populate_Geometry_Columns
Regina Obe [Wed, 29 Oct 2008 13:58:43 +0000 (13:58 +0000)]
Add Availability note for Populate_Geometry_Columns

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

16 years agoFix line_interpolate_point link
Regina Obe [Wed, 29 Oct 2008 13:52:20 +0000 (13:52 +0000)]
Fix line_interpolate_point link

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

16 years agoMove over ST_Line_Substring
Regina Obe [Wed, 29 Oct 2008 13:13:28 +0000 (13:13 +0000)]
Move over ST_Line_Substring

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

16 years agoMove over ST_Line_Interpolate_Point
Regina Obe [Wed, 29 Oct 2008 12:37:30 +0000 (12:37 +0000)]
Move over ST_Line_Interpolate_Point

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

16 years agochanged linkend to match case in ST_Length2d to ST_Length2D
Kevin Neufeld [Mon, 27 Oct 2008 16:13:23 +0000 (16:13 +0000)]
changed linkend to match case in ST_Length2d to ST_Length2D

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

16 years agoattempt to fix broken linkend by replacing it with an xref in reference_new.xml
Kevin Neufeld [Mon, 27 Oct 2008 16:05:43 +0000 (16:05 +0000)]
attempt to fix broken linkend by replacing it with an xref in reference_new.xml

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

16 years agoMove over sql mm compliance for ST_Disjoint and get rid of annoying carriage return...
Regina Obe [Mon, 27 Oct 2008 15:53:26 +0000 (15:53 +0000)]
Move over sql mm compliance for ST_Disjoint and get rid of annoying carriage return in template.xml

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

16 years agoadded availability to Populate_Geometry_Columns
Kevin Neufeld [Mon, 27 Oct 2008 15:49:28 +0000 (15:49 +0000)]
added availability to Populate_Geometry_Columns

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

16 years agofixed typo in broken link to ST_Distance_Spheroid
Kevin Neufeld [Mon, 27 Oct 2008 15:48:46 +0000 (15:48 +0000)]
fixed typo in broken link to ST_Distance_Spheroid

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

16 years agofixed typo in ST_Length3d_Spheriod xref to ST_Length_Spheroid
Kevin Neufeld [Mon, 27 Oct 2008 15:33:33 +0000 (15:33 +0000)]
fixed typo in ST_Length3d_Spheriod xref to ST_Length_Spheroid

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

16 years agofixed typo in missing constraint linkend: ST_InteriorRings to ST_NumInteriorRings
Kevin Neufeld [Mon, 27 Oct 2008 15:29:19 +0000 (15:29 +0000)]
fixed typo in missing constraint linkend: ST_InteriorRings to ST_NumInteriorRings

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

16 years agotypo in xref link
Kevin Neufeld [Mon, 27 Oct 2008 15:26:34 +0000 (15:26 +0000)]
typo in xref link

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

16 years agoadded id for missing constraint linkend: PostGIS_Scripts_Released
Kevin Neufeld [Mon, 27 Oct 2008 15:25:28 +0000 (15:25 +0000)]
added id for missing constraint linkend: PostGIS_Scripts_Released

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

16 years agoadded id for missing constraint linkend: line_substring
Kevin Neufeld [Mon, 27 Oct 2008 15:21:58 +0000 (15:21 +0000)]
added id for missing constraint linkend: line_substring

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

16 years agoadded id for constraint linkend: length2d
Kevin Neufeld [Mon, 27 Oct 2008 15:15:35 +0000 (15:15 +0000)]
added id for constraint linkend: length2d

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

16 years agofixed bug in lwpostgis.sql.in.c in POPULATE_GEOMETRY_COLUMNS when detecting SRIDs...
Kevin Neufeld [Mon, 27 Oct 2008 06:49:05 +0000 (06:49 +0000)]
fixed bug in lwpostgis.sql.in.c in POPULATE_GEOMETRY_COLUMNS when detecting SRIDs of -1.

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

16 years agoupdated description for Populate_Geometry_Columns
Kevin Neufeld [Mon, 27 Oct 2008 06:29:42 +0000 (06:29 +0000)]
updated description for Populate_Geometry_Columns

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

16 years agoadded plpgsql function Probe_Geometry_Columns to lwpostgis.sql.in.c and added documen...
Kevin Neufeld [Mon, 27 Oct 2008 06:13:35 +0000 (06:13 +0000)]
added plpgsql function Probe_Geometry_Columns to lwpostgis.sql.in.c and added documentation in reference_new.xml

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

16 years agoFix typo
Regina Obe [Sun, 26 Oct 2008 22:26:25 +0000 (22:26 +0000)]
Fix typo

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

16 years agoMove over ST_Length* functions. Correct documentation - e.g. missing ST_Length2D_Sph...
Regina Obe [Sun, 26 Oct 2008 22:18:42 +0000 (22:18 +0000)]
Move over ST_Length* functions.  Correct documentation - e.g. missing ST_Length2D_Spheroid and ST_Length3d_Spheroid and ST_Length_Spheroid are synonyms.  Seems to disagree with how we define ST_Length.

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

16 years agoMove over ST_Distance_Spher* functions
Regina Obe [Sun, 26 Oct 2008 21:24:40 +0000 (21:24 +0000)]
Move over ST_Distance_Spher* functions

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

16 years agoPut in availability info for rotate functions
Regina Obe [Sun, 26 Oct 2008 19:49:14 +0000 (19:49 +0000)]
Put in availability info for rotate functions

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

16 years agoMove over rest of Affine family. Correct some typos. Put ST_ForceRHR in right location.
Regina Obe [Sun, 26 Oct 2008 19:43:24 +0000 (19:43 +0000)]
Move over rest of Affine family.  Correct some typos.  Put ST_ForceRHR in right location.

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

16 years agoMove over ST_Affine
Regina Obe [Sun, 26 Oct 2008 18:14:28 +0000 (18:14 +0000)]
Move over ST_Affine

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

16 years agoAdd = operator the most confusing and accidentally used operator of all
Regina Obe [Sat, 25 Oct 2008 17:29:45 +0000 (17:29 +0000)]
Add = operator the most confusing and accidentally used operator of all

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

16 years agoCommit provide another example of ST_SetPoint and flag as supporting 3d
Regina Obe [Sat, 25 Oct 2008 16:30:07 +0000 (16:30 +0000)]
Commit provide another example of ST_SetPoint and flag as supporting 3d

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

16 years agotypo
Regina Obe [Fri, 24 Oct 2008 15:01:26 +0000 (15:01 +0000)]
typo

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

16 years agoMove over ST_SnapToGrid
Regina Obe [Fri, 24 Oct 2008 14:53:13 +0000 (14:53 +0000)]
Move over ST_SnapToGrid

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

16 years agotypo
Regina Obe [Thu, 23 Oct 2008 00:28:22 +0000 (00:28 +0000)]
typo

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

16 years agoMove over ST_Relate the last of the Geometry Relationship Function and destroy the...
Regina Obe [Wed, 22 Oct 2008 18:55:10 +0000 (18:55 +0000)]
Move over ST_Relate the last of the Geometry Relationship Function and destroy the section in old reference.

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

16 years agoMove over perimeter and max distance
Regina Obe [Tue, 21 Oct 2008 06:41:35 +0000 (06:41 +0000)]
Move over perimeter and max distance

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

16 years agomoved ST_ForceRHR into the correct category
Kevin Neufeld [Tue, 21 Oct 2008 04:54:53 +0000 (04:54 +0000)]
moved ST_ForceRHR into the correct category

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

16 years agomoved over ST_ForceRHR
Kevin Neufeld [Tue, 21 Oct 2008 04:41:37 +0000 (04:41 +0000)]
moved over ST_ForceRHR

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

16 years agotypo in st_cover something. Hate non-symmetric relationships
Regina Obe [Mon, 20 Oct 2008 17:36:50 +0000 (17:36 +0000)]
typo in st_cover something.  Hate non-symmetric relationships

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

16 years agoRevert change to ST_MemUnion - it really is that. Most have had a faulty restore...
Regina Obe [Mon, 20 Oct 2008 17:29:41 +0000 (17:29 +0000)]
Revert change to ST_MemUnion - it really is that.  Most have had a faulty restore when it was named ST_MemGeomUnion

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

16 years agoMove over ST_Covers and ST_CoveredBy and provide examples, update ST_Contains example...
Regina Obe [Mon, 20 Oct 2008 17:25:00 +0000 (17:25 +0000)]
Move over ST_Covers and ST_CoveredBy and provide examples, update ST_Contains example to show distinction between ST_Covers, ST_Contains etc.

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

16 years agocorrect links in README and note about running make check before make install. How...
Regina Obe [Mon, 20 Oct 2008 14:49:57 +0000 (14:49 +0000)]
correct links in README and note about running make check before make install.  How the hell do you do that?

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

16 years agoProvide example for GeometryType. fix typo
Regina Obe [Sun, 19 Oct 2008 23:40:45 +0000 (23:40 +0000)]
Provide example for GeometryType.  fix typo

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

16 years agotypo in ST_Y definition. Also added common use-case example of ST_Centroid used...
Regina Obe [Sun, 19 Oct 2008 23:31:19 +0000 (23:31 +0000)]
typo in ST_Y definition.  Also added common use-case example of ST_Centroid used with ST_X, ST_Y

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

16 years agoAfter several discussions at PGDay, it seems that the only use-case for the PGXS...
Mark Cave-Ayland [Sun, 19 Oct 2008 14:52:29 +0000 (14:52 +0000)]
After several discussions at PGDay, it seems that the only use-case for the PGXS PROGRAM clause is for programs that wish to link with the backend libraries. Hence create a new Makefile for the loader directory which uses the new autoconf infrastructure, based upon library and dependency lists from the original 1.3 branch.

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

16 years agoMove over remainder of Geometry Accessors to new section. Fix ST_MemUnion (really...
Regina Obe [Sun, 19 Oct 2008 14:40:34 +0000 (14:40 +0000)]
Move over remainder of Geometry Accessors to new section.  Fix ST_MemUnion (really ST_MemGeomUnion), correct mistake in ST_SymDifference

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

16 years agoRemove postgis_jts_version() function call from regression tests as the function...
Mark Cave-Ayland [Sat, 18 Oct 2008 08:33:15 +0000 (08:33 +0000)]
Remove postgis_jts_version() function call from regression tests as the function no longer exists (prevents warning being displayed at the start of the test run)

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

16 years agoMove over the *N family
Regina Obe [Fri, 17 Oct 2008 18:51:36 +0000 (18:51 +0000)]
Move over the *N family

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

16 years agoMove over ST_length2d, ST_length3d
Regina Obe [Fri, 17 Oct 2008 17:58:53 +0000 (17:58 +0000)]
Move over ST_length2d, ST_length3d

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

16 years agoMove over ST_MemUnion the last of the geometry processing functions and destroy the...
Regina Obe [Fri, 17 Oct 2008 03:39:44 +0000 (03:39 +0000)]
Move over ST_MemUnion the last of the geometry processing functions and destroy the geometry processing functions old section

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

16 years agoforgot to delete some stuff
Regina Obe [Fri, 17 Oct 2008 03:05:42 +0000 (03:05 +0000)]
forgot to delete some stuff

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

16 years agomove over ST_Shift_Longitude, ST_Difference, ST_SymDifference
Regina Obe [Fri, 17 Oct 2008 03:04:20 +0000 (03:04 +0000)]
move over ST_Shift_Longitude, ST_Difference, ST_SymDifference

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

16 years agoreverting accidental commit to template.xml
Kevin Neufeld [Thu, 16 Oct 2008 22:13:08 +0000 (22:13 +0000)]
reverting accidental commit to template.xml

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

16 years agoMove over ST_NumGeometries
Regina Obe [Thu, 16 Oct 2008 18:35:35 +0000 (18:35 +0000)]
Move over ST_NumGeometries

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

16 years agoMove over ST_ExteriorRing, ST_NumInteriorRings, ST_NumInteriorRing
Regina Obe [Thu, 16 Oct 2008 18:17:10 +0000 (18:17 +0000)]
Move over ST_ExteriorRing, ST_NumInteriorRings, ST_NumInteriorRing

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

16 years agoadded dblatex as a dependency for building PDF's
Kevin Neufeld [Thu, 16 Oct 2008 18:12:34 +0000 (18:12 +0000)]
added dblatex as a dependency for building PDF's
added a pdf target to doc/Makefile.in

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

16 years agoUpdate to previous parser patch: if the error location is 0 (i.e. we haven't even...
Mark Cave-Ayland [Thu, 16 Oct 2008 08:33:25 +0000 (08:33 +0000)]
Update to previous parser patch: if the error location is 0 (i.e. we haven't even matched a valid OGC WKT type) then display a more appropriate message. Per minor gripe from Paul.

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

16 years agoupdate st_azimuth - it should be called vector instead of line since order of points...
Regina Obe [Thu, 16 Oct 2008 07:22:08 +0000 (07:22 +0000)]
update st_azimuth - it should be called vector instead of line since order of points reverses the angle

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

16 years agoMove over ST_Azimuth and provide example
Regina Obe [Thu, 16 Oct 2008 07:17:17 +0000 (07:17 +0000)]
Move over ST_Azimuth and provide example

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

16 years agoMove over ST_Boundary to new section, copy comment about SQL-MM srid to xsl header
Regina Obe [Thu, 16 Oct 2008 06:35:03 +0000 (06:35 +0000)]
Move over ST_Boundary to new section,  copy comment about SQL-MM srid to xsl header

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

16 years agoFix pointer problem in the new HINT code caused by strncpy() not padding with zeros...
Mark Cave-Ayland [Wed, 15 Oct 2008 21:44:19 +0000 (21:44 +0000)]
Fix pointer problem in the new HINT code caused by strncpy() not padding with zeros unless the specified length is *longer* than the source string.

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

16 years agolast one!
Paul Ramsey [Wed, 15 Oct 2008 18:36:22 +0000 (18:36 +0000)]
last one!

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

16 years agoexpunge remaining stringBuffer references
Paul Ramsey [Wed, 15 Oct 2008 18:26:27 +0000 (18:26 +0000)]
expunge remaining stringBuffer references

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

16 years agoRemove stringBuffer.* from build/repository.
Paul Ramsey [Wed, 15 Oct 2008 17:59:18 +0000 (17:59 +0000)]
Remove stringBuffer.* from build/repository.

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

16 years agoUpdate the LWGEOM parser to provide error HINTs when being called from PostgreSQL...
Mark Cave-Ayland [Wed, 15 Oct 2008 15:03:54 +0000 (15:03 +0000)]
Update the LWGEOM parser to provide error HINTs when being called from PostgreSQL, and update regression tests accordingly.

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

16 years agofix spacing of st_linemerge, st_segmentize examples.
Regina Obe [Wed, 15 Oct 2008 13:43:59 +0000 (13:43 +0000)]
fix spacing of st_linemerge, st_segmentize examples.

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

16 years agoMove over ST_Segmentize and ST_LineMerge
Regina Obe [Wed, 15 Oct 2008 13:39:03 +0000 (13:39 +0000)]
Move over ST_Segmentize and ST_LineMerge

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

16 years agomoved cleanup of the pdf to the maintainer-clean target
Kevin Neufeld [Tue, 14 Oct 2008 23:08:00 +0000 (23:08 +0000)]
moved cleanup of the pdf to the maintainer-clean target

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

16 years agoRemove sliced test code and return to original state.
Paul Ramsey [Tue, 14 Oct 2008 20:11:07 +0000 (20:11 +0000)]
Remove sliced test code and return to original state.

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

16 years agoNearly finish work on the new parser API. The key part of this patch is to alter...
Mark Cave-Ayland [Tue, 14 Oct 2008 19:51:24 +0000 (19:51 +0000)]
Nearly finish work on the new parser API. The key part of this patch is to alter the behaviour of the parser so that instead of generating errors directly, it returns an error code, error location and an error message. Hence the caller is now in charge of the behaviour when parsing invalid geometries, and so can ignore errors or proceed onto the next geometry if required. The regression test change is due to a change in an error message, since the error is now returned from the unparser before it even gets to GEOS.

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

16 years agoProvide examples for ST_Simplify and ST_SimplifyPreserveTopology
Regina Obe [Tue, 14 Oct 2008 19:39:07 +0000 (19:39 +0000)]
Provide examples for ST_Simplify and ST_SimplifyPreserveTopology

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

16 years agoMove over st_simplify and st_simplifypreservetopology. Still need to put in examples.
Regina Obe [Tue, 14 Oct 2008 18:16:03 +0000 (18:16 +0000)]
Move over st_simplify and st_simplifypreservetopology.  Still need to put in examples.

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

16 years agoastyle style=ansi indent=tab=8
Paul Ramsey [Tue, 14 Oct 2008 17:42:15 +0000 (17:42 +0000)]
astyle style=ansi indent=tab=8

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

16 years agocompletely move over rest of management functions to new section. Add probe_geometry...
Regina Obe [Tue, 14 Oct 2008 11:40:27 +0000 (11:40 +0000)]
completely move over rest of management functions to new section.  Add probe_geometry_columns - never been documented, but useful.  Get rid of update_geometry_stats - just returns a dumb message that its obsolete.

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

16 years agoAdd missing function proto for dropgeometrytable
Regina Obe [Tue, 14 Oct 2008 03:56:39 +0000 (03:56 +0000)]
Add missing function proto for dropgeometrytable

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

16 years agoRename parser_check_flags to current_parser_check_flags and unparser_check_flags...
Mark Cave-Ayland [Mon, 13 Oct 2008 13:16:14 +0000 (13:16 +0000)]
Rename parser_check_flags to current_parser_check_flags and unparser_check_flags to current_unparser_check_flags to clarify that these status variables only reflect the checks enabled for the current parse.

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

16 years agoMove the liblwgeom unparser example over to the dynptarray API which is the proper...
Mark Cave-Ayland [Mon, 13 Oct 2008 13:03:23 +0000 (13:03 +0000)]
Move the liblwgeom unparser example over to the dynptarray API which is the proper way to alter point arrays in memory.

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

16 years agoFix up some more warnings in SVN trunk; note that there are still 2 remaining Prepare...
Mark Cave-Ayland [Mon, 13 Oct 2008 11:36:17 +0000 (11:36 +0000)]
Fix up some more warnings in SVN trunk; note that there are still 2 remaining PreparedGeometry warnings, but these will require patching GEOS.

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

16 years agoPerformance boost: only detoast the front of the tuple first and
Paul Ramsey [Sun, 12 Oct 2008 17:47:37 +0000 (17:47 +0000)]
Performance boost: only detoast the front of the tuple first and
extract the bbox from that.

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

16 years agoPull prep_cache reference safely inside PREPARED_GEOM #ifdef
Paul Ramsey [Fri, 10 Oct 2008 16:34:24 +0000 (16:34 +0000)]
Pull prep_cache reference safely inside PREPARED_GEOM #ifdef

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

16 years agoSet keywords propery.
Paul Ramsey [Fri, 10 Oct 2008 05:24:08 +0000 (05:24 +0000)]
Set keywords propery.

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

16 years agoClean-up and comment.
Paul Ramsey [Fri, 10 Oct 2008 05:17:54 +0000 (05:17 +0000)]
Clean-up and comment.

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

16 years agoRename lwgeom_geos_c.c to lwgeom_geos.c
Paul Ramsey [Fri, 10 Oct 2008 04:41:03 +0000 (04:41 +0000)]
Rename lwgeom_geos_c.c to lwgeom_geos.c

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

16 years agoPrepared geometries getting closer to readiness. Integrated into standard functions...
Paul Ramsey [Fri, 10 Oct 2008 04:39:54 +0000 (04:39 +0000)]
Prepared geometries getting closer to readiness. Integrated into standard functions, regression tests added.

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